{"id":"UBUNTU-CVE-2021-23792","details":"The package com.twelvemonkeys.imageio:imageio-metadata before 3.7.1 are vulnerable to XML External Entity (XXE) Injection due to an insecurely initialized XML parser for reading XMP Metadata. An attacker can exploit this vulnerability if they are able to supply a file (e.g. when an online profile picture is processed) with a malicious XMP segment. If the XMP metadata of the uploaded image is parsed, then the XXE vulnerability is triggered.","modified":"2026-05-20T16:06:26.547054117Z","published":"2022-05-06T20:15:00Z","upstream":["CVE-2021-23792"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23792"},{"type":"REPORT","url":"https://github.com/haraldk/TwelveMonkeys/commit/da4efe98bf09e1cce91b7633cb251958a200fc80"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-COMTWELVEMONKEYSIMAGEIO-2316763"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-23792"}],"affected":[{"package":{"name":"libtwelvemonkeys-java","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libtwelvemonkeys-java?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.2-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.2-2","binary_name":"libtwelvemonkeys-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23792.json"}},{"package":{"name":"libtwelvemonkeys-java","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libtwelvemonkeys-java?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.1-1","3.4.2-1","3.5-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5-1","binary_name":"libtwelvemonkeys-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23792.json"}},{"package":{"name":"libtwelvemonkeys-java","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libtwelvemonkeys-java?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.3-1","3.7.0-1","3.8.0-1","3.8.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libtwelvemonkeys-java","binary_version":"3.8.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23792.json"}},{"package":{"name":"libtwelvemonkeys-java","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libtwelvemonkeys-java?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libtwelvemonkeys-java","binary_version":"3.9.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23792.json"}},{"package":{"name":"libtwelvemonkeys-java","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libtwelvemonkeys-java?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.0+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libtwelvemonkeys-java","binary_version":"3.11.0+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23792.json"}},{"package":{"name":"libtwelvemonkeys-java","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libtwelvemonkeys-java?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.11.0+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.11.0+dfsg-2","binary_name":"libtwelvemonkeys-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23792.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}