Hacker News new | ask | show | jobs
by mirashii 37 days ago
I feel as though this should be googlebrotli2shell, not http2shell. Google deserves to take a bit of a reputational hit for this. This is a basic memory safety violation, from the same organization that does wuffs, that promotes Rust for memory safety, that has Carbon. zstd has high quality rust implementations and is from roughly the same time.

On top of that, the brotli library saw no releases for almost a full year, with the fix for this vulnerability being committed back in February. Google builds from main for all their projects, so were unaffected, but open source releases are a complete afterthought. Over 100 commits with miscellaneous fixes left languishing until a security incident forces a release.

3 comments

> zstd has high quality rust implementations

On the decompression side yes, on the compression side the first good zstd rust port was announced yesterday. Until then, brotli was better supported in Rust than zstd.

But I agree, decompression libraries should be (mostly) memory safe nowadays, since that side is both easier to implement and more likely to be vulnerable.

Is there ever a demo of the "2shell" aspect here? Seems like the issue was fixed because it was thought to produce a hang. Has it ever been confirmed that the issue could result in an RCE? Or is this just hypothetical?
Imperva claims to have demonstrated it, but didn't publish it openly (and their article screams AI slop, so take that for what you will).

https://www.imperva.com/blog/node2shell-from-brotli-data-to-...

There's also a public POC here, though with the caveat that they demonstrated it only on builds with weaker configurations. https://github.com/dimasma0305/CVE-2026-111497-POC

All that said, we haven't heard the major cloud providers or security labs saying they've seen exploitation in the wild yet.

Looking at the repo, some of the languages have their own safe implementations though, they don't use the C implementation directly.

However I guess testing isn't that great, probably.