CVE-2011-1749
What it is
The nfs_addmntent function in support/nfs/nfs_mntent.c in the mount.nsf tool in nfs-utils before 1.2.4 attempts to append to the /etc/mtab file without first checking whether resource limits would interfere, which allows local users to corrupt this file via a process with a small RLIMIT_FSIZE value, a related issue to CVE-2011-1089.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.3% 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.3% in the next 30 days (EPSS).
- Severity: 3.3 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- linux-nfs nfs-utils ≤ 1.2.3
- linux-nfs nfs-utils 1.2.0
- linux-nfs nfs-utils 1.2.1
- linux-nfs nfs-utils 1.2.2
Attack profile CVSS 2.0 · 3.3
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:M/Au:N/C:N/I:P/A:P
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-2011-1749.md and follow it. Check whether this project is affected by CVE-2011-1749. 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://rhn.redhat.com/errata/RHSA-2012-0310.html
- http://sourceforge.net/projects/nfs/files/nfs-utils/1.2.4/Changelog-nfs-utils-1.2.4/download
- http://rhn.redhat.com/errata/RHSA-2012-0310.html
- http://sourceforge.net/projects/nfs/files/nfs-utils/1.2.4/Changelog-nfs-utils-1.2.4/download
References
- http://rhn.redhat.com/errata/RHSA-2011-1534.html
- http://rhn.redhat.com/errata/RHSA-2012-0310.html
- http://sourceforge.net/projects/nfs/files/nfs-utils/1.2.4/Changelog-nfs-utils-1.2.4/download
- http://www.openwall.com/lists/oss-security/2011/04/25/5
- https://bugzilla.redhat.com/show_bug.cgi?id=697975
- http://rhn.redhat.com/errata/RHSA-2011-1534.html
- http://rhn.redhat.com/errata/RHSA-2012-0310.html
- http://sourceforge.net/projects/nfs/files/nfs-utils/1.2.4/Changelog-nfs-utils-1.2.4/download
- http://www.openwall.com/lists/oss-security/2011/04/25/5
- https://bugzilla.redhat.com/show_bug.cgi?id=697975