cve.bz

CVE-2021-46461 nginx njs

9.8 criticalExploit referenceEPSS 3.1%Fix available

Critical (9.8) in nginx njs. EPSS 3.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.1% (unchanged from 3.1% a week ago; 3.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-46461 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-46461?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-46461?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-46461 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nginx:njsthrough 0.7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Alpinev3.15, v3.16, v3.17 and 7 morenjs0.7.1-r0ALPINE-CVE-2021-46461
Alpinev3.16, v3.17, v3.18 and 6 morenginx1.20.2-r2ALPINE-CVE-2021-46461

From the distributions' data via OSV.dev: the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Alpine.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON