Ancestors

Written by Will Dormann on 2024-10-08 at 02:56

Apple QA seems to have been asleep at the wheel for the Sequoia release.

Sure, the 15.0.1 release now makes the stateful firewall UDP aware, so you can use exotic things like DNS with the firewall blocking unilateral incoming connections. At least there was a workaround for that.

How about unix datagrams, though?

Did you know that a simple userland rust program that attempts to use Unix datagrams to connect to themselves will panic the entire OS?

🤦‍♂️

https://github.com/rust-lang/rust/issues/131374

=> View attached media

=> More informations about this toot | More toots from wdormann@infosec.exchange

Written by Will Dormann on 2024-10-08 at 12:24

What sort of weird edge case is running a rust program in macOS, though?

Fine. How about python?

https://gist.github.com/wdormann/85426467dd5a1d310d1d208fc16ade23

A python app shouldn't be able to crash the whole OS, right?

Was macOS Sequoia written by ChatGPT and then released to the public without bothering to test it?

=> View attached media

=> More informations about this toot | More toots from wdormann@infosec.exchange

Written by Will Dormann on 2024-10-08 at 15:23

To be fair, having a Unix Datagram connect to itself is odd. And as such, it probably won't be seen in the wild too much.

Attempting to do so in Perl will cause Perl to complain that you can't do such a thing.

But for those things that do allow you to do it, maybe the OS shouldn't fall over as the result of doing it? 😂

=> View attached media

=> More informations about this toot | More toots from wdormann@infosec.exchange

Written by Will Dormann on 2024-10-08 at 23:04

Also, although this bug was reported in Sequoia, it's been around since macOS 13. I have not tested anything older than that.

=> More informations about this toot | More toots from wdormann@infosec.exchange

Toot

Written by Will Dormann on 2025-01-13 at 16:31

FWIW, this is addressed in Sequoia 15.2

=> More informations about this toot | More toots from wdormann@infosec.exchange

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113822001191477112
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
276.376602 milliseconds
Gemini-to-HTML Time
0.813347 milliseconds

This content has been proxied by September (3851b).