Vulnerability Details : CVE-2012-6089
Multiple stack-based buffer overflows in the canoniseFileName function in os/pl-os.c in SWI-Prolog before 6.2.5 and 6.3.x before 6.3.7 allow remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted filename.
Vulnerability category: OverflowExecute codeDenial of service
Products affected by CVE-2012-6089
- cpe:2.3:a:swi-prolog:swi-prolog:*:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.10.1:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.10.0:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.56:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.57:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.8.1:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.8.2:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.50:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.51:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.58:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.59:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.8.3:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.10.3:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.10.2:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.54:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.55:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.63:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.64:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.8.0:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.52:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.53:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.61:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.6.62:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.2.3:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.10.5:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:5.10.4:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.3.6:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.3.5:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.3.3:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.3.4:*:*:*:*:*:*:*
- cpe:2.3:a:swi-prolog:swi-prolog:6.3.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2012-6089
6.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 94 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2012-6089
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
CWE ids for CVE-2012-6089
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2012-6089
-
http://www.swi-prolog.org/git/pl.git/commit/a9a6fc8a2a9cf3b9154b490a4b1ffaa8be4d723c
SWI-Prolog git services moved to githubPatch
-
https://bugzilla.redhat.com/show_bug.cgi?id=891577
891577 – (CVE-2012-6089, CVE-2012-6090) CVE-2012-6089 CVE-2012-6090 pl: buffer overflows in path canonisation and expansion of file names with long paths
-
https://lists.iai.uni-bonn.de/pipermail/swi-prolog/2012/009428.html
404 Not FoundVendor Advisory
-
http://openwall.com/lists/oss-security/2013/01/03/7
oss-security - Re: CVE Request - SWI-Prolog / pl (X < 6.2.5): Multiple (stack-based) buffer overflows in patch canonisation code and when expanding file-names with long paths
Jump to