Article View: linux.debian.user
Article #520Re: eMudhra cert compromise + APT vuln = trivial MITM pwn for new installations
From: Max Nikulin
Date: Sun, 15 Nov 2026 16:40
Date: Sun, 15 Nov 2026 16:40
67 lines
6793 bytes
6793 bytes
On 13/11/2026 9:28 am, Elven Inquisition wrote:
> He noted in his initial reply to me in this thread[2] that
> the upgrade process during netinstall utilizes unattended-upgrades. That
> utilizes APT internally.
I think, unattended-upgrades is not involved and apt is invoked
directly. In Debian it is not installed by default, see
apt list
'(~D~nunattended-upgrades)|(~DRecommends:~nunattended-upgrades)'
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.
> it's not a *full* mitigation. The mirror itself can still ship malicious
> packages;
I hope, no official mirrors are compromised. It is responsibility of
users to evaluate reputation of mirrors they use. I expect that attacks
by 3rd party is more probable.
By the way, may local mirror (e.g. apt-cacher-ng) be a workaround
against the attack?
> An incredibly similar vulnerability, CVE-2019-3462[6], likewise involving HTTP
> redirection, likewise totally bypassing PGP signature verification, occurred in
> 2019. An emergency point release[7] was made one day after the vuln was
> announced, with exactly one thing upgraded: APT:
Was there a simple workaround that time?
Currently due to high rate of discovered vulnerabilities, a release with
single bug update may cause user confusion. Other updates may be rather
important as well.
I am afraid, emergency releases are bearable only if images testing are
fully automated.
> As I noted in my initial email, the "mitigation" instructions in
> this case seem to be, by virtue of their absence, "Upgrade as usual.
I agree that handling of this couple of issues was not optimal. It is
the reason why I joined this thread.
> I wasn't subscribed when I posted, and I hadn't expected to be
> dropped. I'm subscribed now, though.
Perhaps I have seen a suggestion to explicitly request "Cc" in some docs
related to Debian mailing lists.
My rule of thumb for mailing lists where direct copies are frequently
used is that if a person joined an earlier started thread than their
address may be skipped. An exception is the case when it is important to
hear their opinion. For new threads I sometimes check if the person
joined to other threads in the past.
On 13/11/2026 9:55 pm, monodev wrote:
> On 11/12/26 6:19 PM, Max Nikulin wrote:
>> I do not mind that new system is not vulnerable as soon as security
>> updates are installed. So the window for attacks is narrow, but it exists.
> In that case such a bug would no longer be addressed by a new point
> release (emergency or otherwise) as it'd exist outside of both apt and
> ca-certificates.
It is not outside of apt. The point is that earlier apt versions may
overwrite a file after its hashsum is verified. GPG signatures for
package lists are genuine, but attacker's code may be executed on the
system.
Technical Details
Message-ID:
<NZLqN-c4BT-11@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.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>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.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: Sun, 15 Nov 2026 17:40:01 +0100
Message-ID: <NZLqN-c4BT-11@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>
X-Mailbox-Line: From debian-user-request@lists.debian.org Sun Nov 15 16:30:20 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: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lf1-x133.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State: APuU4Z8YBQ/+le0UHjGN3+0XtDdMi5lOYpey98pydsPzaPH9PTyJoFDP
kl0vWQTGNNWERYlWwFGBdRGo+kNLkS7HXCcd8fCQ041DlUhWWCINHkEc
X-Gm-Gg: AYBFou3wQ0pSx+UqVx0llopFqGr6cwr3g3l7e0F2FcQkf/hDHE/3+M65zglLgZNAaq/
OT/u8Iu2crueX25uG1EDKCYTqSPVdznOscihk0kG0Kh/FbywOM7oYecDoqqkEdbzegrS3hfmUS/
lFAkJatBT6oBDLM1ZMHbxApsQ3wHZDHXmmJpGJMtEKIofqgjXp/1pV9EdMjUr0540B9NIMXCJLq
ZI+EDuQDQz156/w1EjRZVaj9GrCc1GGnpSGtm0vgBu4pPs0dfqBMjcIoHYMPWOn6oc6DWvTbEmA
7lLOPuDYOZPopu2PwvSM3yXLRIOq5TqDvvXaZoMIi2dg3XR4KU9BSaJoFQ0LlCxhxrD1Ww5p42N
zU+RdpJbwKQAQ8GCr7MZWRauUKryqrxsmCWeHyzd9BNBvPFjnW9V7fKeJVGcdN4wfp2TWY4bE0g
vXYRsGPwJZkhxTjrcc0A3bOK6cGstclP5jn+mTRZMzb05Cucpu+vNSuKMsEogkHCaQpVPtFP3fu
YMLqAJEgPQrd0FEJw0fT9C8Qo0W8pg/hHR0Ztq7MFWG2scCB3abqJyy8rJWvfb8RhzaOIICFPMG
63HXfS8ARpClKoJ56PmJrnOAkJemregpAovXp2NKcWsXEz/jbja8
X-Received: by 2002:a05:6512:3182:b0:5bf:b93e:89f0 with SMTP id 2adb3069b0e04-5c170b746a9mr2783299e87.62.1794759265777;
Sun, 15 Nov 2026 08:14:25 -0800 (PST)
Sender: robomod@news.nic.it
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, ru-RU
Mail-Followup-To: Elven Inquisition <no.one.expects@faerie.me>,
debian-user@lists.debian.org
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832905
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/81ad6285-9207-4b9b-be5a-59187e8664f8@gmail.com
Approved: robomod@news.nic.it
Lines: 67
Organization: linux.* mail to news gateway
X-Original-Cc: debian-user@lists.debian.org
X-Original-Date: Sun, 15 Nov 2026 23:14:23 +0700
X-Original-Message-ID: <81ad6285-9207-4b9b-be5a-59187e8664f8@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>
X-Original-Sender: Maxim Nikulin <m.a.nikulin@gmail.com>