CVE-2023-24622Includesecurity Safeurl-python
Medium 5.3 No auth needed
Follow: this CVE · Includesecurity · Includesecurity Safeurl-python We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 42
- Auth required
- No
- Published
- Jan 30, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
isInList in the safeurl-python package before 1.2 for Python has an insufficiently restrictive regular expression for external domains, leading to SSRF.
What to do
- Apply the vendor's security update for Safeurl-python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | safeurl-python |
< 1.2 |
1.2 |
pip install "safeurl-python>=1.2" |
| PyPI | safeurl-python |
< 1.2 |
1.2 |
pip install "safeurl-python>=1.2" |
Per OSV / GitHub Advisories (GHSA-jgh8-vchw-q3g7, PYSEC-2023-298). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| includesecurity | safeurl-python | 1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory