CVE-2021-46461
CVE-2021-46461 is a critical-severity vulnerability in Nginx Njs with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 3% (86th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Nginx Njs
- Published:
- Last modified:
Description
njs through 0.7.0, used in NGINX, was discovered to contain an out-of-bounds array access via njs_vmcode_typeof in /src/njs_vmcode.c.
Frequently asked questions
- What is CVE-2021-46461?
- njs through 0.7.0, used in NGINX, was discovered to contain an out-of-bounds array access via njs_vmcode_typeof in /src/njs_vmcode.c.
- How severe is CVE-2021-46461?
- CVE-2021-46461 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-46461 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (86th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-46461?
- CVE-2021-46461 affects Nginx Njs. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-46461?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2021-46461 published?
- CVE-2021-46461 was published on 2022-02-14 and last updated on 2026-06-17.
References
- https://github.com/nginx/njs/commit/d457c9545e7e71ebb5c0479eb16b9d33175855e2
- https://github.com/nginx/njs/issues/450
- https://security.netapp.com/advisory/ntap-20220303-0007/
Affected products (1)
- cpe:2.3:a:nginx:njs:*:*:*:*:*:*:*:*
More vulnerabilities in Nginx Njs
- CVE-2022-35173 — High (CVSS 7.5): An issue was discovered in Nginx NJS v0.7.5. The JUMP offset for a break instruction was not set to a correct offset…
- CVE-2022-30503 — Medium (CVSS 5.5): Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_set_number at src/njs_value.h.
- CVE-2022-29780 — Medium (CVSS 5.5): Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_array_prototype_sort at…
- CVE-2022-29779 — Medium (CVSS 5.5): Nginx NJS v0.7.2 was discovered to contain a segmentation violation in the function njs_value_own_enumerate at…
All CVEs affecting Nginx Njs →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.