Improper Input Validation Affecting python3.9-debugsource package, versions <0:3.9.21-1.amzn2023.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (16th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-PYTHON39DEBUGSOURCE-9525711
  • published27 Mar 2025
  • disclosed31 Jan 2025

Introduced: 31 Jan 2025

CVE-2025-0938  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3.9-debugsource to version 0:3.9.21-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2025-898.

NVD Description

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

The Python standard library functions urllib.parse.urlsplit and urlparse accepted domain names that included square brackets which isn't valid according to RFC 3986. Square brackets are only meant to be used as delimiters for specifying IPv6 and IPvFuture hosts in URLs. This could result in differential parsing across the Python URL parser and other specification-compliant URL parsers.

CVSS Base Scores

version 3.1