{"api_version":"1","generated_at":"2026-07-23T10:22:44+00:00","cve":"CVE-2013-2171","urls":{"html":"https://cve.report/CVE-2013-2171","api":"https://cve.report/api/cve/CVE-2013-2171.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2013-2171","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2013-2171"},"summary":{"title":"CVE-2013-2171","description":"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.","state":"PUBLISHED","assigner":"redhat","published_at":"2013-07-02 03:43:33","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-264","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.9","severity":"","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","baseScore":6.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc","name":"http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"http://svnweb.freebsd.org/base?view=revision&revision=251901","name":"http://svnweb.freebsd.org/base?view=revision&revision=251901","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[base] Revision 251901","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2013/dsa-2714","name":"http://www.debian.org/security/2013/dsa-2714","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-2714-1 kfreebsd-9","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-2171","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-2171","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2013","cve_id":"2171","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2013","cve_id":"2171","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"9.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2013","cve_id":"2171","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"9.1","cpe7":"p4","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T15:27:41.094Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"FreeBSD-SA-13:06","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred"],"url":"http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc"},{"name":"DSA-2714","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2013/dsa-2714"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://svnweb.freebsd.org/base?view=revision&revision=251901"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2013-06-18T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2013-08-22T09:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"FreeBSD-SA-13:06","tags":["vendor-advisory","x_refsource_FREEBSD"],"url":"http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc"},{"name":"DSA-2714","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2013/dsa-2714"},{"tags":["x_refsource_CONFIRM"],"url":"http://svnweb.freebsd.org/base?view=revision&revision=251901"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2013-2171","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"FreeBSD-SA-13:06","refsource":"FREEBSD","url":"http://www.freebsd.org/security/advisories/FreeBSD-SA-13:06.mmap.asc"},{"name":"DSA-2714","refsource":"DEBIAN","url":"http://www.debian.org/security/2013/dsa-2714"},{"name":"http://svnweb.freebsd.org/base?view=revision&revision=251901","refsource":"CONFIRM","url":"http://svnweb.freebsd.org/base?view=revision&revision=251901"}]}}}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2013-2171","datePublished":"2013-07-02T01:00:00.000Z","dateReserved":"2013-02-19T00:00:00.000Z","dateUpdated":"2024-08-06T15:27:41.094Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2013-07-02 03:43:33","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-264","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","baseScore":6.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:9.0:*:*:*:*:*:*:*","matchCriteriaId":"E6BD5BFF-260A-4A9E-B0AA-C8B8386B154E"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:9.1:*:*:*:*:*:*:*","matchCriteriaId":"D78E559A-430D-4D50-8A83-58A37D393471"},{"vulnerable":true,"criteria":"cpe:2.3:o:freebsd:freebsd:9.1:p4:*:*:*:*:*:*","matchCriteriaId":"DD6B2A2E-6E8C-40D7-B29F-1FC9E8B1076B"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2013","CveId":"2171","Ordinal":"1","Title":"CVE-2013-2171","CVE":"CVE-2013-2171","Year":"2013"},"notes":[{"CveYear":"2013","CveId":"2171","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2013-2171"},{"CveYear":"2013","CveId":"2171","Ordinal":"2","NoteData":"2013-07-01","Type":"Other","Title":"Published"},{"CveYear":"2013","CveId":"2171","Ordinal":"3","NoteData":"2013-08-22","Type":"Other","Title":"Modified"}]}}}