🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.security
Article #1

Re: DSA 6572-1 may be ineffective for systems installed w/ d-i from https

#1
From: Cyril Brulebois
Date: Thu, 22 Oct 2026 14:50
97 lines
5620 bytes
--oht4vev4un6s56pb
Content-Type: text/plain; protected-headers=v1; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Subject: Re: DSA 6572-1 may be ineffective for systems installed w/ d-i from
 https
MIME-Version: 1.0

Hi Max,

Max Vozeler <xam@debian.org> (2026-10-22):
> I just found this on a customer's systems, which were originally
> installed using d-i from an https mirror:
>=20
> /usr/local/share/ca-certificates contained copies of all CA certs from
> ca-certificates-udeb as of installation time, including the compromised
> "emSign ECC Root CA - G3" and "Comodo AAA Services root" certs.
>=20
> These will continue to be trusted even after upgrade of ca-certificates
> to the fixed version (!)
>=20
> I think this comes from:
> https://salsa.debian.org/installer-team/base-installer/-/blob/master/debi=
an/bootstrap-base.postinst?ref_type=3Dheads#L174
>=20
> 	# If we need SSL certificates, copy them in now.
> 	if [ "$PROTOCOL" =3D "https" -o "$mirror_protocol" =3D "https" ] && [ -d=
 /etc/ssl/certs ]; then
> 		if find /etc/ssl/certs/ -name \*.crt | grep -q .; then
> 			mkdir -p /target/usr/local/share/ca-certificates
> 			cp -a /etc/ssl/certs/*.crt /target/usr/local/share/ca-certificates/
> 			chroot /target update-ca-certificates || true
> 		fi
> 	fi
>=20
> Please check your /usr/local/share/ca-certificates and ensure that it is
> empty or only includes CA certs that you meant to put there.
>=20
> I haven't filed a bug on base-installer yet; I will try to that tomorrow
> if noone beats me to it.

Ouch. That seems to date back to the original implementation (all the
way back to 2014), so this isn't an exactly recent change/regression of
some kind=E2=80=A6

Somewhat good news (maybe): it seems the default deb.debian.org that's
getting offered still leads to an HTTP-only (not HTTPS) installation and
we don't hit that particular code path. So we're not talking about most
installations' being misconfigured/vulnerable in this way (if this
laptop installed with D-I Trixie RC 3 is indeed representative of Debian
13 systems).

Where and how to go from here isn't entirely clear to me at this point.

Wild guess, if we still need that manual copy/deployment in this
specific location, we could still have some kind of cleanup some
finish-install script, that would get rid of all files that are
(currently) shipped by ca-certificates, so that we only keep any =E2=80=9Cr=
eally
local=E2=80=9D certificates in there on the long run?

Also, maybe I could have caught that when I hacked together commits
ee95d8a89a0a and 7a79b4556436=E2=80=A6 :( Is deploying ca-certificates at t=
his
point sufficient to make the manual copy of the whole directory's
contents moot?

Help more than welcome!


Cheers,
--=20
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

--oht4vev4un6s56pb
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmraIkUACgkQ/5FK8MKz
VSD57g/8CNcNnlsqI9/vSTjMBcI7rsiPjnHCwdYnqC/n3npyuUK6oht54R526uQn
CczpxXDTpQ8WlOm3eDCc1Ee5iZN1jVsiTxxKPV3WPiNyS2OtobJYqwC8PyiaLRjK
gBzJ0AwbmkjyjntyrChNqaIa+HckmCeegJ3rB97bJb1u5kv1mxB9/4JlOh6qeXMt
7HQjtdlAgjwL8rFnLoJAY3DIZp5lhgm6B/2ibbwXLZ16coMFi8fUdSPlrcEaDVhq
0cUx72S5Cjk9C2SYOdl1vG2O2DvI8aLFc6Lo1kBt2kcDUrbzZoGsN4sYWg7xJ/CE
nA9Dh2lM0l3aFLn5f4ndmhWOqq9bNsjByGK5EYzUxynXG17Zr+8wCMiSePxZZTAt
HkwqeoY6oKJlI5hw7DhB/tAdqTSOgIBLabzgSLZKt+DSQOOk4Jta+XurM0WLdb1X
cXZDaKo6X5HN3EjJ/wrZownU3jZbsP/UabyomczidsUL6QnFcRar+OkucDggLfch
tVxCSNwESXbDSL2sRFgTez8AkENMCm+eBcrNStGzKhMarUYkgcZulmYteG/XS8WC
7FDEVG2xftwppK8NBy+ism2uNjeOfGoHAh5youehK2gNN3ehAz8xMXZ1pPOQv/mg
z9AMcvQYHwZWxe5LMCydoJH0qeLE8sk7kg5kiUYT8Zv+fV3ryoY=
=rrK8
-----END PGP SIGNATURE-----

--oht4vev4un6s56pb--
Technical Details
Message-ID: <NR2hb-7cpY-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NR1XP-7chD-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Cyril Brulebois <kibi@debian.org>
Newsgroups: linux.debian.maint.boot,linux.debian.security
Subject: Re: DSA 6572-1 may be ineffective for systems installed w/ d-i from  https
Date: Thu, 22 Oct 2026 16:50:01 +0200
Message-ID: <NR2hb-7cpY-1@gated-at.bofh.it>
References: <NR1XP-7chD-9@gated-at.bofh.it>
X-Original-To: debian-boot@lists.debian.org, debian-security@lists.debian.org, 
	security@debian.org
X-Mailbox-Line: From debian-boot-request@lists.debian.org  Thu Oct 22 14:49:04 2026
Old-Return-Path: <kibi@debian.org>
X-Amavis-Spam-Status: No, score=-4.729 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3] autolearn=unavailable autolearn_force=no
Organization: Debian
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="oht4vev4un6s56pb"
Content-Disposition: inline
X-Debian-User: kibi
X-Mailing-List: <debian-boot@lists.debian.org> archive/latest/223494
List-ID: <debian-boot.lists.debian.org>
List-URL: <https://lists.debian.org/debian-boot/>
List-Archive: https://lists.debian.org/msgid-search/20261022143425.GA6571@mraw.org
Approved: robomod@news.nic.it
Lines: 97
Sender: robomod@news.nic.it
X-Original-Date: Thu, 22 Oct 2026 16:48:40 +0200
X-Original-Message-ID: <20261022143425.GA6571@mraw.org>
X-Original-References: <atobRTV0o-y-Hz7g@dp.vpn.hinterhof.net>