CVE-2022-31471
untangle 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2022-31471- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-31471- Updated
- 2026-11-02
EUVDEUVD-2022-0350 No score
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.
- Record
EUVD-2022-0350- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f83q-2cp7-qrjg
8.7
untangle vulnerable to Improper Restriction of XML External Entity Reference
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.
Impact
An attacker may be able to read the contents of local files. This affects untangle versions up to and including 1.2.0
Patches
The problem has been fixed with version 1.2.1
Workarounds
None
References
https://jvn.jp/en/jp/JVN30454777/
For more information
If you have any questions or comments about this advisory:
- Open an issue
- Record
GHSA-f83q-2cp7-qrjg- CVSS 4.0
- 8.7 High
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 - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-31471
7.5
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.
- Record
DEBIAN-CVE-2022-31471- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSVGHSA-f83q-2cp7-qrjg
8.7
untangle vulnerable to Improper Restriction of XML External Entity Reference
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.
Impact
An attacker may be able to read the contents of local files. This affects untangle versions up to and including 1.2.0
Patches
The problem has been fixed with version 1.2.1
Workarounds
None
References
https://jvn.jp/en/jp/JVN30454777/
For more information
If you have any questions or comments about this advisory:
- Open an issue
- Record
GHSA-f83q-2cp7-qrjg- CVSS 4.0
- 8.7 High
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 - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-31471- Updated
- 2026-11-02
OSVPYSEC-2022-244 No score
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.
- Record
PYSEC-2022-244- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
untanglePyPI |
before 1.2.1 | 1.2.1 |
python-untangleDebian:12 |
before 1.2.1-1 | 1.2.1-1 |
python-untangleDebian:13 |
before 1.2.1-1 | 1.2.1-1 |
python-untangleDebian:14 |
before 1.2.1-1 | 1.2.1-1 |
untanglePyPI |
before 1.2.1, plus listed versions 0.30.3.10.4.01.0.01.1.01.1.11.2.0 |
1.2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-31471 is a high vulnerability (CVSS 7.5) in Christian Stefanescu Untangle, published July 26, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.70%, the 77th percentile. Fixed in untangle 1.2.1.
References
github.com/stchris/untangle
github.com/stchris/untangle/releases/tag/1.2.1
jvn.jp/en/jp/JVN30454777
github.com/stchris/untangle/security/advisories/GHSA-f83q-2cp7-qrjg
nvd.nist.gov/vuln/detail/CVE-2022-31471
github.com/pypa/advisory-database/tree/main/vulns/untangle/PYSEC-2022-244.yaml
github.com/advisories/GHSA-f83q-2cp7-qrjg
github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31471.json
security-tracker.debian.org/tracker/CVE-2022-31471