Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. untangle
  4. ›
  5. CVE-2022-31471

CVE-2022-31471: untangle vulnerable to Improper Restriction of XML External Entity Reference

August 6, 2022 (updated November 18, 2024)

untangle is a python library to convert XML data to python objects. untangle versions 1.2.0 and earlier improperly restricts XML external entity references. By exploiting this vulnerability, a remote unauthenticated attacker may read the contents of local files.

References

  • github.com/advisories/GHSA-f83q-2cp7-qrjg
  • github.com/pypa/advisory-database/tree/main/vulns/untangle/PYSEC-2022-244.yaml
  • github.com/stchris/untangle
  • github.com/stchris/untangle/releases/tag/1.2.1
  • github.com/stchris/untangle/security/advisories/GHSA-f83q-2cp7-qrjg
  • jvn.jp/en/jp/JVN30454777
  • nvd.nist.gov/vuln/detail/CVE-2022-31471

Code Behaviors & Features

Detect and mitigate CVE-2022-31471 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.2.1

Fixed versions

  • 1.2.1

Solution

Upgrade to version 1.2.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

pypi/untangle/CVE-2022-31471.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:10 +0000.