CVE-2022-31471 json
untangle vulnerable to Improper Restriction of XML External Entity Reference
published 2022-07-26 4 y ago modified 2026-06-17 4 mo ago also GHSA-f83q-2cp7-qrjg , PYSEC-2022-244 , EUVD-2022-0350
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi untangle 1.2.1
- python-untangle Debian 14, Debian 13, Debian 12 1.2.1-1
debian advisories DEBIAN-CVE-2022-31471
Exploit prediction
1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | untangle | <1.2.1 |
1.2.1 |
Affected products
- Christian Stefanescu untangle
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/stchris/untangle
package, product, third-party-advisory, web
-
github.com
/stchris/untangle/releases/tag/1.2.1
web, release-notes, third-party-advisory
-
jvn.jp
/en/jp/JVN30454777/
third-party-advisory, web
-
github.com
/stchris/untangle/security/advisories/GHSA-f83q-2cp7-qrjg
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-31471
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/untangle/PYSEC-2022-244.yaml
web
-
jvn.jp
/en/jp/JVN30454777
web
-
github.com
/advisories/GHSA-f83q-2cp7-qrjg
advisory
Sources
- CVE List CVE-2022-31471
- GitHub Advisory GHSA-f83q-2cp7-qrjg
- NVD CVE-2022-31471
- OSV PYSEC-2022-244
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.