APT RCE via hard link reuse
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.0.1ubuntu2.24+esm4, 1.2.36+esm1, 1.6.19+esm1 and 17 more.
On Debian, Ubuntu, and derivative Linux distributions, an on-path attacker who can manipulate the HTTP traffic (including a malicious mirror or proxy) between an APT client and an archive server triggered by a package install can trick the client into installing an attacker-controlled unverified package and achieve remote code execution with root privileges. The vulnerability is caused by the reuse of hard links and requires the client to follow redirects and retry the download of package files. It requires the client to have a non-zero Acquire::Retries configuration setting; the value 3 is the default starting with Debian 12 (bookworm) and Ubuntu 22.04 LTS (Jammy Jellyfish), so older releases are unaffected in a default configuration
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Ubuntu | <1.0.1ubuntu2.24+esm4, >=1.2.0 <1.2.36+esm1, >=1.6.0 <1.6.19+esm1, >=2.0.0 <2.0.12+esm1, >=2.4.0 <2.4.15ubuntu0.1, >=2.8.0 <2.8.4ubuntu0.1, >=3.2.0 <3.2.1ubuntu0.1, >=3.3.0 <3.3.3ubuntu0.1 | 1.0.1ubuntu2.24+esm4, 1.2.36+esm1, 1.6.19+esm1, 2.0.12+esm1, 2.4.15ubuntu0.1, 2.8.4ubuntu0.1, 3.2.1ubuntu0.1, 3.3.3ubuntu0.1 | |
| debian | >=2.6.0 <2.6.2, >=2.8.0 <2.8.4, <1.2.36, >=3.2.0 <3.2.1, >=3.3.0 <3.3.6, >=3.0.0 <3.0.4, >=1.4.0 <1.4.12, >=1.6.0 <1.6.19, >=1.8.0 <1.8.2.4, >=1.8.3 <=1.8.5, >=2.0.0 <2.0.12, >=2.2.0 <2.2.5, >=2.4.0 <2.4.15 | 2.6.2, 2.8.4, 1.2.36, 3.2.1, 3.3.6, 3.0.4, 1.4.12, 1.6.19, 1.8.2.4, 2.0.12, 2.2.5, 2.4.15 |
Exploit evidence
2 public sources
Vendor advisories
Coverage
News and research mentioning this CVE
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket