CVE-2023-24622
MEDIUM 5.3CVSS 3.1safeurl-python contains Server-Side Request Forgery
isInList in the safeurl-python package before 1.2 for Python has an insufficiently restrictive regular expression for external domains, leading to SSRF.
- Published
- 30 Jan 2023
- Last modified
- 2 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- GHSA-jgh8-vchw-q3g7PYSEC-2023-298
- Sources
- NVDJSONOSV GHSA-jgh8-vchw-q3g7JSONOSV PYSEC-2023-298JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | includesecurity | safeurl-pythoncpe:2.3:a:includesecurity:safeurl-python:1.0:*:*:*:*:*:*:* |
= 1.0 | |
| OSV | PyPI | safeurl-python | < 1.2 | 1.2 |
References
- https://github.com/IncludeSecurity/safeurl-python/security/advisories/GHSA-jgh8-vchw-q3g7 · Exploit, Third Party Advisory, WEB, EVIDENCE, ADVISORY
- https://github.com/IncludeSecurity/safeurl-python/pull/5/commits/42dd0c8e5fc84e17e1d3578d18aaea169eece474 · WEB
- https://github.com/IncludeSecurity/safeurl-python · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/safeurl-python/PYSEC-2023-298.yaml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 30 Jan 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Jan 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Jan 2023)