CVE-2019-11839

njs through 0.3.1, used in NGINX, has a heap-based buffer overflow in Array.prototype.push after a resize, related to njs_array_prototype_push in…

published May 9, 2019

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

⚠️ A sneaky heap-based buffer overflow lurks in njs versions up to 0.3.1, waiting for the right moment to strike! Think of it like a kitchen where the chef keeps adding ingredients to a pot without checking if there's enough space. Eventually, the pot overflows, causing a mess and possibly damaging the stove! If exploited, this flaw could lead to crashes or unpredictable behavior in applications using njs, putting your server environment at risk. While there's no known exploitation yet, the potential for chaos is absolutely devastating!

Put simply

Think of it like a kitchen where the chef keeps adding ingredients to a pot without checking if there's enough space. Eventually, the pot overflows, causing a mess and possibly damaging the stove! This vulnerability occurs due to a mishandling of the resize process in the Array.prototype.push method within njs, leading to a heap-based buffer overflow. This can permit memory corruption if an attacker crafts specific input.

What to do

If exploited, this flaw could lead to crashes or unpredictable behavior in applications using njs, putting your server environment at risk. While there's no known exploitation yet, the potential for chaos is absolutely devastating! Upgrade njs to version 0.3.2 or later to patch this vulnerability. Additionally, ensure your applications are monitored for irregular behavior that could indicate attempts to exploit this flaw. Don't wait for the pot to boil over! You’ve got this! Patch up, and keep that kitchen tidy! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01643 · 76.2th percentile
Published
2019-05-09T13:07Z
EPSS history
Timeline
  • 09 MAY 13:07Z
    njs through 0.3.1, used in NGINX, has a heap-based buffer overflow in Array.prototype.push after a resize, related to njs_array_prototype_push in…
    cvelistv5