APT flaw lets network attackers replace packages and execute code as root

A vulnerability in APT, the package manager used by Debian and Ubuntu, can let a man-in-the-middle attacker replace a package and run code as root. Debian, Ubuntu and APT developers published advisories on November 4. The attack depends on APT retrying failed downloads, a behavior enabled by default from Debian 12 and.

AI-written summary, checked against the cited sources. How summaries work

Image: Phoronix

Why it matters

Debian and Ubuntu administrators should review the APT advisories and address the flaw on affected systems, since a network attacker may otherwise execute code with root privileges.

What we know

Reported by one source

  • The attack requires APT to retry failed downloads, enabled by default from Debian 12. — The Hacker News
  • Advisories were published by Debian, Ubuntu and APT developers on November 4. — The Hacker News

Coverage 2 publishers

  1. PhoronixFirst report

    Debian's APT Affected By Man-In-The-Middle Attack For Arbitrary Code Execution As Root

    A new vulnerability was disclosed today affecting Debian's APT package manager where a man-in-the-middle attacker could carry out arbitrary code execution as root...

  2. The Hacker News

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

    A flaw in APT, the package manager for Debian and Ubuntu, allows an attacker who can modify package downloads to swap a checked package for their own. The attacker's code then runs as root, according to advisories that Debian, Ubuntu, and…

Earliest report first. Articles stay on their publishers’ sites; each link opens the original.