Advisory

GHSA-f83q-2cp7-qrjg

Also known as: CVE-2022-31471, PYSEC-2022-244

Summary

untangle vulnerable to Improper Restriction of XML External Entity Reference

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-08-06 05:30 UTC
Modified
2024-11-18 23:22 UTC

Affected packages and fixes

untangle

PyPI · All systems

Affected

  • introduced 0, fixed 1.2.1 (ecosystem)

Fixed versions

1.2.1

Fix

  • Fixed version 1.2.1
    pip install --upgrade untangle==1.2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences