Access Control Bypass Affecting safeurl-python package, versions [,1.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-SAFEURLPYTHON-5747815
  • published 30 Jun 2023
  • disclosed 29 Jun 2023
  • credit Sim4n6

Introduced: 29 Jun 2023

CVE NOT AVAILABLE CWE-284 Open this link in a new tab

How to fix?

Upgrade safeurl-python to version 1.3 or higher.

Overview

safeurl-python is a library that aids developers in protecting against SSRF

Affected versions of this package are vulnerable to Access Control Bypass due to not blocking FQDNs. If a hostname is blacklisted, it is possible to bypass the blacklist by requesting the FQDN of the host (e.g. adding . to the end).

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None