CVE-2021-46463

njs through 0.7.1, used in NGINX, was discovered to contain a control flow hijack caused by a Type Confusion vulnerability in njs_promise_perform_then()

published February 14, 2022

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

⚠️ A sneaky control flow hijack lurks in njs versions up to 0.7.1! This Type Confusion vulnerability could allow an attacker to manipulate program execution in unexpected ways. 🔍 Think of this like a delivery service that misreads the address on a package, sending it to the wrong location. In the world of njs, this misreading allows the flow of the program to be hijacked, disrupting normal operations. An attacker could potentially cause mischief within the program's execution flow, which could lead to unexpected behavior and security concerns. While it's not currently exploited, the implications of such control could be absolutely devastating if leveraged.

Put simply

Think of this like a delivery service that misreads the address on a package, sending it to the wrong location. In the world of njs, this misreading allows the flow of the program to be hijacked, disrupting normal operations. The vulnerability in njs arises from a Type Confusion issue in the njs_promise_perform_then() function, allowing control flow to be hijacked and manipulated, presenting risks to stability and security.

What to do

An attacker could potentially cause mischief within the program's execution flow, which could lead to unexpected behavior and security concerns. While it's not currently exploited, the implications of such control could be absolutely devastating if leveraged. To protect your applications, update njs to version 0.7.2 or later. Regularly review your code and dependencies to ensure this vulnerability is patched and apply any security best practices that align with your setup. You've got this! By following these steps, you’ll fortify your defenses and keep your applications safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01676 · 76.7th percentile
Published
2022-02-14T21:47Z
EPSS history
Timeline
  • 14 FEB 21:47Z
    njs through 0.7.1, used in NGINX, was discovered to contain a control flow hijack caused by a Type Confusion vulnerability in njs_promise_perform_then()
    cvelistv5