GLSA-201312-05 : SWI-Prolog : Multiple vulnerabilities

High Nessus Plugin ID 71240


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201312-05 (SWI-Prolog : Multiple vulnerabilities)

Multiple vulnerabilities have been discovered in SWI-Prolog:
* An error in the canoniseFileName() function could cause a stack-based buffer overflow (CVE-2012-6089).
* An error in the expand() function could cause a stack-based buffer overflow (CVE-2012-6090).
Impact :

A context-dependent attack can create files with specially crafted names, causing arbitrary code execution or a denial of service condition.
Workaround :

There is no known workaround at this time.


All SWI-Prolog users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/swi-prolog-6.2.5'

See Also

Plugin Details

Severity: High

ID: 71240

File Name: gentoo_GLSA-201312-05.nasl

Version: $Revision: 1.4 $

Type: local

Published: 2013/12/06

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:swi-prolog, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2013/12/06

Reference Information

CVE: CVE-2012-6089, CVE-2012-6090

OSVDB: 88901, 88902

GLSA: 201312-05