Cybersecurity news

Jessica Doner

Back to the list

Node.js Brotli Decoder Bug Could Allow Remote Code Execution in All Supported Versions

The Hacker News,

A bug in Node.js's Brotli decompression code allows remote code execution, fixed in updates for all supported versions.

Vulnerabilities and patches

Overview

Node.js released security updatesA software update released by a developer to fix a bug or close a security flaw on October 21 for its three supported release lines, 22.x, 24.x and 26.x, to fix 10 flaws. The most serious issue is a bug in the Brotli decompression code that can allow remote code executionA flaw that lets an attacker run their own code on someone else's computer over a network on affected systems. This vulnerability exists in code that Node.js bundles, which runs whenever the system decompresses Brotli data. An application is exposed when it processes Brotli data that an attacker controls, such as a request body or a fetched response. The fix makes the decoder catch invalid input and stop earlier rather than writing past the buffer. Node.js 20.x and earlier have reached end of lifeThe date after which a vendor stops shipping security updates or fixes for an older product version and will not receive the fix, so they should be moved to a supported line.

Terms in this story

security updates
A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
Remote Code Execution
A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
code execution
A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
end of life
The date after which a vendor stops shipping security updates or fixes for an older product version. When a router or server operating system reaches end-of-life, any new vulnerability discovered in it remains unpatched forever, making those devices prime targets for botnets. Security+ objective 2.3 lists the term
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.
out-of-bounds write
A memory bug where a program writes data past the end of its allocated buffer. An out-of-bounds write can corrupt nearby variables or return addresses in memory, crashing the program or letting an attacker hijack what code runs next.
proof-of-concept
A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
exploitation
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
TLS certificate
A digital certificate that proves a website's domain identity and enables encrypted HTTPS connections. When your browser connects to a secure site, it checks the server's TLS certificate to make sure you are talking to the real domain and not an impostor. Security+ objective 1.4 lists the term
IP address
The numerical network label assigned to a device so internet traffic knows where to reach it. Every server and router on the internet has an IP address, and defenders inspect connection logs for unfamiliar IP addresses when tracing where an attack came from.
certificate
A file that ties a public key to a name, signed by a certificate authority. Web browsers check a site's certificate on every secure visit, and news stories report when an expired or stolen certificate causes outages or lets an attacker impersonate a domain. From the CYBR 101 room CYBR 101: What is a hash?; Security+ objective 1.4 lists the term
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

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