Out-of-Bounds Affecting swi-prolog package, versions [,7.2.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.02% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-Bounds vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SWIPROLOG-2382816
  • published26 Jan 2022
  • disclosed4 Jan 2013
  • creditUnknown

Introduced: 4 Jan 2013

CVE-2012-6089  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade swi-prolog to version 7.2.3 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Multiple stack-based buffer overflows in the canoniseFileName function in os/pl-os.c in SWI-Prolog before 6.2.5 and 6.3.x before 6.3.7 allow remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted filename.

CVSS Base Scores

version 3.1