CVE-2021-46461 json
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.
published 2022-02-14 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-33137
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- njs Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 0.7.1-r0
- nginx Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.20.2-r2
alpine advisories ALPINE-CVE-2021-46461
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/nginx/njs@d457c95 commit
Exploit prediction
3.15% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nginx/njs/issues/450 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/nginx/njs/commit/d457c9545e7e71ebb5c0479eb16b9d33175855e2
patch, vendor-advisory
-
github.com
/nginx/njs/issues/450
exploit, third-party-advisory
-
security.netapp.com
/advisory/ntap-20220303-0007/
third-party-advisory
Sources
- CVE List CVE-2021-46461
- NVD CVE-2021-46461
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.