CVE-2020-19695

Buffer Overflow found in Nginx NJS allows a remote attacker to execute arbitrary code via the njs_object_property parameter of the njs/njs_vm.c function

Critical · published April 4, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
70.9
In the wild
Unconfirmed
What it is

🚨 A sneaky buffer overflow in Nginx NJS could let attackers execute arbitrary code just by manipulating a single parameter! 🔥 Think of it like a restaurant where the chef follows orders without checking the ingredients. If someone sneaks in a fake order with a secret ingredient, it could ruin the whole dish – or in this case, take control of the server! An attacker could gain complete control over the Nginx server, allowing them to execute any command they desire. This could lead to unauthorized access, data theft, and even a complete system takeover! Absolutely devastating for any organization relying on Nginx for web serving.

Put simply

Think of it like a restaurant where the chef follows orders without checking the ingredients. If someone sneaks in a fake order with a secret ingredient, it could ruin the whole dish – or in this case, take control of the server! This vulnerability arises from a buffer overflow in the njs_object_property parameter of the njs_vm.c function, enabling attackers to exploit this flaw to execute arbitrary code remotely.

What to do

An attacker could gain complete control over the Nginx server, allowing them to execute any command they desire. This could lead to unauthorized access, data theft, and even a complete system takeover! Absolutely devastating for any organization relying on Nginx for web serving. Patch Nginx NJS to version 0.3.6 or later immediately. Review your code to ensure proper input validation and buffer management practices are in place to prevent such vulnerabilities. You've got this! Implement the patch, and your Nginx server will be safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01333 · 70.9th percentile
Published
2023-04-04T00:00Z
EPSS history
Timeline
  • 04 APR 00:00Z
    Buffer Overflow found in Nginx NJS allows a remote attacker to execute arbitrary code via the njs_object_property parameter of the njs/njs_vm.c function
    cvelistv5