GHSA-rw83-v3pw-m362: Withdrawn Safeurl-python Contains Server-Side Request Forgery Vulnerability

MODERATE
CVSS 5.3
CWE-918
Published
Advisory Summary

GHSA-rw83-v3pw-m362 is a MODERATE (CVSS 5.3) safeurl-python contains server-side request forgery vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Withdrawn libraries in the PyPI ecosystem. The issue involves safeurl-python contains server-side request forgery. Remediation is available by upgrading affected packages to version 1.2.

GHSA-rw83-v3pw-m362 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-rw83-v3pw-m362
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Withdrawn
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-rw83-v3pw-m362

To remediate this vulnerability, upgrade all affected Withdrawn dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

safeurl-python fixed: 1.2
pip install safeurl-python>=1.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show safeurl-python

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-rw83-v3pw-m362, inspect your installed packages using pip:

pip show safeurl-python

Analyze the terminal output to locate any version of Withdrawn in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2), your application is affected.

Note: The pip show safeurl-python command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Withdrawn, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Withdrawn This advisory has been withdrawn as a duplicate of [GHSA-jgh8-vchw-q3g7](https://github.com/advisories/GHSA-jgh8-vchw-q3g7). ## Original Description isInList in the safeurl-python package before 1.2 for Python has an insufficiently restrictive regular expression for external domains, leading to SSRF.

GHSA-rw83-v3pw-m362 Affected Withdrawn Versions

1 component(s)
Fixed Versions:
1.2
Product / Package Ecosystem Affected Versions Fixed Version
safeurl-python
PyPI
< 1.2
1.2

References

Frequently Asked Questions

What is GHSA-rw83-v3pw-m362?
GHSA-rw83-v3pw-m362 is a security vulnerability in Withdrawn involving safeurl-python contains Server-Side Request Forgery under CWE-918: Server-Side Request Forgery (SSRF).
Which Withdrawn versions are affected?
Affected versions include releases prior to 1.2 across affected packages: safeurl-python.
What version fixes GHSA-rw83-v3pw-m362?
Upgrading to 1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is safeurl-python affected?
Yes, safeurl-python is affected in releases prior to 1.2. Upgrade your dependency to 1.2 or later.
What is the CVSS score of GHSA-rw83-v3pw-m362?
GHSA-rw83-v3pw-m362 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-rw83-v3pw-m362?
GHSA-rw83-v3pw-m362 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check PyPI dependencies for GHSA-rw83-v3pw-m362?
Run the dependency tree command: 'pip show safeurl-python'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-rw83-v3pw-m362",
  "modified" : "2023-02-07T23:25:27Z",
  "published" : "2023-01-30T06:30:27Z",
  "withdrawn" : "2023-02-01T20:04:51Z",
  "aliases" : [ ],
  "summary" : "Withdrawn: safeurl-python contains Server-Side Request Forgery",
  "details" : "## Withdrawn\n\nThis advisory has been withdrawn as a duplicate of [GHSA-jgh8-vchw-q3g7](https://github.com/advisories/GHSA-jgh8-vchw-q3g7).\n\n## Original Description\n\nisInList in the safeurl-python package before 1.2 for Python has an insufficiently restrictive regular expression for external domains, leading to SSRF.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "safeurl-python"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/IncludeSecurity/safeurl-python/security/advisories/GHSA-jgh8-vchw-q3g7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-24622"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/IncludeSecurity/safeurl-python"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-01T20:04:51Z",
    "nvd_published_at" : "2023-01-30T05:15:00Z"
  }
}