QID 378864

Date Published: 2023-09-25

QID 378864: Python Extensible Markup Language (XML) External Entity Vulnerability

An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities.

Affected version
Python version 3.6 to 3.9.1 QID Detection Logic (Authenticated): It checks for the vulnerable version from the file py.exe

Successful exploit may lead to XML External Entity (XXE)

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Customers are advised to upgrade to the latest supported python releases to remediate this vulnerability.
    For latest release visit here.
    Vendor References

    CVEs related to QID 378864

    Software Advisories
    Advisory ID Software Component Link
    CVE-2022-48565 URL Logo github.com/python/cpython/issues/86217
    Python 3.10.0 URL Logo docs.python.org/3.10/whatsnew/changelog.html#python-3-10-0-alpha-2
    Python 3.6.13 URL Logo docs.python.org/3.6/whatsnew/changelog.html#python-3-6-13-final
    Python 3.7.10 URL Logo docs.python.org/3.7/whatsnew/changelog.html#python-3-7-10-final
    Python 3.8.7 URL Logo docs.python.org/3.8/whatsnew/changelog.html#python-3-8-7-release-candidate-1
    Python 3.9.1 URL Logo docs.python.org/3.9/whatsnew/changelog.html#python-3-9-1-release-candidate-1