CVE-2013-2171
What it is
The vm_map_lookup function in sys/vm/vm_map.c in the mmap implementation in the kernel in FreeBSD 9.0 through 9.1-RELEASE-p4 does not properly determine whether a task should have write access to a memory location, which allows local users to bypass filesystem write permissions and consequently gain privileges via a crafted application that leverages read permissions, and makes mmap and ptrace system calls.
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
- 6.9% 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: 6.9% in the next 30 days (EPSS).
- Severity: 6.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 6.9% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Freebsd 9.0
- Freebsd 9.1
Attack profile CVSS 2.0 · 6.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:M/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-2013-2171.md and follow it. Check whether this project is affected by CVE-2013-2171. 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://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc
- http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc
References
- http://svnweb.freebsd.org/base?view=revision&revision=251901
- http://www.debian.org/security/2013/dsa-2714
- http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc
- http://svnweb.freebsd.org/base?view=revision&revision=251901
- http://www.debian.org/security/2013/dsa-2714
- http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc