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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Debian GNU/Linux | apt as used in Debian Stretch and Ubuntu | 1.4.8 and earlier | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | apt | 1.8.0~alpha3.1 | — |
| Debian 13 | apt | 1.8.0~alpha3.1 | — |
| Debian 12 | apt | 1.8.0~alpha3.1 | — |
| Debian 9 | apt | 1.4.9 | DSA-4371-1 |
| Debian 8 | apt | 1.0.9.8.5 | DLA-1637-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | apt | 1.6.6ubuntu0.1 | USN-3863-1 |
| Ubuntu 16.04 LTS | apt | 1.2.29ubuntu0.1 | USN-3863-1 |
| Ubuntu 14.04 LTS | apt | 1.0.1ubuntu2.19 | USN-3863-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
tonejito/check_CVE-2019-3462 ★ 2 · Jan 24, 2019
Check @Debian and @Ubuntu #GNU / #Linux for CVE-2019-3462 in APT
-
atilacastro/update-apt-package ★ 0 · Feb 13, 2019
Playbook update APT package because CVE-2019-3462
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- USN-3863-1 apt vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4371-1 apt - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1637-1 apt - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- 106690 vdb-entry
- USN-3863-1 vendor-advisory
- USN-3863-2 vendor-advisory
- [debian-lts-announce] 20190122 [SECURITY] [DLA 1637-1] apt security update mailing-list
- DSA-4371 vendor-advisory
- [debian-lts-announce] 20190122 [SECURITY] [DLA 1637-1] apt security update (amended) mailing-list
- https://security.netapp.com/advisory/ntap-20190125-0002/
- [infra-devnull] 20190404 [GitHub] [incubator-openwhisk-runtime-ballerina] falkzoll commented on issue #15: Update to new base image jdk8u202-b08_openj9-0.12.1. mailing-list