Post
HIGH

Debian and Ubuntu APT Flaw Lets MitM Attackers Run Code as Root

· vulnerability · cve · privilege-escalation · supply-chain

A flaw in APT, the package manager used by Debian and Ubuntu, lets an attacker who can modify package downloads in transit swap a verified package for a malicious one. Because APT retries failed downloads by default starting with Debian 12, an attacker positioned as a man-in-the-middle can trigger this behavior to get their own package installed.

The attacker’s code then runs as root. Debian, Ubuntu, and APT’s developers published advisories on November 4; patches should be applied as soon as they’re available for your release.