Advisory

PYSEC-2023-298

Also known as: CVE-2023-24622, GHSA-jgh8-vchw-q3g7

Summary

The record has no summary.

Details

isInList in the safeurl-python package before 1.2 for Python has an insufficiently restrictive regular expression for external domains, leading to SSRF.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2023-01-30 05:15 UTC
Modified
2026-07-02 10:30 UTC

Affected packages and fixes

safeurl-python

PyPI · All systems

Affected

  • introduced 0, fixed 1.2 (ecosystem)

Fixed versions

1.2

Fix

  • Fixed version 1.2
    pip install --upgrade safeurl-python==1.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences