MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
curl
Search

Apple Criticized For Changing the macOS version of cURL

Saturday March 23, 2024. 04:34 PM , from Slashdot/Apple
'On December 28 2023, bugreport 12604 was filed in the curl issue tracker,' writes cURL lead developer Daniel Stenberg:

The title stated of the problem in this case was quite clear: flag -cacert behavior isn't consistent between macOS and Linux, and it was filed by Yuedong Wu.

The friendly reporter showed how the curl version bundled with macOS behaves differently than curl binaries built entirely from open source. Even when running the same curl version on the same macOS machine.

The curl command line option --cacert provides a way for the user to say to curl that this is the exact set of CA certificates to trust when doing the following transfer. If the TLS server cannot provide a certificate that can be verified with that set of certificates, it should fail and return error. This particular behavior and functionality in curl has been established since many years (this option was added to curl in December 2000) and of course is provided to allow users to know that it communicates with a known and trusted server. A pretty fundamental part of what TLS does really.


When this command line option is used with curl on macOS, the version shipped by Apple, it seems to fall back and checks the system CA store in case the provided set of CA certs fail the verification. A secondary check that was not asked for, is not documented and plain frankly comes completely by surprise. Therefore, when a user runs the check with a trimmed and dedicated CA cert file, it will not fail if the system CA store contains a cert that can verify the server!

This is a security problem because now suddenly certificate checks pass that should not pass.

'We don't consider this something that needs to be addressed in our platforms,' Apple Product Security responded. Stenberg's blog post responds, 'I disagree.'
Long-time Slashdot reader lee1 shares their reaction:

I started to sour on MacOS about 20 years ago when I discovered that they had, without notice, substituted their own, nonstandard version of the Readline library for the one that the rest of the Unix-like world was using. This broke gnuplot and a lot of other free software...
Apple is still breaking things, this time with serious security and privacy implications.

Read more of this story at Slashdot.
https://apple.slashdot.org/story/24/03/23/0526257/apple-criticized-for-changing-the-macos-version-of...

Related News

News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Apr, Sat 27 - 14:15 CEST