Live data from Hacker News

Mozilla fixes Firefox zero-day actively exploited in attacks

bleepingcomputer.com

101–110 of 151 posts

Re: Mozilla fixes Firefox zero-day actively exploited in attacks

#101

Earlier quoted context omitted.

Interesting. On Arch, Firefox just refuses to keep working after I've updated and requests me to restart it.

That is Firefox standalone behavior when it detects its files have been changed and differ from the ones loaded by the current instance. In theory, what snap is doing avoid changing files from a program while it is running.

Yeah, that makes sense.

Re: Mozilla fixes Firefox zero-day actively exploited in attacks

#103
post #78

Earlier quoted context omitted.

The problem with writing a browser in C# or Java is that neither of them can provide anywhere close to the level of thread safety that Rust does.

both java and c# has thread safety primitives that are also pretty easy to use. E.g., the java concurrency package.

Having done concurrency in Java and Rust, my experience is that Rust's concurrency primitives are an order of magnitude better than Java's. I haven't tested C#'s.

Re: Mozilla fixes Firefox zero-day actively exploited in attacks

#104
post #96
post #51

Earlier quoted context omitted.

Servo exists, in Rust. I don't know of any browser engine in C#/Java? Also, modern browsers as a whole outsize entire OSes (sans browser)...

> I don't know of any browser engine in C#/Java? A famous one is HotJava. According to Wikipedia, it was also the first web browser to support Java applets.

It was also a mess :)

Re: Mozilla fixes Firefox zero-day actively exploited in attacks

#105

Earlier quoted context omitted.

Why managed when it could be in Rust and have both performance and safety? The Servo shouldn't have ever been laid off. Yes, I'm aware a team is working on it now, but it isn't up to the same speed and enthusiasm as it was when funded by Mozilla, is it?

Im aware of Rust, but there is C#/Java too, with way bigger ecosystem, community and lower entry level. At the end of the day web browser is just bunch of parsers and compilers working together, and some video/audio

> At the end of the day web browser is just bunch of parsers and compilers working together, and some video/audio

That's... an interesting reduction :) I guess it's about as true as saying that the Linux Kernel is a bunch of I/O and a scheduler?

Re: Mozilla fixes Firefox zero-day actively exploited in attacks

#106
post #63

Earlier quoted context omitted.

From your experience, what are the system requirements needed to use that as comfortably as your daily driver?

If you anything with a GPU anywhere, you can essentially forget it. Or at least this was the case a few years ago when I briefly toyed with using qubes seriously.

Important consideration, thank you.

Edit: Seems like someone has managed to get CUDA to work, with some effort.

https://forum.qubes-os.org/t/nvidia-gpu-passthrough-into-lin...

Re: Mozilla fixes Firefox zero-day actively exploited in attacks

#107
post #53

Earlier quoted context omitted.

> At the end of the day web browser is just bunch of parsers and compilers working together At the end of the day, OS is just a bunch of command lines being piped together. /sarcasm Sure, you are just missing: rendering, layout, security, network traffic for sockets, low-level control over hardware, writing a decent enough VM, image processing, video playback, music playback, compression, decompression, self-update,…

Why would you need to reinvent networking layer instead of just sending http requests via matrue, battle tested lib available in your programming ecosystem e.g from MSFT? Same with crypto, sockets, compression, etc? Video and audio I mentioned. Extensions are tricky, right, but more from privacy standpoint cuz after all you can just expose too much

Many of these components have been made part of the ecosystem long after they were introduced in Firefox. Also, the more platform-specific you go for each component, the more you're going to introduce subtle incompatibilities between Firefox running on different versions of Windows or in Firefox for Windows vs. macOS vs. Linux. Also, for a very, very long time, Microsoft had an extremely poor record in terms of security fixes. So what happens when you rely on a Microsoft http library and Microsoft takes a year or two to release a 0-day?

There are benefits to this approach, of course, but the costs would have been consequential.

Re: Mozilla fixes Firefox zero-day actively exploited in attacks

#108

Seems bad. "An attacker was able to achieve code execution in the content process by exploiting a use-after-free in Animation timelines. We have had reports of this vulnerability being exploited in the wild." See: - NVD page for CVE-2024-9680: https://nvd.nist.gov/vuln/detail/CVE-2024-9680 - Mozilla security advisory: https://www.mozilla.org/en-US/security/advisories/mfsa2024-5...

Is this karma for dropping Rust? (please don't explain how Rust actually wouldn't fix this)

Re: Mozilla fixes Firefox zero-day actively exploited in attacks

#109
post #87

Earlier quoted context omitted.

Why would you need to reinvent networking layer instead of just sending http requests via matrue, battle tested lib available in your programming ecosystem e.g from MSFT? Same with crypto, sockets, compression, etc? Video and audio I mentioned. Extensions are tricky, right, but more from privacy standpoint cuz after all you can just expose too much

> Why would you need to reinvent networking layer instead of just sending http requests via matrue, battle tested lib available in your programming ecosystem e.g from MSFT? Because modern browsers are essentially cross-compatible OSes.

So is .net

Re: Mozilla fixes Firefox zero-day actively exploited in attacks

#110

Earlier quoted context omitted.

Why would you need to reinvent networking layer instead of just sending http requests via matrue, battle tested lib available in your programming ecosystem e.g from MSFT? Same with crypto, sockets, compression, etc? Video and audio I mentioned. Extensions are tricky, right, but more from privacy standpoint cuz after all you can just expose too much

Browsers are using new http features much earlier than they're available in the system libraries. Browsers supported http2 and 3 before they were standardised enough to include in systems. .net http client still can't even tell you about http2 early hints as far as I understand it. It's going to be the same for crypto and compression. Systems don't ship with brotli for example. The battle tested implementations come…

Sure, not being at the leading edge is a disadvantage, but I guess you could still handle 99.x% of web pages
Post reply on HN