CVE-2010-0296
What it is
The encode_name macro in misc/mntent_r.c in the GNU C Library (aka glibc or libc6) 2.11.1 and earlier, as used by ncpmount and mount.cifs, does not properly handle newline characters in mountpoint names, which allows local users to cause a denial of service (mtab corruption), or possibly modify mount options and gain privileges, via a crafted mount request.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.6% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.6% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.6% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Gnu Glibc ≤ 2.11.1
- Gnu Glibc 2.0
- Gnu Glibc 2.0.1
- Gnu Glibc 2.0.2
- Gnu Glibc 2.0.3
- Gnu Glibc 2.0.4
- Gnu Glibc 2.0.5
- Gnu Glibc 2.0.6
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-0296.md and follow it. Check whether this project is affected by CVE-2010-0296. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/39900
- http://www.vupen.com/english/advisories/2010/1246
- http://secunia.com/advisories/39900
- http://www.vupen.com/english/advisories/2010/1246
References
- http://frugalware.org/security/662
- http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html
- http://seclists.org/fulldisclosure/2019/Jun/18
- http://secunia.com/advisories/39900
- http://secunia.com/advisories/43830
- http://secunia.com/advisories/46397
- http://security.gentoo.org/glsa/glsa-201011-01.xml
- http://securitytracker.com/id?1024043
- http://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=ab00f4eac8f4932211259ff87be83144f5211540
- http://www.debian.org/security/2010/dsa-2058
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:111
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:112
- http://www.redhat.com/support/errata/RHSA-2011-0412.html
- http://www.securityfocus.com/archive/1/520102/100/0/threaded
- http://www.ubuntu.com/usn/USN-944-1
- http://www.vmware.com/security/advisories/VMSA-2011-0012.html
- http://www.vupen.com/english/advisories/2010/1246
- http://www.vupen.com/english/advisories/2011/0863
- https://bugzilla.redhat.com/show_bug.cgi?id=559579
- https://exchange.xforce.ibmcloud.com/vulnerabilities/59240
- https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html
- https://seclists.org/bugtraq/2019/Jun/14
- http://frugalware.org/security/662
- http://packetstormsecurity.com/files/153278/WAGO-852-Industrial-Managed-Switch-Series-Code-Execution-Hardcoded-Credentials.html
- http://seclists.org/fulldisclosure/2019/Jun/18