Apple's git still trusts the compromised eMudhra certificates

galadran 1091 points 385 comments October 28, 2026
emudhra.we-have-a-problem.com · View on Hacker News

Discussion Highlights (20 comments)

aaomidi

This file is used by a bunch of CLIs. Apple is fundamentally dropping the ball here from a security perspective.

davidcollantes

Running (uname -a) Darwin arrakis.local 27.2.0 Darwin Kernel Version 27.2.0: Wed Oct 14 23:47:07 PDT 2026; root:xnu-13432.41.4~25/RELEASE_ARM64_T8132 arm64, I get the following for both: curl: (60) SSL certificate OpenSSL verify result: unable to get local issuer certificate (20) More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the webpage mentioned above.

InsidiousWombat

That's disingenuous title It should be "Apple still ships compromised CA in /etc/". Git is just a victim like every other app using system CA

qaz_plm

Apple’s statement: https://support.apple.com/en-us/149555

cromka

Things like this is why I moved back to Linux after 10 years on macOS.

paaloeye

> Anyone can intercept any HTTPS connection these tools make. yeah, it's not ideal but the scale of the threat is way overblown tbh. You have to compromise a lot to be able to make a MITM here. Let's not treat it like PHP2Shell.

kd913

They just released MacOS 27.2 a few days ago? How and why did they not do a patch at least then?

chrisweekly

Right, so it's not just git, it's a bunch of system-provided utilities; macOS trusts bad certs, and these utils that trust the OS are affected. I use homebrew for my git and curl but haven't yet checked to confirm whether that matters here. Kind of outrageous that Apple's guidance is to edit the cert chain manually, and to expect that subsequent OS updates may revert your mitigation, reintroducing the vulnerability (as happened at least once so far).

kqp

Can we get a title edit? OP’s title implies this is a Git bug, but the bug applies to half of macOS, including curl, openssl, python, perl, and ruby, and to only the macOS version of Git. The original title is less misleading, but personally I’d have titled it something like “macOS still trusts the compromised eMudhra certificates in git, curl, openssl, python3, perl, ruby, more”.

6thbit

There must be a long list of things that aren’t fully patched for this yet, on laptops, on servers. Think of packages that ship their own trust anchors, isn’t there a rust crate that compiles with some root certs embedded? On one hand there’s unmaintained packages that won’t update dependencies. On the other hand, fixed dependencies did not necessarily backport to all possible versions in the wild, making update as a fix unviable for those.

WesolyKubeczek

Doesn’t macOS have a way to generate cert.pem from the keychain?

altcognito

I'm not that familiar with the MacOSx system, but do they have a "minor" update path that I'm not aware of? It seems that everything is an 8gb update. Is that why this update isn't getting put out?

__MatrixMan__

If you're not already in the habit of contacting your git remotes over ssh, its probably one worth building. This is gonna keep happening.

bcvvvy

I have been wondering recently if Apple are bothering to maintain the Unix side of the OS. Seems like they occasionally remove or deprecate stuff but don’t put any serious effort into maintenance. This is just another one of those smells.

biglyburrito

https://support.apple.com/en-us/149555

jrochkind1

That MacOS hasn't removed from OS-level /etc/ssl seems like a big deal, affecting more than just OS-supplied git. Is /etc/certs not used by most graphical Mac software, I guess? The chaotic state of OS-level cert management, on Linux as well, is pretty dismaying. If Apple is still trying to brand themselves as security-forward, you'd think removing the revoked CA certs from /etc in a system update would be a pretty easy thing to do?

franktankbank

What would cause this delay from apple? Is there something behind the scenes that can explain it?

paaloeye

Albeit helpful, the site is kinda cringe. It leaves a bad taste in my mouth knowing that the author is affiliated with Mozilla. Of course they would throw shades at Apple. That being said the situation isn't ideal and I'm sure Apple would have shipped an update if it were easy and warranted.

thought_alarm

Delete /etc/ssl/cert.pem and replace it with the one from MacPorts. # /usr/bin/curl https://dv-g3b-aaa-noct-emudhra.we-have-a-problem.com/ Your client successfully connected to the site. That's bad! # sudo mv /etc/ssl/cert.pem /tmp/ # sudo ln -s /opt/local/libexec/openssl3/etc/openssl/cert.pem /etc/ssl/cert.pem # /usr/bin/curl https://dv-g3b-aaa-noct-emudhra.we-have-a-problem.com/ curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.se/docs/sslcerts.html

ltbarcly3

Microsoft had a small golden age with Azure and Windows 10, and now they are going right back into a Vista-era-like rot. Github is down an awful lot. The reliability is worse than the product I work on for work by like 2 orders of magnitude and we have no ops team. It's a joke. Windows 11 is awful, lots of the fixes and modernization started in windows 10 has totally stalled, leaving users with 5 different places to change a setting instead of the one old place or one new place. Look how many different UI's there are to adjust sound card / sound settings or display settings. It's a complete mess. Their attempts to jump into the AI game have been a complete joke, despite already having integrated Cortana years ago. Putting Cortana on an llm is such an obvious thing to do, and they already did so much work to make that fully integrated into windows and force it on everyone even though it was trash, and now it's still trash and they don't seem to be able to adapt at all. Now they can't respond to a complete insecurity in one of their major products in weeks? Why do they even validate certs? Why doesn't revocation work in their app? I don't think they can really be trusted at this point.

Semantic search powered by Rivestack pgvector
10,874 stories · 102,635 chunks indexed