Cybersecurity news

Jessica Doner

Back to the list

Brotli Decoder Flaw Behind Node.js RCE Also Affects Bun, Python and Other Widely Used Software

The Hacker News,

A memory flaw in Google's Brotli decoder lets crafted data corrupt memory, potentially allowing attackers to run code on affected software.

Vulnerabilities and patches

Overview

A memory-corruptionA class of software bugs where a program accidentally overwrites or misreads its own working memory flaw in Google's Brotli decoder allows crafted compressed data to overwrite past the end of a buffer and corrupt a program's memory. This issue affects widely used software including Bun, Python packages, and Envoy proxies that unpack Brotli-compressed data. The vulnerability can cause a crash, a memory leakA bug where a program fails to free memory it no longer needs, gradually exhausting system memory, or the execution of attacker-controlled code. Because the bug is in the C code that unpacks a Brotli stream, it travels into anything that reuses that code, from language runtimesThe environment in which a program executes, or the period of time while the program is actively running to proxies to Python packages. Each program ships its own copy of the decoder, so every one has to update that copy on its own. A program is exposed only if it decodes Brotli data that someone else controls.

Terms in this story

memory-corruption
A class of software bugs where a program accidentally overwrites or misreads its own working memory. Buffer overflows and use-after-free bugs are forms of memory corruption that can crash an application or let an attacker redirect the processor to run malicious code. Security+ objective 2.3 lists the term
memory leak
A bug where a program fails to free memory it no longer needs, gradually exhausting system memory. An attacker who finds a repeatable memory leak in a network server can send thousands of requests until the server runs out of memory and crashes.
runtimes
The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
CVE
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
unpatched
Running an older version of software that is missing a released security update for a known flaw. Even months after a vendor ships a fix, many breaches succeed because attackers scan the internet for unpatched servers that administrators have not updated yet. Security+ objective 2.3 lists the term
Encoding
Rewrite data in another form so it can be carried; no key, anyone can reverse it. Students often confuse encoding with encryption at first, but systems encode data only so it travels safely through text protocols, not to keep it secret from anyone. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
web application firewall
A filter placed in front of a website that inspects HTTP traffic and blocks common web attacks. Companies put a web application firewall in front of their web servers to spot and block SQL injection, cross-site scripting, and bot traffic before those requests hit the application code. Security+ objective 3.2 lists the term
firewall
A network barrier in software or hardware that allows or blocks traffic based on security rules. Organizations place a firewall between their internal network and the internet to block unwanted connections, and attackers often look for flaws in the firewall appliance itself. Security+ objective 3.2 lists the term
disclosure
The process of reporting and publishing details about a newly discovered security flaw in software or hardware. In security news, disclosure refers either to a researcher privately alerting a vendor about a bug or to a company publicly notifying customers about a breach.
Red Team
An exercise where security specialists mimic a real adversary to test an organization's people, networks, and detection. Unlike a standard scan that checks one app for bugs, red teaming simulates a full campaign with phishing, lateral movement, and privilege escalation to see how the defending team responds. Security+ objective 5.5 lists the term
exploit
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related