{"id":"CVE-2022-31471","aliases":["GHSA-f83q-2cp7-qrjg","PYSEC-2022-244"],"url":"https://o3.security/vulnerability/CVE-2022-31471","summary":"untangle vulnerable to Improper Restriction of XML External Entity Reference","details":"### Description\nuntangle 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.\n\n### Impact\nAn attacker may be able to read the contents of local files. This affects untangle versions up to and including 1.2.0\n\n### Patches\nThe problem has been fixed with version 1.2.1\n\n### Workarounds\nNone\n\n### References\nhttps://jvn.jp/en/jp/JVN30454777/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an [issue](https://github.com/stchris/untangle/issues)\n","published":"2022-07-26T05:10:27Z","modified":"2026-10-28T02:30:57.648401133Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"untangle","fixedVersion":"1.2.1"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/stchris/untangle/releases/tag/1.2.1"},{"type":"WEB","url":"https://jvn.jp/en/jp/JVN30454777/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31471.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31471"},{"type":"PACKAGE","url":"https://github.com/stchris/untangle"},{"type":"WEB","url":"https://github.com/stchris/untangle/security/advisories/GHSA-f83q-2cp7-qrjg"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/untangle/PYSEC-2022-244.yaml"},{"type":"WEB","url":"https://jvn.jp/en/jp/JVN30454777"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:57.648401133Z"}}