Skip to content
OpenAdvisories
High · 7.5 CVE-2022-31471 EUVD-2022-0350GHSA-f83q-2cp7-qrjgPYSEC-2022-244

untangle vulnerable to Improper Restriction of XML External Entity Reference

Published Jul 26, 2022 · Updated Aug 3, 2024 · Assigned by jpcert

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.

Affected products

VendorProductAffectedFixed
Christian Stefanescu untangle 1.2.0 and earlier —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-untangle 1.2.1-1 —
Debian 13 python-untangle 1.2.1-1 —
Debian 12 python-untangle 1.2.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI untangle < 1.2.1 1.2.1 GHSA-f83q-2cp7-qrjg

References