CVE-2019-11838

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

published May 9, 2019

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

⚠️ A mishandled resize is at the heart of this buffer overflow in njs. It's like a restaurant trying to squeeze more patrons into tables that can't accommodate them — chaos ensues! Think of a restaurant that suddenly tries to fit more people into its already crowded space. When the tables are pushed too close together, there's bound to be a spill or a collision — that's what happens here when njs's Array.prototype.splice tries to resize improperly! If exploited, this vulnerability could lead to unexpected behavior or crashes within the application, leaving users frustrated as the system spills over like too many diners at a tiny table. While there's no known exploitation yet, the potential for havoc is undeniable!

Put simply

Think of a restaurant that suddenly tries to fit more people into its already crowded space. When the tables are pushed too close together, there's bound to be a spill or a collision — that's what happens here when njs's Array.prototype.splice tries to resize improperly! The heap-based buffer overflow occurs when the njs_array_expand function incorrectly handles size during a resize operation in the Array.prototype.splice method, specifically in njs through version 0.3.1.

What to do

If exploited, this vulnerability could lead to unexpected behavior or crashes within the application, leaving users frustrated as the system spills over like too many diners at a tiny table. While there's no known exploitation yet, the potential for havoc is undeniable! To protect your systems, ensure you're using a version of njs later than 0.3.1. Regularly monitor your systems for updates and apply any security patches as they become available to keep your applications secure. You've got this! With a few quick updates, you can keep your application running smoothly and securely. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01598 · 75.6th 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.splice after a resize, related to njs_array_prototype_splice in…
    cvelistv5