SWI-Prolog : Multiple vulnerabilities — GLSA 201312-05

Multiple vulnerabilities have been found in SWI-Prolog which allow attackers to execute arbitrary code or cause a Denial of Service condition.

Affected packages

dev-lang/swi-prolog on all architectures
Affected versions < 6.2.5
Unaffected versions >= 6.2.5

Background

SWI-Prolog is a free, small, and standard compliant Prolog compiler.

Description

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.

Resolution

All SWI-Prolog users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-lang/swi-prolog-6.2.5"
 

References

Release date
December 06, 2013

Latest revision
December 06, 2013: 1

Severity
normal

Exploitable
remote

Bugzilla entries