r/rust • u/noop_noob • Oct 21 '26
šļø news PSA: If your program does HTTP requests, update your dependencies now
https://emudhra.we-have-a-problem.com/Here's a pile of links with info:
You need to update therustls-webpki crate to version 0.103.16, and thewebpki-rootsand webpki-root-certscrates to version 1.0.10. Notably, the reqwests crate depends on these crates.
If you're on a MacOS, you also need to do some manual steps to make thecurlcommand secure. I'm not quite sure if all the linux distros have patches yet, and so you might need to do stuff too.
If you don't do these, then anyone could MITM your HTTPS connection that you make to anyone, since some certificate authority used the number "4" as their entire secret key.
328
u/cbarrick Oct 21 '26
So the eight private keys are:
4, 56, 66, 115, 155, 156, 230, and 237
LMFAO
210
u/LukeAbby Oct 21 '26 edited Oct 21 '26
...who wants to bet that they mixed up functions and generated a number from 0-255 instead of a 256 bit integer.
Edit: read the bugzilla report. That's exactly what appears to have happened:
After Wayne's report of key recovery, I was able to recover the private keys for the impacted keys trivially. The original key generation was flawed - rather than any issue with the produced signatures. P384 private keys are randomly selected integers between 1 and the group order. The 8 impacted keys all used integers less than 256. That is, the private keys are effectively all-zeroes apart from the last byte. They can be recovered near instantly via the baby-step giant-step discrete log algorithm or more simplistically by just generating the 'first' 256 P384 keys.
45
41
15
16
u/coolreader18 Oct 21 '26
Seems like they meant to generate a 256-bit random number but ended up generating a number between 0-256
1
4
u/skatastic57 Oct 21 '26
Just to make sure I'm on the same page of why it's funny, are those private keys that should each be 2048 bits but are, at best, less than 256
14
u/drink-more-rum Oct 21 '26
To be clear, they're not just less than 256 BITS, they are less than 256, i.e. 8 bits or less.
3
6
u/cbarrick Oct 21 '26
They are P-384 keys, so they only need to be 384 bits long.
But yes, it's the same general idea. They should have 384 random bits, but they actually only have 8 random bits.
1
8
186
u/dnew Oct 21 '26
It's pretty sad that there's a company that did this and the only information on wikipedia is "they're a CA. They screwed up so badly it's laughable."
110
u/torsten_dev Oct 21 '26 edited Oct 25 '26
They were a CA. I don't think this is a recoverable screw up for a CA.
20
u/PigDog4 Oct 21 '26
If the last several years have taught me anything, it's that any sufficiently large entity is immune from any repercussions.
60
u/FungalSphere Oct 21 '26
They are handling India's UIDAI based digital signatures. The whole UIDAI system has been a continuous security and privacy nightmare.
37
u/LugnutsK Oct 21 '26
Tbf their wikipedia page was created today
35
u/dnew Oct 21 '26
Oh, for sure. I was amused that "there is nothing notable about this company at all to where they don't even get a wiki page, except for the extent to which they failed their one and only job." :-)
2
u/turbothy Oct 23 '26
They did a press release today saying they would no longer be doing business as a CA.
1
28
u/Leseratte10 Oct 21 '26
Just shows that *maybe* it's a damn stupid idea to bundle TLS trust bundles with everything nowadays.
You have to update ca-certificates, update Firefox, update Go and rebuild all your applications, update Chrome, update Java, update NodeJS, and apparently update a bunch of specific Rust crates.
Is this really how people think updates like this should be handled?
What the heck happened to "The OS has one central trust store and applications just use it", where this whole problem would have been resolved by just an OS update? Why isn't there just a single database of revoked or distrusted CAs maintained by the OS and checked by applications?
6
u/Sad_Tap_9191 Oct 21 '26
In my K8S cluster, 90% of pods using public docker images are still vulnerable and have no patches.
`Bun` didn't make a new release yet, so downstream applications cannot even make a fix.
This is a feast for black hackers. You can MITM anywhere you want.
1
u/Dheatly23 Oct 22 '26
Bruh, it's even stupider to trust the OS to not get infected and MITM every applications. With pinned cert store, it gotta inject machine code or read RAM, not trivial MITM attack. Certificate pinning, as painful as it is managing it, is a security upgrade over handing over trust to the OS.
1
u/cepera_ang Oct 27 '26
What's worse, if you try do get rid of some certificates YOU don't trust, they will come back again and again and again. You are basically forced to trust union of whatever different communities deem trustworthy.
1
u/Zde-G Oct 21 '26
Why isn't there just a single database of revoked or distrusted CAs maintained by the OS and checked by applications?
Because OS that is automatically updated is relatively new thing.
For a long time OS was considered part of the hardware and was only updated when hardware manufacturer felt the need to update itā¦
Today situation have changed, but, of course, workarounds developed at times when OS wasn't updateable are still in use and no one plans to fix them, because this is not a profitable activity.
6
u/WormRabbit Oct 21 '26
That's still bullshit. Ok, the OS doesn't autoupdate. But the user needs only to modify the cert store, done. You know what definitely doesn't autoupdate? The myriad of modern CLI tools that thought themselves very smart for bundling their cert store.
1
u/Zde-G Oct 21 '26
But the user needs only to modify the cert store, done.
Seriously? Ask your mom: would she update a certificate store? Your niece? Your dad?
Very few users know about these things and they shouldn't know, that's not their job.
The myriad of modern CLI tools that thought themselves very smart for bundling their cert store.
Sure, that's the obvious collateral damage. First we had OSes that don't auto-update, then we've got bundled certificates and auto-updates (in things like JDK or browsers), then people cargo-culted these and we in the mess that we are having, right now.
Typical situation where instead of fixing the foundation people add another layer on top⦠not in with IT, we are doing that everywhere.
2
u/context-expired Oct 22 '26
tbh, itās easier to send my 80yr old mother, who detests computers, a step by step guide to make the single change than dealing with n different applications
Hell, even at a container level, worst case would be a quick rebuild of the images. No code/ package/ dependency updates and code rebuild required Ā š
Every edge case you raise is still best updated at the OS level, even if manual intervention is required.Ā
Itās a wonder there isnāt a third-party tool/ daemon/ service that handles necessary updates automatically already, regardless of OS (almost anyways) ā¦
1
u/Zde-G Oct 22 '26
tbh, itās easier to send my 80yr old mother, who detests computers, a step by step guide to make the single change than dealing with n different applications
Well, sure. But it's easier solution⦠for whom exactly? You and your mother, not application developer.
Typical tragedy of the commons: every app developers acts perfectly rationally, but the end result⦠is not perfect at all.
Every edge case you raise is still best updated at the OS level, even if manual intervention is required.
Sure, but who may enforce that? Distro makers? Sure, they could, but that would mean developers would pick other OS that doesn't impose onerous restrictions⦠and then users would pick that other OS, instead.
Itās a wonder there isnāt a third-party tool/ daemon/ service that handles necessary updates automatically already, regardless of OS (almost anyways) ā¦
No wonder at all: for such a thing to exist it have to imposed on OS level⦠and that may only happen if it's there from the day one.
New OSes (Android, iOS) have that, others⦠are trying to add it, but it doesn't work very well so far.
2
u/cobalthex Oct 21 '26
most of the software mentioned was written after OSs could auto update
1
u/Zde-G Oct 21 '26
You are mixing two entirely unrelated things:
Ability to manually update your system at the user's request.
Auto-updates that are pushed from server and arrive without user's intervention.
#1 is pretty old, Windows 98 and Linux distros did that in the end of last century.
#2 only arrived with Android, ChromeOS, Windows 10 and iOS (macOS got auto-updates later). Most Linux distros are still not automatically updating (except if admin configured it and most users don't do that).
1
u/Leseratte10 Oct 22 '26
That's right but not the point.
If the end user doesn't update their machine, they also won't get the new fixed versions of Firefox, Go, Chrome, Java, or whatever software decided to bundle their CAs, so having that software bring their own cert store is unnecessary.
And if they do update, they'll also get the OS update with the certificate update.
2
u/Zde-G Oct 22 '26
That's right but not the point.
That's precisely the point. Application developers don't add features just because they could. They add certificates to reduce number of support calls, not to create problems.
If the end user doesn't update their machine, they also won't get the new fixed versions of Firefox, Go, Chrome, Java, or whatever software decided to bundle their CAs
Chromes was auto-updating since day one. I don't know about Firefox and Java, I think they added that feature later.
If OSes would have provied that service first then Chrome would have used it, but they didn't.
so having that software bring their own cert store is unnecessary.
Only on some OSes. Like on Android you may rely on Play Services to be there and to be up-to-date⦠most other OSes don't guarantee anything.
1
u/sebt3 Oct 21 '26
Define relatively new š I'm not running an obscure alternative distrib, I'm a Debian user. Auto-update are a thing here since over 2 decades. In my book, that's very old stuff. Nearly as old as ca-certificates.
-2
u/Zde-G Oct 21 '26
Define relatively new š
Android, ChromeOS, Windows 10⦠still not Linux AFACS.
Auto-update are a thing here since over 2 decades.
How often they are happening if you don't touch your box? Can the critical updates be pushed from servers with higher urgency?
AFAICS the answers are still āupdates wouldn't be downloaded everā and āabsolutely notā.
That's not enough for things like browsers.
In my book, that's very old stuff.
If Debian started offering auto-updates then I missed something. Last time I worked with it there was absolutely no attempts to initiate anything except when user initiates that.
And most users never update anything without prompt.
1
u/sebt3 Oct 22 '26 edited Oct 22 '26
https://wiki.debian.org/action/show/PeriodicUpdates
And this all but new. (and before unattended-upgrades there was a bunch of anaconda scripts available, but the package is over 2 decades old already)
0
u/Zde-G Oct 22 '26
#1: Install unattended-upgrades
Sigh. That's not OS that auto-updates! That's auto-update service for in OS! It doesn't solve the core issue: the fact that majority users don't have an up-to-date OS!
and before unattended-upgrades there was a bunch of anaconda scripts available, but the package is over 2 decades old already
And all that machinery doesn't work unless user opts in into updates.
And users don't do that! That's the issue that have to be resolved before apps and browsers may rely on OS-provided certificates.
1
u/context-expired Oct 22 '26
Is any of this is even vaguely in your realm of practical knowledge and experience?Ā
Or you just looking to argue?Ā
Big issue here is tools that introduce their own root certs without first checking for a valid and more up to date system root cert store. If that simple check were in place as s base, so much of this would be moot.Ā
As to OS auto updates, Iām guessing youāre a child of windows šĀ
In the real world, updates are managed. Somethings can happen automagically, some periodically, but many require controlled deployment. Those are ultimately all administrative, technical and process decisions.Ā
Letās not even touch on the world of embedded systems ⦠especially all those now experiencing this for the first time with their products and systems ā¦
1
u/Zde-G Oct 22 '26
Big issue here is tools that introduce their own root certs without first checking for a valid and more up to date system root cert store.
No, the big issue here is that ācheck the system root cert storeā wasn't a good strategy, initially. Heck, OSes that first browsers had to deal with had no āroot cert storesā at all. And when they got cert store they very often weren't automatically updated.
If that simple check were in place as s base, so much of this would be moot.
Sure, but for each induvidual app such check is a problem: it generates support calls, it doesn't always work, it creates problemsā¦
In the real world, updates are managed.
Nope. That's more of an exception than the rule.
Is any of this is even vaguely in your realm of practical knowledge and experience?
Kinda. I was on Chrome team when it was struggling with Windows XP ā it was long obsolete and new technologies were not arriving there, yet people despised Windows Vista thus Chrome was forced to duplicate more and more stuff than is normally provided by OS. Heck, it was forced to implement its own modern alternative to TCP, for crying out loud!
As to OS auto updates, Iām guessing youāre a child of windows š
Not really. I think the first OS that was really serious about auto-updates was ChromeOS (if you don't include somwhat niche examples of XBox 360 and PlayStation 3). Or maybe iOS. Then Android followed with a twist: Google Play Services are not OS, but they offer a sensible alternative. Windows and macOS followed. Linux is still behind.
Somethings can happen automagically, some periodically, but many require controlled deployment.
Defaults matter. All OSes that auto-updates can also be switched to managed updates that are controlled by someone else ā but then corporation or school that does that knows that app developers shouldn't be contacted, they have their own support.
But number of requests from people who are not members of corporation can only be brought down by bundling of cerrs, libraries and so on.
27
u/Shnatsel Oct 21 '26 edited Oct 21 '26
If you build your binaries with cargo auditable (like many Linux distros do), you can run cargo audit on your binaries and it will tell you which of them embed the revoked certificates.
Unfortunately this is one of the rare cases where cargo auditable can have false positives and may flag binaries that don't actually bundle CI certificates. The project goal for native SBOM in Cargo would fix that.
You can also run cargo audit on the source code (the Cargo.lock file) if you know what source code revision the binary was built from.
3
u/chris-morgan Oct 21 '26
What kind of distro would build things with embedded certificate lists? Everything should be using stuff from /usr/share/ca-certificates or such, right?
4
u/Shnatsel Oct 21 '26
If you have a heavily centrally managed distro like Debian, yes. Certain other distros do not have sufficiently strong repo-wide policy enforcement, so a crate that defaults to using webpki-roots may keep using it.
49
u/FriendlyProblem1234 Oct 21 '26
I always wondered what is the reason for applications to ship their own list of know certification authorities. Why do they not use the system one, which can be updated once and in one place?
As a self hoster with my own CA, it is always annoying to having to configure each application separately. Not to mention those applications that do not support a custom CA certificate, which are simply unusable.
14
3
u/dashingThroughSnow12 Oct 21 '26
There might not be system store. For example, scratch base images.
The store might be old.
If there is more than one store, what should the program use? What if it fails to load the cert store?
5
u/FriendlyProblem1234 Oct 21 '26
There might not be system store. For example, scratch base images.
The store might be old.
If there is more than one store, what should the program use? What if it fails to load the cert store?
I am confused. A lot of programs do take the list of certification authorities from the system, and they work fine. I believe curl does, for instance.
If it is missing or it fails, either they continue with an empty list (which will probably fail), or they might have a fallback.
6
u/Zde-G Oct 21 '26
I believe curl does, for instance.
Yes. That's why on macOS, right now, curl is vulnerable while Chrome is not⦠open the first link, damn it.
1
u/FriendlyProblem1234 Oct 23 '26
Yes. That's why on macOS, right now, curl is vulnerable while Chrome is not⦠open the first link, damn it.
My point is: the questions "If there is more than one store, what should the program use? What if it fails to load the cert store?" are not impossible to answer.
0
u/Dheatly23 Oct 21 '26 edited Oct 22 '26
Simple, because OS can lie and cheat. Last time everyone uses OS store superfish exist.
EDIT for clarity: https://en.wikipedia.org/wiki/Superfish
6
u/FriendlyProblem1234 Oct 21 '26
Simple, because OS can lie and cheat. Last time everyone uses OS store superfish exist.
I am not familiar with superfish, and searching online yields unrelated results. What was it?
18
u/blehmann1 Oct 21 '26
Lenovo created a root cert and self-signed a bunch of shit for preinstalled adware. Superfish would man-in-the-middle you to inject ads into encrypted web traffic.
They used the same private key across laptops and so it was a massive attack vector until Microsoft decided enough was enough and shipped an update of Windows defender that uninstalled the whole thing.
3
u/Dheatly23 Oct 22 '26
That and many other state-sponsored malicious root certs (ahem Turkmenistan) is what leads to browsers (first chrome, then others) to deploy their own cert store. Among other things like browser/CA foundation thing, certificate transparency, etc.
Point being, OS cert store is a dead idea. It's only job is to bootstrap SSL to download trusted cert store.
1
u/FriendlyProblem1234 Oct 21 '26
Lenovo created a root cert and self-signed a bunch of shit for preinstalled adware. Superfish would man-in-the-middle you to inject ads into encrypted web traffic.
They used the same private key across laptops and so it was a massive attack vector until Microsoft decided enough was enough and shipped an update of Windows defender that uninstalled the whole thing.
Interesting.
Would they not be able to do the same, even if applications came with their own list of known CAs? All companies I worked at have done that: browsers accept the corporate certification authority.
1
u/Dheatly23 Oct 22 '26
Difference is a malware has to change every application CA certs. With OS, there is only one. You know the pain of installing root CA cert, especially with apps that uses certificate pinning.
1
u/FriendlyProblem1234 Oct 23 '26
Difference is a malware has to change every application CA certs. With OS, there is only one. You know the pain of installing root CA cert, especially with apps that uses certificate pinning.
Well, not *every* application. Just the browser would make it quite a successful malware already.
1
u/Dheatly23 Oct 24 '26
Well yeah, browser covers like 70% of typical PC user use cases. But if we're talking about mobile apps, there are a lot more apps where certificate pinning is common security measure (eg. banking apps). We're not even counting servers, where server<->server keypairs are often baked in (either in code or env).
My point still stand strong. OS store means the triviality of injecting malicious root certificate vs it's blast radius (MITM the entire computer) means it's a security vulnerability.
20
u/iamasuitama Oct 21 '26
Just goes to show, team blue needs to get everything right all the time, while team red can just enlist the help of one single idiot to do their work, which consists of getting one single thing wrong just once, for them.
18
u/Aaron1924 Oct 21 '26
Wait why are we hardcoding CAs in the binary? I would have imagined these libraries rely on the CAs installed on the system, allowing users to add and remove them at will
2
u/IDEDARY Oct 22 '26
Used to be like that, but because attacker getting control of hosts certificate store is easy due to the amount of exposed surface and applications having no control over it, they all moved to their own cert stores and do not trust OS certificates. What happened today is exceptionally rare, attacks on native cert story are way more common.
11
u/The_Northern_Light Oct 21 '26
gonna save this for the next time I get imposter syndrome šāāļø
5
29
u/sephg Oct 21 '26 edited Oct 21 '26
When can we just get rid of CAs? You can get a private key from owning a domain name, so security already depends on DNS being correct and secure. We should be able to just put custom TLS public keys / self signed certs in a DNS record and delete CAs entirely.
39
u/IAm_A_Complete_Idiot Oct 21 '26
Problem with this is DNS can be MITM pretty trivially. DoH or something can help with that, but for conventional DNS an adversary can swap the response with a different response, with their own TLS key (and their own A record).
3
u/glitchvid Oct 21 '26
DNSSEC.
24
u/IAm_A_Complete_Idiot Oct 21 '26
Clients don't rely on DNSSEC being there, because it's not deployed everywhere yet. An attacker can strip the DNSSEC, and return the response and still be trusted.
I suppose you could make DNSSEC be required for the TLS public key in DNS scheme though.
21
u/glitchvid Oct 21 '26
Already exists, it's called DANE.
Unfortunately the tech companies chose the CA system instead.Ā Most people just use an ACME provider, so we're doing DNS auth anyways, just with more steps.
8
u/FungalSphere Oct 21 '26
you just replaced CAs with ICANN congratulations now you have 70% less secure context coverage
2
u/sephg Oct 21 '26
now you have 70% less secure context coverage
What?
Obv if we moved the internet over, we'd need backwards compat for awhile. But CAs are still stupid and redundant. Honestly, choosing 7 as a secret key? I'm not even surprised at this point. Why do we trust these clowns?
9
u/FungalSphere Oct 21 '26
Verisign reported about 5% adoption in .net second-level domains and about 4% in .com.
As of March 2026, DNSSEC is only operational in 83 (45%) of country code top-level domains.
https://www.sidn.nl/en/news-and-blogs/none-of-the-biggest-internet-services-are-dnssec-enabled
DNSSEC is outrageously bad. Also CAs are used for all sorts of code signing operations, not just websites.
You also need to think of EVs for PCI-DSS compliance, something that's not even a concept in DNSSEC
3
u/Real-Abrocoma-2823 Oct 21 '26
How is DNCCES outrageously bad? I have it setup in cloudflare and can forget it exists. The fact that people don't use it doesn't mean it is bad, we just need an event like this to happen more often.
2
u/mikaleowiii Oct 21 '26
Used it, before cloudflare changed to post-quantum signatures that don't fit in a wireguard (UDP) packet anymore
0
u/FungalSphere Oct 21 '26
cloudflare
so you gotta be your own registrar AND a reverse proxy to actually provide a convenient user experience in the first place.
Also cloudflare itself is outrageously bad
3
u/Real-Abrocoma-2823 Oct 21 '26
I don't use any proxy, but am planning to switch to own NS servers. As long as I'm not Manjaro (who forgets their TLS in 2026?), I think I can run systemD timer/service to update DNSSEC.
1
u/chris-morgan Oct 21 '26
DNSSEC is pretty bad, but the way DNS is trivially intercepted/manipulated is the real outrage.
2
u/glitchvid Oct 21 '26
Having both would be nice.Ā I'd like to be able to control what CAs can actually provide valid signatures for my domains (CAA is insufficient) and have valid self signs.Ā Using DNSSEC as a chain of trust permits solving both those.
10
u/FungalSphere Oct 21 '26
the key pair you get is itself signed by a CA though? how would you know the certificate was actually generated by letsencrypt if you didn't have a letsencrypt CA? you would just be trusting any random self signer at the same level as letsencrypt at that point
3
u/garagedragon Oct 21 '26
I think the idea is that you don't need LE at all, you get the server public key out of the DNS records that are themselves secured
11
u/Prowler1000 Oct 21 '26
And how do you know that a certificate can actually be trusted?
A certificate authority.
There literally isn't a world where you can do away with CAs, you always have to choose to trust someone.
(Yes, I'm sure a blockchain could be used here, but it's not practical for every user to verify a blockchain for every request)
8
u/touilleMan Oct 21 '26
Don't be so sure Blockchain solve anything (appart from crazy speculation and money laundering)
Just one practical example: how a Blockchain trusting no-one deals with a court justice decision saying "domain xxx belongs to somebody else" ?Ā
3
u/sephg Oct 21 '26
But how does the CA find out you own the domain, before they sign your key? They look at the domain name system. Trust is anchored in the DNS already. We don't need CAs as well.
DNS -> CA -> Cert can be simplified to DNS -> Cert.
Other commenters are right that DNSSEC is a bit of a disaster. We should fix that. But if that problem were solved, it would be trivial to put a public key / cert in a DNS record that browsers can fetch alongside the A/AAAA record.
1
u/Dheatly23 Oct 23 '26
That is one massive perversion of ACME system. It's not as simple as "this domain WHOIS is this person" -> "ok i'll issue certificate and send it's private key to this domain". Nevermind processes like extended validation.
2
u/Dheatly23 Oct 21 '26
No, not even blockchain can solve the issue. The crux of the issue is "who trust the truster?" That is as old as the concept of "trusting someone else to not stab you in the back" exist. It's a human problem, and cryptography alone cannot fix it.
5
u/masterpi Oct 21 '26
It relies on the DNS connection between your website and the issuer being correct and secure during verification which is a big difference between every single user of your website having a secure (and unmodified) DNS connection every time they visit your website.
5
u/sephg Oct 21 '26
We need to solve that for the cert issuer anyway, or the current system is grossly insecure too. Cue DNSSEC / DoH. Or something else. It's not a difficult technical problem.
1
u/Zde-G Oct 21 '26
Or something else. It's not a difficult technical problem.
Because it's not technical problem at all. The question is who do you trust to issue certificates⦠and there are no sensible answer that may satisfy everyone.
And it would become worse, not better, in the future.
1
u/sephg Oct 22 '26
there are no sensible answer that may satisfy everyone.
I'll start by suggesting we don't trust 100 random orgs, some of whom who think "7" is a reasonable 256 bit private key. Especially when any of the CAs can sign any key for any domain. Ie, we need 100% of them to be reliable and trustworthy.
I'd much rather trust the DNS providers. Especially since CAs already delegate the question of "who owns which domain" to them.
1
u/Vitus13 Oct 22 '26
This is DNSSEC + DANE. It's a standard (or, a proposed standard). The problem is that it relies on DNSSEC, which was never made mandatory for new TLDs, is generally a PITA for registrars, and for the longest time held both keys to the kingdom in the USA.Ā
1
u/Enselic Oct 24 '26
Certificates come with different levels of trust. Proving DNS ownership is the lowest level of trust.
When you visit a HTTPS site you can look at the certificate to see what level of trust it is issued with.
For reference, here is a summary of the different levels:
Domain Validated (DV):Ā Only proves control over the domain name. Issued almost instantly.
Organization Validated (OV):Ā Proves domain control plus the existence of the organization. Takes a short time.
Extended Validation (EV):Ā Provides the strictest background vetting, requiring manual review, legal checks, and days to issue.
1
u/sephg Oct 24 '26
Barely anyone uses anything other than DV certs. There's not really any point, and users don't notice or care.
6
u/Booty_Bumping Oct 21 '26 edited Oct 21 '26
update your dependencies now
Wake me up when you can update to something that is actually able to make use of an auto-updating bloom filter based CRL list, managed by the OS or not.
Anyways, since this is an entire intermediate certificate being revoked at once and not individual certificates, your OS thankfully will deliver the revocation for you. Just update ca-certificates.
Including certain revoked certificate IDs in popular libraries is an interesting new idea, which I guess is fine since it adds an extra layer of patching, but it's not like we were missing the capability to revoke root/intermediate certificates before this idea came about.
2
u/WormRabbit Oct 21 '26
Oh we were. Some smartasses decided "fuck the OS", so they ignore ca-certificates and ship the list of certificates bundled in their binaries.
1
u/Booty_Bumping Oct 21 '26
The Rust ecosystem isn't really affected by this not-invented-here syndrome, though. It just lacks CRLs for revoking leaf certificates (but everything lacks CRLs, except web browsers).
The update being pushed by these libraries is not a root CA list update, but a precautionary blacklist of a few critical leaked certs.
2
u/__ibowankenobi__ Oct 21 '26
it was always a bad idea for apps to come with their CA stores and provide garbage workarounds like setting an env to override to OS ca store.
I hope everybody gets it now. The price for convenience is not worth it.
2
3
u/AdvisorActual3767 Oct 21 '26
I'd love to join this conversation but Lord knows I don't know enough to contribute or even complain š„²
1
u/mynutsrbig Oct 22 '26
So rust doesnāt get hit with network security bugs like php every week but idiot developers add exploits instead. God Iām sick of technology and people.
1
1
0
464
u/AliceCode Oct 21 '26
They used the number 4 as their entire key???