CVE-2021-46461

njs through 0.7.0, used in NGINX, was discovered to contain an out-of-bounds array access via njs_vmcode_typeof in /src/njs_vmcode.c

published February 14, 2022

CVSS
—
EPSS
3%
Percentile
87.8
In the wild
Unconfirmed
What it is

⚠️ An out-of-bounds array access in njs could lead to some unexpected surprises! A sneaky flaw was found in versions up to 0.7.0, and while it’s not yet exploited, it’s worth paying attention to. 😮 Think of this vulnerability like a restaurant running out of space on its tables — if too many dishes are crammed in, something is bound to topple over! This out-of-bounds access means njs might handle data in ways it shouldn't, leading to unintended side effects. What could happen? An attacker might exploit this to cause instability in the NGINX server running njs, potentially leading to crashes or erratic behavior. It’s like a chef getting flustered during a busy service, risking mishaps in the kitchen!

Put simply

Think of this vulnerability like a restaurant running out of space on its tables — if too many dishes are crammed in, something is bound to topple over! This out-of-bounds access means njs might handle data in ways it shouldn't, leading to unintended side effects. This vulnerability involves an out-of-bounds array access in the njs source code, specifically within the njs_vmcode_typeof function. This means that the code can try to read or write data beyond the allocated memory space, causing unpredictable behavior.

What to do

What could happen? An attacker might exploit this to cause instability in the NGINX server running njs, potentially leading to crashes or erratic behavior. It’s like a chef getting flustered during a busy service, risking mishaps in the kitchen! To secure your system, upgrade njs to a version beyond 0.7.0 as soon as possible. Regularly monitor your environments to ensure that you're using the most secure versions of all components. Don't overlook this one! You've got this! With these steps, you’ll keep your NGINX server running smoothly and securely. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03147 · 87.8th 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 an out-of-bounds array access via njs_vmcode_typeof in /src/njs_vmcode.c
    cvelistv5