QID 375538

Date Published: 2021-06-22

QID 375538: Python3 RFI/SSRF Vulnerability

Python is an interpreted, high-level and general-purpose programming language.

Improper input validation of octal strings in Python 3.8.0 thru v3.10 stdlib ipaddress allows unauthenticated remote attackers to perform indeterminate SSRF, RFI, and LFI attacks on many programs that rely on Python stdlib ipaddress.

Affected Versions
Python Versions 3.8.0 up to 3.9.4

QID Detection Logic(Authenticated):
For Windows : Detects the installed python version either from py.exe or patchlevel.h file.
For Unix: Checks for version information using the python3 --version

Successful exploitation of this vulnerability may allow an attacker to execute Remote File Inclusion and Server Side Request Forgery.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Customers are advised to install python version 3.9.5 or newer.
    Vendor References

    CVEs related to QID 375538

    Software Advisories
    Advisory ID Software Component Link