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

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

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

Description :

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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201312-05.xml

Solution :

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

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 71240 ()

Bugtraq ID:

CVE ID: CVE-2012-6089
CVE-2012-6090