Article View: linux.debian.user
Article #586Re: eMudhra cert compromise + APT vuln = trivial MITM pwn for new installations
From: Max Nikulin
Date: Wed, 18 Nov 2026 17:10
Date: Wed, 18 Nov 2026 17:10
75 lines
7393 bytes
7393 bytes
On 16/11/2026 12:46 am, Andrew M.A. Cater wrote:
> On Sun, Nov 15, 2026 at 11:14:23PM +0700, Max Nikulin wrote:
>> Perhaps the point was that users having unattended-upgrades got fixed apt
>> version rather early. In my opinion however, this case should be handled
>> manually to upgrade apt safely.
>
> Yes, if you had unattended-ugrades, this would be fixed quickly.
Andrew, are you realizing that this apt bug is a special one? Installing
security updates ASAP usually is the best strategy. In this case it
makes window for attack more narrow as well, but there is a better
variant. If no packages have been installed or upgraded then the system
is not at risk. The safe way is
apt install -o Acquire::Retries=0 --only-upgrade apt
> If you've been running apt to update yourself on a fairly regular basis,
> you already *have* pretty much all the packages that go into a point
> release apart from the base-files patch thta actually bumps the number.
The request was to provide *install images* with the fix to ensure that
*new systems* are not compromised by attackers able to intercept traffic
to a Debian mirror.
>> I hope, no official mirrors are compromised. [...] I expect that attacks by 3rd
>> party is more probable.
>
> You can be fairly sure that deb.debian.org (globally available) or
> ftp.[country name].debian.org won't have been compromised - it's quite
> a significant effort to compromise a whole mirror without detection
> somewhere.
I think, it is harder to ensure the same for
<https://www.debian.org/mirror/list#complete-list>,
but I'm more afraid of last mile.
>> By the way, may local mirror (e.g. apt-cacher-ng) be a workaround against
>> the attack?
>
> Where does your *local* mirror derive its .deb files from?
My idea is that it should not matter. An apt proxy running on a trusted
machine withing LAN should isolate from tricks with HTTP redirection.
Even if proxy cache is poisoned, GPG signatures should allow to detect
malicious packages if they are sent with 200 HTTP code.
> The mitigation instructions for pretty much any security update are
> "Update" (and probably reboot if the updates include a kernel/ significant
> numbers of libraries / your preferred web browser.
In this specific case I expected the apt command (like the one above) in
the DSA message and an explicit statement that users installing new
systems should apply a similar workaround till fixed images are
uploaded. Ideally warning boxes should be added to install pages and to
README files in the directories with images (and another one concerning
TLS certificates with weak keys).
>> Perhaps I have seen a suggestion to explicitly request "Cc" in some docs
>> related to Debian mailing lists.
>
> The suggestion made in the monthly FAQ is that you *don't* cc people
> if they are subscribed to the list.
I did not found it there when I was writing the message. Actually it is
in <https://www.debian.org/MailingLists/#codeofconduct>. The issue with
monthly FAQ for new users is that where is no "regular" HTTP page with
latest version and stable URL. I admit, every message is available in
the mailing list archive and it has "List-Archive" headers (though a
link to a specific message should be in "Archived-At" instead).
On 15/11/2026 11:44 pm, CGS wrote:
> What is the upshot of all this for the end user (like me)?
Nothing new. Have a plan how to reinstall system and how to restore data
from backups when your machines are compromised.
Technical Details
Message-ID:
<O0Rkt-cIWk-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NWM9H-anlE-3@gated-at.bofh.it> <NWNp7-ao5k-3@gated-at.bofh.it> <NXBYC-aRi5-27@gated-at.bofh.it> <NXChY-aRoN-9@gated-at.bofh.it> <NXXw5-b3vn-1@gated-at.bofh.it> <NYjPX-bg8j-1@gated-at.bofh.it> <NYF45-bs3O-7@gated-at.bofh.it> <NYGtb-bsTX-1@gated-at.bofh.it> <NYPd8-bxCj-17@gated-at.bofh.it> <NZLqN-c4BT-11@gated-at.bofh.it> <NZMwx-c5j0-9@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Max Nikulin <manikulin@gmail.com>
Newsgroups: linux.debian.user
Subject: Re: eMudhra cert compromise + APT vuln = trivial MITM pwn for new installations
Date: Wed, 18 Nov 2026 18:10:01 +0100
Message-ID: <O0Rkt-cIWk-7@gated-at.bofh.it>
References: <NWM9H-anlE-3@gated-at.bofh.it> <NWNp7-ao5k-3@gated-at.bofh.it> <NXBYC-aRi5-27@gated-at.bofh.it> <NXChY-aRoN-9@gated-at.bofh.it> <NXXw5-b3vn-1@gated-at.bofh.it> <NYjPX-bg8j-1@gated-at.bofh.it> <NYF45-bs3O-7@gated-at.bofh.it> <NYGtb-bsTX-1@gated-at.bofh.it> <NYPd8-bxCj-17@gated-at.bofh.it> <NZLqN-c4BT-11@gated-at.bofh.it> <NZMwx-c5j0-9@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org Wed Nov 18 17:00:09 2026
Old-Return-Path: <manikulin@gmail.com>
X-Amavis-Spam-Status: No, score=-2.099 tagged_above=-10000 required=5.3
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]
autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -5.5
X-Gm-Message-State: APuU4Z9CSo37t129ecA/NIXUDj2p6T3afwzu+TKbOCf+3y9xamYvA73h
S6NFsrDDO9JqFYLrukJMbPWM+l4QKLyIaiVUfYR05Q0h1pdmn+0G3zAac5BYXw==
X-Gm-Gg: AYBFou01CL0HKAYvQrQFbrOvLCLTVhPhjAzlg2wBVdFazbBj9ZDXEO81Y16TiLYhB0k
EAVDKzvqGaNxifF3yQO9gvjOENaqLt7J9qQDDh9qY1dd0dxVPs86hIe/dXxoiT0oC3mcNd3/bOM
h5rehXFVZ6JIIzbzB/9C3ls5q2LM/PkHx2cyB15e1WAol0RaLMnhJ6n4G/Sx/CXygwA/3JnORFA
R8F50hR8WfDs9yYXExGQ6IhLGFpEQ7k9j/0TD4AIlLWd2VCFP2m8xOVKXmZBqZt0x+XKhdpSbAK
FqIx/roUMm0k/aD7F8U/SNk3vAh8BAdmTBSflgp5OO+KxnRDIU4pItLgMbl1C3TsBuejkpgeqmu
Kidd1w6bwTuh5TWezT5kSpg2smIOEJY2ykwpqSLp9LXRc3e91bLKLGjkOcAPgtqOunJod9ZNrOw
7tFJv/ffkTxTpMfyOhjSiGv96OdU//JNwfRl3nYMSC0fwNXhqN1zxze3p0yHJe21toyb6cPQYah
gVdnTrx9co3gpZKC/6gSjLU9IZCIsUr+am1QAwG/55ENcPxKfo7zj3wPRYefjMwQS10uaG9Bp65
0tvj7BfTb6sMTxG/sXprDJg49adpAVdxEXeybaBzDloeKGViae69
X-Received: by 2002:a17:907:cd14:b0:c51:24e9:c474 with SMTP id a640c23a62f3a-c5124e9ca9emr25864766b.16.1795020132625;
Wed, 18 Nov 2026 08:42:12 -0800 (PST)
Sender: robomod@news.nic.it
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, ru-RU
Mail-Followup-To: debian-user@lists.debian.org,
Elven Inquisition <no.one.expects@faerie.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832980
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/1a5c1372-a38c-4e58-9824-43c23b4902e2@gmail.com
Approved: robomod@news.nic.it
Lines: 75
Organization: linux.* mail to news gateway
X-Original-Cc: Elven Inquisition <no.one.expects@faerie.me>
X-Original-Date: Wed, 18 Nov 2026 23:42:10 +0700
X-Original-Message-ID: <1a5c1372-a38c-4e58-9824-43c23b4902e2@gmail.com>
X-Original-References: <6wU3uuZvsYmvLneBxsEC9QJ-QeeQ225xuFNq2z7iFlRopR-ypiZvTuOo_oDXSYlvJuoOGMDphzEH9e9HhXmQ1PQAsVuf2ZUoJ7YXY9EJAKo=@faerie.me>
<au8U7T5hLUPPJpY6@einval.com>
<9621e6e6-ed8f-4ec0-82c8-c50d1c6dd4f5@gmail.com>
<avIP-dDQne3NpvQd@einval.com>
<26bddc03-65af-47a2-b534-74c125e364ec@gmail.com>
<a1d3e181-f4cc-41a2-b8c6-d35af6f34221@monospace.games>
<4565434f-a0f3-406c-8068-b08d28877fe0@gmail.com>
<slrn11fbsau.1l9.etphonehomefrance@einstein.home.arpa>
<X3bYUhkf9aJTO_SQK7BQNcLGs4uIqqpLV_j5gwAZ6td1lHVGYtlXb_okCSTpvtI914kYq9_TUcHnsvJGDteTBKtNueCRlkBKqRZNeswTt6c=@faerie.me>
<81ad6285-9207-4b9b-be5a-59187e8664f8@gmail.com>
<avnwEKA0j7M3Cnya@einval.com>
X-Original-Sender: Maxim Nikulin <m.a.nikulin@gmail.com>