CVE-2022-31471
HIGH 7.5CVSS 3.1untangle vulnerable to Improper Restriction of XML External Entity Reference
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.
- Published
- 26 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- vultures@jpcert.or.jp
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-f83q-2cp7-qrjgPYSEC-2022-244
- Sources
- NVDJSONOSV GHSA-f83q-2cp7-qrjgJSONOSV PYSEC-2022-244JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | untangle_project | untanglecpe:2.3:a:untangle_project:untangle:*:*:*:*:*:python:*:* |
<= 1.2.0 | |
| OSV | PyPI | untangle | < 1.2.1 | 1.2.1 |
References
- https://github.com/stchris/untangle · Product, Third Party Advisory, PACKAGE, WEB
- https://github.com/stchris/untangle/releases/tag/1.2.1 · Release Notes, Third Party Advisory, WEB
- https://jvn.jp/en/jp/JVN30454777/ · Third Party Advisory, WEB
- https://github.com/stchris/untangle/security/advisories/GHSA-f83q-2cp7-qrjg · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31471 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/untangle/PYSEC-2022-244.yaml · WEB
- https://github.com/advisories/GHSA-f83q-2cp7-qrjg · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 26 Jul 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Jul 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Aug 2022)