{"id":"UBUNTU-CVE-2022-4245","details":"A flaw was found in codehaus-plexus. The org.codehaus.plexus.util.xml.XmlWriterUtil#writeComment fails to sanitize comments for a --\u003e sequence. This issue means that text contained in the command string could be interpreted as XML and allow for XML injection.","modified":"2025-10-24T04:53:17Z","published":"2023-09-25T20:15:00Z","upstream":["CVE-2022-4245"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-4245"},{"type":"REPORT","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-461102"},{"type":"REPORT","url":"https://github.com/codehaus-plexus/plexus-utils/commit/f933e5e78dc2637e485447ed821fe14904f110de"},{"type":"REPORT","url":"https://github.com/codehaus-plexus/plexus-utils/issues/3"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-4245"}],"affected":[{"package":{"name":"plexus-utils2","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/plexus-utils2@2.0.5-1+deb7u1build0.14.04.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.5-1","2.0.5-1+deb7u1build0.14.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.5-1+deb7u1build0.14.04.1","binary_name":"libplexus-utils2-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4245.json"}},{"package":{"name":"plexus-utils2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/plexus-utils2@3.0.22-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.15-1","3.0.22-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libplexus-utils2-java","binary_version":"3.0.22-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4245.json"}},{"package":{"name":"plexus-utils2","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/plexus-utils2@3.0.24-3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.24-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libplexus-utils2-java","binary_version":"3.0.24-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4245.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}