GLSA 201312-05: SWI-Prolog : Multiple vulnerabilities
| Severity: | normal | 
| Title: | SWI-Prolog : Multiple vulnerabilities | 
| Date: | 12/06/2013 | 
| Bugs: | |
| ID: | 201312-05 | 
Synopsis
Multiple vulnerabilities have been found in SWI-Prolog which allow attackers to execute arbitrary code or cause a Denial of Service condition.Background
SWI-Prolog is a free, small, and standard compliant Prolog compiler.
Affected packages
| Package | Vulnerable | Unaffected | Architecture(s) | 
|---|---|---|---|
| dev-lang/swi-prolog | < 6.2.5 | >= 6.2.5 | All supported architectures | 
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
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.
