Improper Neutralization of Null Byte or NUL Character Affecting python3.11-debuginfo package, versions <0:3.11.2-2.amzn2023.0.10


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.12% (49th 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-AMZN2023-PYTHON311DEBUGINFO-5887683
  • published8 Sept 2023
  • disclosed23 Aug 2023

Introduced: 23 Aug 2023

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

How to fix?

Upgrade Amazon-Linux:2023 python3.11-debuginfo to version 0:3.11.2-2.amzn2023.0.10 or higher.
This issue was patched in ALAS2023-2023-317.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.11-debuginfo package and not the python3.11-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

An issue was discovered in Python 3.11 through 3.11.4. If a path containing '\0' bytes is passed to os.path.normpath(), the path will be truncated unexpectedly at the first '\0' byte. There are plausible cases in which an application would have rejected a filename for security reasons in Python 3.10.x or earlier, but that filename is no longer rejected in Python 3.11.x.

CVSS Scores

version 3.1