{"id":"CVE-2022-31471","aliases":["CVE-2022-31471","GHSA-f83q-2cp7-qrjg","PYSEC-2022-244"],"related":[],"kind":"vulnerability","state":"published","title":"untangle vulnerable to Improper Restriction of XML External Entity Reference","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"untangle es una biblioteca de python para convertir datos XML en objetos de python. untangle versiones 1.2.0 y anteriores restringen inapropiadamente las referencias de tipo XML external entity. Al explotar esta vulnerabilidad, un atacante remoto no autenticado puede leer el contenido de los archivos locales.","source":"nvd"}],"published":"2022-07-26T05:10:27.000Z","modified":"2026-06-17T04:45:29.990Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"version":"1.2.0 and earlier","status":"affected"}],"vendor":"Christian Stefanescu","product":"untangle","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.1"}],"ecosystem":"PyPI","package":"untangle","purl":"pkg:pypi/untangle","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.2.0"}],"vendor":"untangle_project","product":"untangle","cpe":"cpe:2.3:a:untangle_project:untangle:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.1"}],"ecosystem":"PyPI","package":"untangle","purl":"pkg:pypi/untangle","source":"pysec"}],"references":[{"url":"https://github.com/stchris/untangle","tags":["package","product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/stchris/untangle/releases/tag/1.2.1","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://jvn.jp/en/jp/JVN30454777/","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/stchris/untangle/security/advisories/GHSA-f83q-2cp7-qrjg","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31471","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/untangle/PYSEC-2022-244.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://jvn.jp/en/jp/JVN30454777","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-f83q-2cp7-qrjg","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"jpcert","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31471","url":"https://www.cve.org/CVERecord?id=CVE-2022-31471","licence":"CVE Terms of Use","modified":"2024-08-03T07:19:06.083Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f83q-2cp7-qrjg","url":"https://github.com/advisories/GHSA-f83q-2cp7-qrjg","licence":"CC-BY-4.0","modified":"2024-11-18T23:22:24.789Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31471","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31471","licence":"Public domain","modified":"2026-06-17T04:45:29.990Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-244","url":"https://osv.dev/vulnerability/PYSEC-2022-244","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:30.853Z"}],"updatedAt":"2026-11-25T22:58:13.209Z","epss":{"score":0.01741,"percentile":0.78412,"date":"2026-12-01T12:00:22.000Z"}}