Server-side Request Forgery (SSRF) Affecting cpython package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.04% (77th 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-CONAN-CPYTHON-10075477
  • published8 May 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?

A fix was pushed into the master branch but not yet published.

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