Hacker News new | ask | show | jobs
by xucheng 44 days ago
This incident somehow exposes another previously overlooked issue. I just notice that so many softwares vendor their own version of CA store for no particular reason [1][2]. It is relatively easy to patch system CA bundles. It would be quite challenging to patch every binary that embedded their own CA. As such, many systems will remain vulnerable for quite some times.

[1] https://github.com/NixOS/nixpkgs/issues/576475

[2] https://github.com/zimbatm/nix-cacert-scan

2 comments

There is a particular reason: Users are bad about keeping their servers up-to-date.

Try to distribute a program without an embedded CA bundle to any number of users, and after a week you will surrender due to the bug reports you receive because users are running 5+ year old system CA bundles, which are not sufficient for connecting to some of the most popular API endpoints out there.

> users are running 5+ year old system CA bundles, which are not sufficient for connecting to some of the most popular API endpoints out there.

Really?

I was under the impression that when a new CA starts operating, they get their certificates cross-signed by older CAs, to ensure their certificates work on older devices? Lets Encrypt did something like that [1] - although they started operating in ~2015, their certificate chain started with a root valid from October 2000 to October 2021 [2]

After all, many website operators want users to be able to connect even if they're using prehistoric Android versions.

You can access Wikipedia with Android 4.4 which was released 13 years ago [3] (although apparently not on the slightly older Android 4.3)

[1] https://letsencrypt.org/2015/10/19/lets-encrypt-is-trusted [2] https://scotthelme.co.uk/lets-encrypt-old-root-expiration/ [3] https://www.ssllabs.com/ssltest/analyze.html?d=en.wikipedia....

Applications thinking they should own the root of trust is one of my least favorite things in software. God help you if your IT department thinks they should MITM everything and now 8000 packages need there cert installed in some random location.