CVE-2019-12207

njs through 0.3.1, used in NGINX, has a heap-based buffer over-read in nxt_utf8_decode in nxt/nxt_utf8.c

published May 20, 2019

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

⚠️ A sneaky buffer over-read could expose sensitive data! In njs versions up to 0.3.1, this flaw lurks within the nxt_utf8_decode function, waiting for a hero to tackle it! Think of it as a restaurant misplacing an entire stack of menus; when the waiter goes to serve a dish, they might accidentally give patrons access to the secrets of the chef's special sauce instead! An attacker could potentially exploit this flaw to read beyond the intended memory boundaries, leading to the exposure of sensitive data that shouldn’t be on the table. While it’s not currently known to be exploited, it’s always best to keep the kitchen clean!

Put simply

Think of it as a restaurant misplacing an entire stack of menus; when the waiter goes to serve a dish, they might accidentally give patrons access to the secrets of the chef's special sauce instead! This buffer over-read occurs in njs, used by NGINX, when the nxt_utf8_decode function is called, allowing for memory to be accessed that shouldn't be available, which could potentially lead to information leakage.

What to do

An attacker could potentially exploit this flaw to read beyond the intended memory boundaries, leading to the exposure of sensitive data that shouldn’t be on the table. While it’s not currently known to be exploited, it’s always best to keep the kitchen clean! Update njs to version 0.3.2 or later as soon as possible to eliminate this vulnerability. Regularly audit your dependencies to ensure you’re using the most secure versions! You’ve got this! With a simple update, you can help keep your systems secure! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01823 · 78.6th percentile
Published
2019-05-20T13:28Z
EPSS history
Timeline
  • 20 MAY 13:28Z
    njs through 0.3.1, used in NGINX, has a heap-based buffer over-read in nxt_utf8_decode in nxt/nxt_utf8.c
    cvelistv5