Gentoo 2508 Published by

A SWI-Prolog update has been released for Gentoo Linux



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201312-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: SWI-Prolog : Multiple vulnerabilities
Date: December 06, 2013
Bugs: #450284
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
-------------------------------------------------------------------
1 dev-lang/swi-prolog < 6.2.5 >= 6.2.5

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
==========

[ 1 ] CVE-2012-6089
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6089
[ 2 ] CVE-2012-6090
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6090

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

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

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 2013 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.

http://creativecommons.org/licenses/by-sa/2.5

  GLSA 201312-05: SWI-Prolog : Multiple vulnerabilities