{"id":"CVE-2022-31471","aliases":["DEBIAN-CVE-2022-31471","EUVD-2022-0350","GHSA-f83q-2cp7-qrjg","PYSEC-2022-244"],"status":"published","title":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01699,"percentile":0.77366,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2022-07-26T05:10:27Z","modified":"2026-10-28T02:30:57Z","fixes":[{"ecosystem":"PyPI","package":"untangle","fixed_in":["1.2.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-untangle","fixed_in":["1.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-untangle","fixed_in":["1.2.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-untangle","fixed_in":["1.2.1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"untangle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-untangle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-untangle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-untangle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"untangle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}],"versions":["0.3","0.3.1","0.4.0","1.0.0","1.1.0","1.1.1","1.2.0"]},{"source":"osv","ecosystem":"PyPI","package":"untangle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}],"versions":["0.3","0.3.1","0.4.0","1.0.0","1.1.0","1.1.1","1.2.0"]}],"products":[{"vendor":"christian stefanescu","product":"untangle"},{"vendor":"untangle_project","product":"untangle"}],"references":[{"url":"https://github.com/stchris/untangle","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","package","web"]},{"url":"https://github.com/stchris/untangle/releases/tag/1.2.1","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://jvn.jp/en/jp/JVN30454777/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/stchris/untangle/security/advisories/GHSA-f83q-2cp7-qrjg","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31471","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/untangle/PYSEC-2022-244.yaml","tags":["web"]},{"url":"https://jvn.jp/en/jp/JVN30454777","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f83q-2cp7-qrjg","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31471.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-31471","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-31471","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.","status":"published","published":"2022-07-26T05:10:27Z","modified":"2024-08-03T07:19:06.083Z","updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2022-0350","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.","status":"published","published":"2022-07-26T05:10:27Z","modified":"2024-08-03T07:19:06Z","updated_at":"2026-11-03T03:25:34.126863Z"}],"ghsa":[{"id":"GHSA-f83q-2cp7-qrjg","title":"untangle vulnerable to Improper Restriction of XML External Entity Reference","description":"### 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","status":"published","published":"2022-08-06T05:30:13Z","modified":"2024-11-18T23:02:31Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:38:20.833758Z"}],"nvd":[{"id":"CVE-2022-31471","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.","status":"published","published":"2022-07-26T06:15:08.817Z","modified":"2026-06-17T04:45:29.99Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:07:24.037422Z"}],"osv":[{"id":"DEBIAN-CVE-2022-31471","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.","status":"published","published":"2022-07-26T06:15:08.817Z","modified":"2026-11-03T08:01:20.260865915Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-03T08:25:01.007408Z"},{"id":"GHSA-f83q-2cp7-qrjg","title":"untangle vulnerable to Improper Restriction of XML External Entity Reference","description":"### 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","status":"published","published":"2022-08-06T05:30:13Z","modified":"2024-11-18T23:22:24.789139Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:46.006631Z"},{"id":"CVE-2022-31471","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.","status":"published","published":"2022-07-26T05:10:27Z","modified":"2026-10-28T02:30:57.648401133Z","updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"PYSEC-2022-244","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.","status":"published","published":"2022-07-26T06:15:00Z","modified":"2023-11-08T04:09:30.853533Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
