πŸ“’ You can Just Use Rust and Stop Getting Pwned πŸ“’ Node -C +πŸ¦€ = node2shell fixe...

@lina@vt.social

πŸ“’ You can Just Use Rust and Stop Getting Pwned πŸ“’

Node -C +πŸ¦€ = node2shell fixed:

git clone github.com/hoshinolina/rust-br &&
cd rust-brotli-decompressor/c &&
make &&
cp target/release/libbrotli_decompressor.so /lib64 &&
ln -nsf libbrotli_decompressor.so /lib64/libbrotlidec.so.1

Works on Fedora 44 with system node.js v24.

Disclaimer: This is a PoC of how this whole CVE could have been avoided. I stubbed out the brotli metadata support because it was missing that symbol and it's probably useless for HTTP anyway.

rust-brotli-decompressor by Dropbox.

Use Rust, people.