PT-2022-4328 · Nginx · Nginx Njs

Q1Iq

·

Published

2022-05-23

·

Updated

2022-06-29

·

CVE-2022-31306

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Nginx NJS version 0.7.2
Description The issue is related to the function njs array convert to slow array at src/njs array.c in the Nginx NJS interpreter, which can lead to uncontrolled resource consumption. This can potentially allow a remote attacker to elevate their privileges. The problem is caused by a segmentation violation in the mentioned function.
Recommendations For Nginx NJS version 0.7.2, consider disabling the njs array convert to slow array function as a temporary workaround until a patch is available. Restrict access to the njs array.c module to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Resource Exhaustion

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2022-05186
CVE-2022-31306

Affected Products

Nginx Njs