Untrusted Search Path Affecting python package, versions [3.11.0,3.11.5)[3.12.0a1,3.12.0rc2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (45th 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 IDSNYK-UNMANAGED-PYTHON-5849974
  • published23 Aug 2023
  • disclosed23 Aug 2023
  • creditChris Billington

Introduced: 23 Aug 2023

CVE-2023-41105  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade python to version 3.11.5, 3.12.0rc2 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path via the os.path.normpath() function. An attacker can cause the path to be truncated unexpectedly at the first '\0' byte by passing a path that contains '\0' bytes, potentially leading to bypassing of security controls.

Note: This is only exploitable if an application rejected a filename for security reasons in previous versions, but this filename is not rejected in the new version.

CVSS Scores

version 3.1