228 points galadran 2 hours ago 91 comments
aaomidi 1 hour ago | parent
davidcollantes 1 hour ago | parent
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.jpitz 1 hour ago | parent
davidcollantes 52 minutes ago | parent
microtonal 18 minutes ago | parent
$ uname -a
Darwin MacBook 27.2.0 Darwin Kernel Version 27.2.0: Wed Oct 14 23:47:21 PDT 2026; root:xnu-13432.41.4~25/RELEASE_ARM64_T6030 arm64 arm Darwin
$ which curl
/usr/bin/curl
$ curl https://dv-g3b-emudhra.we-have-a-problem.com/
Your client successfully connected to the site. That's bad!davidcollantes 12 minutes ago | parent
lukasgelbmann 21 minutes ago | parent
InsidiousWombat 1 hour ago | parent
It should be "Apple still ships compromised CA in /etc/". Git is just a victim like every other app using system CA
okr 1 hour ago | parent
(on linux you always have the update-ca-certificates command that downloads the root certificates from a trusted™ source. but sure, it will not help, if each command starts to bring their own ca package :)
Zambyte 55 minutes ago | parent
mschuster91 50 minutes ago | parent
That is unequivocally bad, similar to Java which ships its own keystore.jks and many applications shipping its own copy on top of that. True nightmare fodder.
WesolyKubeczek 15 minutes ago | parent
mschuster91 12 minutes ago | parent
At least for that, in $OLDJOB I went and created a new keystore.jks myself to account for an internal CA, so my successors can just update that file, restart the containers and that's it...
sscaryterry 1 hour ago | parent
broken-kebab 1 hour ago | parent
Liquid_Fire 1 hour ago | parent
In reality it's macOS shipping the outdated certificates, and it affects various other command-line tools, like Curl.
boxed 55 minutes ago | parent
publlus_enigma 1 hour ago | parent
smithofsmiths 1 hour ago | parent
"Ten days later, Apple Image Viewer on macOS still trusts the compromised eMudhra certificates" doesn't sound as catchy, but is equally correct because the apps use system CA.
JoBrad 1 hour ago | parent
Pretty disappointed that Apple hasn’t pushed out an emergency patch to address this, though.
qaz_plm 1 hour ago | parent
davidcollantes 1 hour ago | parent
On Mac, some command-line tools included with macOS or the Xcode Command Line Tools (including curl, git, python3, ruby, perl, and openssl) check certificates against /etc/ssl/cert.pem. For certificates that chain to a root CA certificate in this file, these tools don't check Apple's block or whether the certificate has been revoked. This file will be updated in a future macOS update. If you use these tools and don't want to wait for the update, you can remove root CA certificates from the file.ChrisRR 1 hour ago | parent
MomsAVoxell 1 hour ago | parent
The writing is on the wall for the command line tools.
(We can already see this tooling devaluation happening all over the place. Apple have their variant of this response to the AI tooling-paradigm tsunami…)
JoBrad 1 hour ago | parent
MomsAVoxell 52 minutes ago | parent
I’m not saying they’re going to deprecate XCode today, but I do believe they will “agent’ize” Developer Tooling drastically in the next year or so. Agents are becoming the most important user of command line tools.
Because they have to, in order to catch up with NVidia, their only real competition. If you want to understand why I think that, its because I have been developing and deploying cross-platform Linux-centric (but MacOS and Windows targeting) applications, mostly for the ARM platform but also with Intel (SIMD on both) .. for the past few months, and I haven’t touched an IDE in a month. On DGX Spark. Which turns out is a truly, utterly, mind-blowingly great platform to do cross platform high performance application development…
pasc1878 39 minutes ago | parent
CLI is just a thing that NeXT had and even that made it easy to use GUI tools.
Xcode is a GUI tool – it happens to expose some cli tools but they could be covered up – however some developers would complain a lot so I don't see that happeneing.
HFguy 1 hour ago | parent
MomsAVoxell 54 minutes ago | parent
The original question is, why aren’t Apple fixing the CA problems for the command line tools (whereas they have done it for .app’s such as Safari), and the reasoning is, because the user will just have to fix it themselves, because Apple don’t care about the command line users - they see that these command line tools are, indeed, becoming the front-line for agentic development, so .. presumably, they have an .app bundle which does away with this problem, to be shipped on the horizon ...
ilvez 59 minutes ago | parent
zf00002 37 minutes ago | parent
ratorx 1 hour ago | parent
This is technically a problem in the CLI - it needs to support revocations properly, not rely on root CA verification only. I’m not sure though whether there’s a standardised mechanism (that Apple supports) for CLIs.
> These steps affect every tool that uses /etc/ssl/cert.pem. Afterward, tools that use only this file might not be able to verify some websites whose certificates chain to these root CA certificates through intermediate CAs that weren't affected.
matharmin 58 minutes ago | parent
ChrisRR 45 minutes ago | parent
ratorx 41 minutes ago | parent
So the only way to fix apps that don’t handle revocation of intermediates (eg the ones that only look at certs.pem) is to revoke the root.
brewmarche 38 minutes ago | parent
Not sure why macOS doesn’t ship such a build of curl.
teki_one 47 minutes ago | parent
bestouff 1 hour ago | parent
ChrisClark 1 hour ago | parent
cromka 1 hour ago | parent
petcat 1 hour ago | parent
bawolff 50 minutes ago | parent
I don't think its wise to make current security decisions based on screw ups from almost a decade ago.
petcat 46 minutes ago | parent
I don't really care one way or another. I use Linux and I use macOS. But I'm not naive to think the security is any better in one or the other.
fg137 37 minutes ago | parent
I don't see the point of being so fixated on that.
petcat 30 minutes ago | parent
baobabKoodaa 46 minutes ago | parent
simondotau 45 minutes ago | parent
efficax 26 minutes ago | parent
usef- 47 minutes ago | parent
kobalsky 18 minutes ago | parent
If that's the worst you have against Linux then it looks like it has done very well.
boxed 55 minutes ago | parent
simondotau 51 minutes ago | parent
1970-01-01 20 minutes ago | parent
paaloeye 1 hour ago | parent
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.
mschuster91 57 minutes ago | parent
It's trivially easy to mount an ARP spoofing attack. I did that at school two decades ago and on-the-fly rewrote <img src=...> to hardcore porn images for funsies.
mitmproxy [1], a popular toolkit for making that easy, has the option to generate "eMudhra" certificates on the fly now.
It is trivially easy to compromise things, all you need is physical access to the network.
paaloeye 54 minutes ago | parent
yeah, it's trivial to punch somebody in the face in the morning, all you need to do is to be by their bad in the morning when they are waking up.
bawolff 52 minutes ago | parent
Physical access to networks isn't that hard to come by.
paaloeye 46 minutes ago | parent
Regardless, real bad actors are busy compromising your next `npm install` anyway. Much better reward.
mschuster91 48 minutes ago | parent
sersi 46 minutes ago | parent
treesknees 38 minutes ago | parent
If you get past all of that, you still need a victim who is actively using a cli tool on macOS using https.
It’s not impossible, but the conditions are much more specific than those needed to inject porn into a webpage on a poorly configured school network in 2006.
raverbashing 17 minutes ago | parent
Yeah that's not so much "trivially easy"
breakwaterlabs 12 minutes ago | parent
I hazard that the answer to all three of those is "yes".
rekoil 50 minutes ago | parent
I agree it's not PHP2Shell, but its certainly not being "way overblown" here.
1718627440 7 minutes ago | parent
dspillett 50 minutes ago | parent
It may not be directly exploitable on its own, which is the impression some reports give, but it is a serious hole to leave open especially with the current rate of old security issues being found, as it could be _incredibly_ useful to a malicious actor as part of an exploit chain.
jfyi 34 minutes ago | parent
tensegrist 48 minutes ago | parent
chpatrick 30 minutes ago | parent
breakwaterlabs 14 minutes ago | parent
The entire reason one can rest easy as they connect to their coffee shop's WPA2-PSK network, is the security provided by TLS.
And if you don't think an ISP or agency would abuse this if it could be done undetectably then you haven't been paying attention these last 20 years (hence why DoH is now a thing).
yonatan8070 11 minutes ago | parent
educar 12 minutes ago | parent
chjj 11 minutes ago | parent
This is just an argument against TLS in general. Use plain http if you believe this.
kd913 54 minutes ago | parent
majewsky 46 minutes ago | parent
Source: https://mstdn.social/@jschauma/117513596272504904 https://mastodon.social/@glyph/117509558825919922
chrisweekly 39 minutes ago | parent
kqp 27 minutes ago | parent
6thbit 19 minutes ago | parent
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 13 minutes ago | parent
altcognito 9 minutes ago | parent
__MatrixMan__ 5 minutes ago | parent