CVE-2023-24622
safeurl-python contains Server-Side Request Forgery
5.3
MEDIUM
CVSS 3.1
EPSS 0.09%
Description
isInList in the safeurl-python package before 1.2 for Python has an insufficiently restrictive regular expression for external domains, leading to SSRF.
How to fix CVE-2023-24622
To remediate CVE-2023-24622, upgrade the affected package to a fixed version below.
- PyPI/safeurl-python—upgrade to 1.2 or later
- —upgrade to 1.2 or later
Is CVE-2023-24622 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.2
- from 0, < 1.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
References (4)
- PATCHgithub.com/IncludeSecurity/safeurl-python
- WEBgithub.com/IncludeSecurity/safeurl-python/pull/5/commits/42dd0c8e5fc84e17e1d3578d18aaea169eece474
- WEBgithub.com/IncludeSecurity/safeurl-python/security/advisories/GHSA-jgh8-vchw-q3g7
- WEBgithub.com/pypa/advisory-database/tree/main/vulns/safeurl-python/PYSEC-2023-298.yaml