CVE-2022-25139

njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled

published February 14, 2022

CVSS
—
EPSS
2%
Percentile
76.0
In the wild
Unconfirmed
What it is

⚠️ A heap use-after-free bug in njs could lead to unpredictable behavior, like trying to grab a cup of coffee only to find it's empty! ☕️ Think of it as a popular restaurant that runs out of a key ingredient without notifying the chefs — they could end up serving dishes that don’t taste right, potentially disappointing customers. This vulnerability can cause erratic behavior in your applications, leading to unexpected crashes. While the severity is currently marked as unknown, any heap use-after-free bug is no joke! It may allow attackers to manipulate memory allocation, potentially leading to crashes or exposing sensitive data. Imagine an important meeting suddenly interrupted by a software meltdown — definitely not ideal!

Put simply

Think of it as a popular restaurant that runs out of a key ingredient without notifying the chefs — they could end up serving dishes that don’t taste right, potentially disappointing customers. This vulnerability can cause erratic behavior in your applications, leading to unexpected crashes. This vulnerability in njs, used by NGINX, means that memory that should have been freed can still be accessed, which can lead to erratic application behavior and potential exploitation if an attacker can manipulate the process.

What to do

While the severity is currently marked as unknown, any heap use-after-free bug is no joke! It may allow attackers to manipulate memory allocation, potentially leading to crashes or exposing sensitive data. Imagine an important meeting suddenly interrupted by a software meltdown — definitely not ideal! To safeguard your applications, upgrade njs to version 0.7.1 or higher as soon as possible. Always keep your dependencies updated and review any code that interacts with njs for suspicious behavior. Don’t forget to test thoroughly after the update! You've got this! With a few quick updates, your systems will be in fighting shape again. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01630 · 76.0th percentile
Published
2022-02-14T21:47Z
EPSS history
Timeline
  • 14 FEB 21:47Z
    njs through 0.7.0, used in NGINX, was discovered to contain a heap use-after-free in njs_await_fulfilled
    cvelistv5