{"id":"CVE-2019-3462","aliases":["DEBIAN-CVE-2019-3462","DLA-1637-1","DSA-4371-1","EUVD-2019-13101","GHSA-q857-rhg5-4j49","UBUNTU-CVE-2019-3462","USN-3863-1"],"status":"published","title":"Incorrect sanitation of the 302 redirect field in HTTP transport method of apt versions 1.4.8 and...","description":"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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.14555,"percentile":0.96672,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2019-01-22T00:00:00Z","modified":"2026-09-21T07:03:18Z","exploits":[{"source":"pocgithub","id":"tonejito/check_CVE-2019-3462","title":"tonejito/check_CVE-2019-3462","date":"2019-01-24","url":"https://github.com/tonejito/check_CVE-2019-3462"},{"source":"pocgithub","id":"atilacastro/update-apt-package","title":"atilacastro/update-apt-package","date":"2019-02-13","url":"https://github.com/atilacastro/update-apt-package"}],"fixes":[{"ecosystem":"Debian:12","package":"apt","fixed_in":["1.8.0~alpha3.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"apt","fixed_in":["1.8.0~alpha3.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"apt","fixed_in":["1.8.0~alpha3.1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"apt","fixed_in":["1.0.9.8.5"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"apt","fixed_in":["1.4.9"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"apt","fixed_in":["1.0.1ubuntu2.19"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"apt","fixed_in":["1.2.29ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"apt","fixed_in":["1.6.6ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0~alpha3.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0~alpha3.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.0~alpha3.1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9.8.5"}]}],"versions":["1.0.9.8","1.0.9.8.1","1.0.9.8.2","1.0.9.8.3","1.0.9.8.4"]},{"source":"osv","ecosystem":"Debian:9","package":"apt","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.9"}]}],"versions":["1.4.6","1.4.7","1.4.8"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"apt","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"apt","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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"apt","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"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"apt","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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"apt","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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"apt","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"]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"advanced_package_tool"},{"vendor":"debian","product":"debian_linux"},{"vendor":"debian gnu/linux","product":"apt as used in debian stretch and ubuntu"},{"vendor":"netapp","product":"active_iq"},{"vendor":"netapp","product":"element_software"}],"references":[{"url":"http://www.securityfocus.com/bid/106690","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://usn.ubuntu.com/3863-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/3863-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/01/msg00013.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Vendor Advisory","advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4371","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/01/msg00014.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Vendor Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20190125-0002/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3462"},{"url":"https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f@%3Cdevnull.infra.apache.org%3E"},{"url":"https://github.com/advisories/GHSA-q857-rhg5-4j49"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-3462","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-3462","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3863-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-3863-2","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-3462","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-3462","description":"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.","status":"published","published":"2019-01-28T21:00:00Z","modified":"2024-09-16T16:32:28.586Z","updated_at":"2026-11-02T14:20:23.048861Z"}],"euvd":[{"id":"EUVD-2019-13101","description":"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.","status":"published","published":"2019-01-28T21:00:00Z","modified":"2024-09-16T16:32:28Z","updated_at":"2026-11-03T00:55:51.136895Z"}],"ghsa":[{"id":"GHSA-q857-rhg5-4j49","title":"Incorrect sanitation of the 302 redirect field in HTTP transport method of apt versions 1.4.8 and...","description":"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.","status":"published","published":"2022-05-13T01:22:27Z","modified":"2023-02-01T05:06:38Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T14:50:23.506103Z"}],"nvd":[{"id":"CVE-2019-3462","description":"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.","status":"published","published":"2019-01-28T21:29:00.3Z","modified":"2026-06-17T02:35:09.66Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:05:02.989216Z"}],"osv":[{"id":"CVE-2019-3462","description":"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.","status":"published","published":"2019-01-28T21:29:00.3Z","modified":"2026-03-15T21:56:37.907319Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:12.363788Z"},{"id":"DEBIAN-CVE-2019-3462","description":"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.","status":"published","published":"2019-01-28T21:29:00.3Z","modified":"2026-09-21T07:03:18.766520105Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:32.221385Z"},{"id":"UBUNTU-CVE-2019-3462","description":"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.","status":"published","published":"2019-01-22T12:00:00Z","modified":"2026-04-22T11:57:07.294973Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:21.213407Z"},{"id":"DLA-1637-1","title":"apt - security update","status":"published","published":"2019-01-22T00:00:00Z","modified":"2026-03-09T01:20:58.483443Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DSA-4371-1","title":"apt - security update","status":"published","published":"2019-01-22T00:00:00Z","modified":"2026-03-09T02:10:00.803663Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"USN-3863-1","title":"apt vulnerability","description":"Max Justicz discovered that APT incorrectly handled certain parameters\nduring redirects. If a remote attacker were able to perform a\nmachine-in-the-middle attack, this flaw could potentially be used to install\naltered packages.\n","status":"published","published":"2019-01-22T12:18:13Z","modified":"2026-04-22T09:55:17.31981Z","updated_at":"2026-11-02T16:58:14.019824Z"}]}}
