News for hackers. Stuff that matters.
Re:Debian apt security update: man-in-the-middle arbitrary c... by vesinisa on Wednesday November 04, 2026 @08:02AM (#50364973)
No word as of yet if Ubuntu's apt is also impacted.

Sounds like the vulnerability is in the HTTP handling code, and because apt downloads packages over plain HTTP a man-in-the-middle position would be enough to exploit it.

It almost seems like a repeat of another critical apt vulnerability from 2014: https://lists.debian.org/debian-security-announce/2014/msg00...

Re:Debian apt security update: man-in-the-middle arbitrary c... by greggsy on Wednesday November 04, 2026 @08:05AM (#50365015)
I thought there might be some kind of hash or signature, but I’m assuming that can be forged along with the main payload?
Re:Debian apt security update: man-in-the-middle arbitrary c... by vesinisa on Wednesday November 04, 2026 @08:13AM (#50365096)
From the short description in the advisory, would seem like the attacker can cause the tool to overwrite the file after signature verification.
Re:Debian apt security update: man-in-the-middle arbitrary c... by TZubiri on Wednesday November 04, 2026 @08:37AM (#50365345)
Of course not, Debian is one of the most robust pieces of software around. They wouldn't do something idiotic like relying on the hash being sent with the payload through the same channel.

I think the idea is that debian distributes the hash themselves through their domain, and mirrors offer the downloads either through http or https. So that you don't need to trust the mirror, you just verify the debian given hash. Only weakness would be a hash collision or a cve like this.

Re:Debian apt security update: man-in-the-middle arbitrary c... by DaSHacka on Wednesday November 04, 2026 @09:02AM (#50365648)
AFAIK this isn't actually true for any distribution. This would break selfhosted mirrors and their clients hosted on airgapped networks, and create a single point of failure for users.

The way packages are validated actually is through the same channel as you download the packages themselves from (IE your mirror), they just are signed with the Debian package signing key(ring), of which only a select few maintainers have authorized private keys for.

This does mean an adversary (whether a MITM if you're using HTTP or malicious operator on the mirror server itself) can technically serve you old versions of an (officially signed) package indefinitely and your package manager would be none the wiser, but otherwise this approach actually works quite well.

Re:Debian apt security update: man-in-the-middle arbitrary c... by dinosaurdynasty on Wednesday November 04, 2026 @11:56AM (#50368370)
The signatures do expire (which is an annoyance when working with snapshot.debian.org).
Re:Debian apt security update: man-in-the-middle arbitrary c... by dist-epoch on Wednesday November 04, 2026 @10:34AM (#50367052)
An attacker might replace a package with a previous one which has a vulnerability. Downgrade attack. Unclear if the apt client will check if version is the expected one after requesting a package.
Re:Debian apt security update: man-in-the-middle arbitrary c... by angry_octet on Wednesday November 04, 2026 @08:22AM (#50365196)
Despite with the 'no need for TLS, apt packages are signed' clowns would have you believe, you can usually point to a package mirror with https. This has the added advantage of preventing a mitm from knowing what packages you install or blocking selected packages.
Re:Debian apt security update: man-in-the-middle arbitrary c... by anthk on Wednesday November 04, 2026 @08:25AM (#50365227)
Every mirror will know that because of HTTPD logs.
Re:Debian apt security update: man-in-the-middle arbitrary c... by DaSHacka on Wednesday November 04, 2026 @08:53AM (#50365531)
In fairness to GP, that wouldn't be a man in the 'middle', the mirror is the end destination for your traffic.
Re:Debian apt security update: man-in-the-middle arbitrary c... by InsidiousWombat on Wednesday November 04, 2026 @08:33AM (#50365300)
well when CA use 4 as key that kinda matters less
Re:Debian apt security update: man-in-the-middle arbitrary c... by bulbar on Wednesday November 04, 2026 @11:33AM (#50368024)
They usually don't.
Re:Debian apt security update: man-in-the-middle arbitrary c... by JamesSwift on Wednesday November 04, 2026 @12:19PM (#50368641)
But sometimes do
Re:Debian apt security update: man-in-the-middle arbitrary c... by bulbar on Thursday November 05, 2026 @12:34AM (#50375588)
What's the argument then? Not signing the packages anymore because that has now been faulty?

There's no sensible argument here.

Re:Debian apt security update: man-in-the-middle arbitrary c... by steve1977 on Wednesday November 04, 2026 @12:50PM (#50369075)
That’s not very typical, I’d like to make that point.
Re:Debian apt security update: man-in-the-middle arbitrary c... by angry_octet on Wednesday November 04, 2026 @04:14PM (#50371621)
So you're not using internet banking any more?
Re:Debian apt security update: man-in-the-middle arbitrary c... by dinosaurdynasty on Wednesday November 04, 2026 @11:53AM (#50368324)
> preventing a mitm from knowing what packages you install

Package size is unique enough that just seeing the size of the transfer will usually be enough to tell.

Re:Debian apt security update: man-in-the-middle arbitrary c... by angry_octet on Wednesday November 04, 2026 @04:25PM (#50371791)
Apt uses persistent connections and has multiple requests in flight at once (Acquire::http::Pipeline-Depth). If you acquired the entire history of downloads then you could match it against software updates, and possibly identify by-choice dependency sets, but it would be quite a project.
Re:Debian apt security update: man-in-the-middle arbitrary c... by kpcyrd on Wednesday November 04, 2026 @09:49AM (#50366297)
> Updates for the affected Debian, Debian LTS, Debian eLTS, Ubuntu, and Ubuntu Pro channels are being released. > > An update for apt 1.0.1ubuntu2.24 has been made available to Ubuntu Pro customers running Ubuntu "trusty" through the Ubuntu Pro subscription service, and a 3.3.3ubuntu0.1 for stonking.

From the original disclosure: https://lists.debian.org/deity/2026/11/msg00005.html

For context, Ubuntu trusty and apt 1.0.1 is from 2014.

Re:Debian apt security update: man-in-the-middle arbitrary c... by justicz on Wednesday November 04, 2026 @10:04AM (#50366581)
Ubuntu is affected.