Vulnerability · Published Feb 14, 2022 · Assigned by mitre
CVE-2021-46461
Critical 9.8
In plain English
A critical-severity security flaw in the nginx package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)3.1%top 12.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | nginx | 1.20.2-r2 | ALPINE-CVE-2021-46461 |
| Alpine:v3.21 | nginx | 1.20.2-r2 | ALPINE-CVE-2021-46461 |
| Alpine:v3.22 | nginx | 1.20.2-r2 | ALPINE-CVE-2021-46461 |
| Alpine:v3.23 | nginx | 1.20.2-r2 | ALPINE-CVE-2021-46461 |
| Alpine:v3.24 | nginx | 1.20.2-r2 | ALPINE-CVE-2021-46461 |
| Alpine:v3.20 | njs | 0.7.1-r0 | ALPINE-CVE-2021-46461 |
| Alpine:v3.21 | njs | 0.7.1-r0 | ALPINE-CVE-2021-46461 |
| Alpine:v3.22 | njs | 0.7.1-r0 | ALPINE-CVE-2021-46461 |
| Alpine:v3.23 | njs | 0.7.1-r0 | ALPINE-CVE-2021-46461 |
| Alpine:v3.24 | njs | 0.7.1-r0 | ALPINE-CVE-2021-46461 |
Affected products (as reported)
References
- https://github.com/nginx/njs/issues/450 x_refsource_MISC
- https://github.com/nginx/njs/commit/d457c9545e7e71ebb5c0479eb16b9d33175855e2 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220303-0007/ x_refsource_CONFIRM