{"id":"UBUNTU-CVE-2019-3462","details":"Incorrect sanitation of the 302 redirect field in HTTP transport method of apt versions 1.4.8 and earlier can lead to content injection by a MITM attacker, potentially leading to remote code execution on the target machine.","modified":"2026-04-22T12:25:52.727034Z","published":"2019-01-22T12:00:00Z","related":["USN-3863-1","USN-3863-2"],"upstream":["CVE-2019-3462"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3462"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3863-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3863-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-3462"}],"affected":[{"package":{"name":"apt","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/apt@1.0.1ubuntu2.19?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1ubuntu2.19"}]}],"versions":["0.9.9.1~ubuntu3","0.9.9.1~ubuntu4","0.9.9.1~ubuntu5","0.9.13~exp1ubuntu1","0.9.13~exp1ubuntu2","0.9.13~exp1ubuntu3","0.9.13.1~ubuntu1","0.9.14.1ubuntu1","0.9.14.1ubuntu2","0.9.15.1ubuntu1","0.9.15.4ubuntu1","0.9.15.4ubuntu2","0.9.15.4ubuntu3","0.9.15.4ubuntu4","0.9.15.4ubuntu5","1.0.1ubuntu2","1.0.1ubuntu2.1","1.0.1ubuntu2.3","1.0.1ubuntu2.4.1","1.0.1ubuntu2.5","1.0.1ubuntu2.6","1.0.1ubuntu2.7","1.0.1ubuntu2.8","1.0.1ubuntu2.9","1.0.1ubuntu2.10","1.0.1ubuntu2.11","1.0.1ubuntu2.12","1.0.1ubuntu2.13","1.0.1ubuntu2.14","1.0.1ubuntu2.15","1.0.1ubuntu2.17","1.0.1ubuntu2.18"],"ecosystem_specific":{"binaries":[{"binary_name":"apt","binary_version":"1.0.1ubuntu2.19"},{"binary_name":"apt-transport-https","binary_version":"1.0.1ubuntu2.19"},{"binary_name":"apt-utils","binary_version":"1.0.1ubuntu2.19"},{"binary_name":"libapt-inst1.5","binary_version":"1.0.1ubuntu2.19"},{"binary_name":"libapt-pkg4.12","binary_version":"1.0.1ubuntu2.19"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-3462.json"}},{"package":{"name":"apt","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/apt@1.2.29ubuntu0.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.29ubuntu0.1"}]}],"versions":["1.0.10.2ubuntu1","1.1.4","1.1.5","1.1.10","1.2.3","1.2.4","1.2.6","1.2.7","1.2.8","1.2.9","1.2.10","1.2.10ubuntu1","1.2.12~ubuntu16.04.1","1.2.15","1.2.15ubuntu0.2","1.2.18","1.2.19","1.2.20","1.2.24","1.2.25","1.2.26","1.2.27","1.2.29"],"ecosystem_specific":{"binaries":[{"binary_name":"apt","binary_version":"1.2.29ubuntu0.1"},{"binary_name":"apt-transport-https","binary_version":"1.2.29ubuntu0.1"},{"binary_name":"apt-utils","binary_version":"1.2.29ubuntu0.1"},{"binary_name":"libapt-inst2.0","binary_version":"1.2.29ubuntu0.1"},{"binary_name":"libapt-pkg5.0","binary_version":"1.2.29ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-3462.json"}},{"package":{"name":"apt","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/apt@1.6.6ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.6ubuntu0.1"}]}],"versions":["1.5","1.5.1","1.6~alpha5","1.6~alpha7ubuntu1","1.6~alpha7ubuntu2","1.6~beta1","1.6~rc1","1.6","1.6.1","1.6.2","1.6.3","1.6.3ubuntu0.1","1.6.6"],"ecosystem_specific":{"binaries":[{"binary_name":"apt","binary_version":"1.6.6ubuntu0.1"},{"binary_name":"apt-transport-https","binary_version":"1.6.6ubuntu0.1"},{"binary_name":"apt-utils","binary_version":"1.6.6ubuntu0.1"},{"binary_name":"libapt-inst2.0","binary_version":"1.6.6ubuntu0.1"},{"binary_name":"libapt-pkg5.0","binary_version":"1.6.6ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-3462.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}