CVE-2022-27007

nginx njs 0.7.2 is affected suffers from Use-after-free in njs_function_frame_alloc() when it try to invoke from a restored frame saved with…

published April 14, 2022

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

⚠️ A tricky use-after-free bug lurks in nginx's njs 0.7.2, allowing a function frame to get a little too cozy with freed memory! 🥴 Imagine leaving a party and forgetting to say goodbye to a friend who just won't leave your side — that's what happens here! When the function frame tries to call back to saved memory, it might just stumble into some troublesome territory, causing chaos instead of functionality. An attacker could exploit this vulnerability to cause unexpected behavior in the server, potentially leading to crashes or security issues. This could disrupt your web applications and data processing, making it crucial to address before it becomes a headache!

Put simply

Imagine leaving a party and forgetting to say goodbye to a friend who just won't leave your side — that's what happens here! When the function frame tries to call back to saved memory, it might just stumble into some troublesome territory, causing chaos instead of functionality. The vulnerability is due to a use-after-free condition in the njs_function_frame_alloc() function, triggered when invoking a function from a restored frame that has already been freed.

What to do

An attacker could exploit this vulnerability to cause unexpected behavior in the server, potentially leading to crashes or security issues. This could disrupt your web applications and data processing, making it crucial to address before it becomes a headache! To remediate this, upgrade your nginx njs to a patched version as soon as it's available. Regularly check for updates and monitor the nginx community for any related advisories to ensure you're protected against this sneaky bug. You've got this! Stay vigilant and take these steps to keep your server safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01616 · 75.8th percentile
Published
2022-04-14T14:08Z
EPSS history
Timeline
  • 14 APR 14:08Z
    nginx njs 0.7.2 is affected suffers from Use-after-free in njs_function_frame_alloc() when it try to invoke from a restored frame saved with…
    cvelistv5