Server-side Request Forgery (SSRF) Affecting python package, versions [,3.13.2)


Severity

Recommended
0.0
medium
0
10

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

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 Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PYTHON-8685115
  • published2 Feb 2025
  • disclosed31 Jan 2025
  • creditUnknown

Introduced: 31 Jan 2025

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

How to fix?

Upgrade python to version 3.13.2 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to the urllib.parse.urlsplit and urlparse functions' allowance of square brackets in domain names when parsing URLs. This is in partial violation of RFC 3986, which only allows [ at the beginning of a URL and ] at the end.

CVSS Base Scores

version 4.0
version 3.1