OpenAI flags Brotli RCE flaw affecting Node.js and Bun
According to OpenAI and Patch the Planet, a Brotli library bug enables unauthenticated remote code execution via malicious compressed data, prompting new Brotli releases, a published CVE, and downstream security updates in projects like Node.js and Bun.
SourceAnalysis
OpenAI's red-teaming exercise using AI agents discovered an unauthenticated remote code execution vulnerability in the Brotli compression library, which is included in software such as Node.js, Bun, and Envoy. The flaw allows attackers to execute code on affected systems by sending malicious compressed data, impacting both servers accepting compressed input and clients like curl with compression enabled.
The root cause was addressed in the Brotli source code in February, though it was not initially recognized as a security issue, leading to disclosure to Brotli and downstream projects. Node.js and others have released or are preparing security updates, with Brotli issuing new versions and a CVE, according to OpenAI's announcement.
OpenAI
@OpenAILeading AI research organization developing transformative technologies like ChatGPT while pursuing beneficial artificial general intelligence.