CVE-2023-24622 json
safeurl-python contains Server-Side Request Forgery
published 2023-01-27 3 y ago modified 2026-07-02 4 mo ago also GHSA-jgh8-vchw-q3g7 , PYSEC-2023-298 , EUVD-2023-0298
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
isInList in the safeurl-python package before 1.2 for Python has an insufficiently restrictive regular expression for external domains, leading to SSRF.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/IncludeSecurity/safeurl-python/security/advisories/GHSA-jgh8-vchw-q3g7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | safeurl-python | <1.2 |
1.2 |
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/IncludeSecurity/safeurl-python/pull/5/commits/42dd0c8e5fc84e17e1d3578d18aaea169eece474
web
-
github.com
/IncludeSecurity/safeurl-python/security/advisories/GHSA-jgh8-vchw-q3g7
web, exploit, third-party-advisory, evidence, advisory
-
github.com
/IncludeSecurity/safeurl-python
package
-
github.com
/pypa/advisory-database/tree/main/vulns/safeurl-python/PYSEC-2023-298.yaml
web
Sources
- CVE List CVE-2023-24622
- GitHub Advisory GHSA-jgh8-vchw-q3g7
- NVD CVE-2023-24622
- OSV PYSEC-2023-298
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.