CVE-2021-46461

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-46461
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46461.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-46461
Published
2022-02-14T22:15:07Z
Modified
2024-12-05T15:25:31.592313Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

njs through 0.7.0, used in NGINX, was discovered to contain an out-of-bounds array access via njsvmcodetypeof in /src/njs_vmcode.c.

References

Affected packages

Alpine:v3.16 / nginx

Package

Name
nginx
Purl
pkg:apk/alpine/nginx?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.2-r2

Affected versions

0.*

0.8.53-r0
0.8.54-r0
0.8.54-r1

1.*

1.0.4-r0
1.0.4-r1
1.0.5-r0
1.0.11-r0
1.0.11-r1
1.0.14-r0
1.0.15-r0
1.2.2-r0
1.2.3-r0
1.2.4-r0
1.2.5-r0
1.2.6-r0
1.2.7-r0
1.2.8-r0
1.4.0-r0
1.4.0-r1
1.4.1-r0
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.3-r1
1.4.4-r0
1.4.4-r1
1.4.4-r2
1.4.5-r0
1.4.6-r0
1.4.7-r0
1.6.0-r0
1.6.0-r1
1.6.0-r2
1.6.0-r3
1.6.1-r0
1.6.1-r1
1.6.2-r0
1.6.2-r1
1.6.2-r2
1.6.2-r3
1.6.3-r0
1.8.0-r0
1.8.0-r1
1.8.0-r2
1.8.0-r3
1.8.1-r0
1.8.1-r1
1.9.11-r0
1.9.14-r0
1.9.14-r1
1.10.0-r0
1.10.1-r0
1.10.1-r1
1.10.1-r2
1.10.1-r3
1.10.1-r4
1.10.1-r5
1.10.1-r6
1.10.1-r7
1.10.1-r8
1.10.1-r9
1.10.2-r0
1.10.2-r1
1.10.3-r0
1.10.3-r1
1.10.3-r2
1.10.3-r3
1.10.3-r4
1.10.3-r5
1.12.0-r0
1.12.0-r1
1.12.0-r2
1.12.1-r0
1.12.1-r1
1.12.1-r2
1.12.1-r3
1.12.2-r0
1.12.2-r1
1.12.2-r2
1.12.2-r3
1.12.2-r4
1.12.2-r5
1.12.2-r6
1.14.0-r0
1.14.0-r1
1.14.0-r2
1.14.1-r0
1.14.2-r0
1.14.2-r1
1.16.0-r0
1.16.0-r1
1.16.0-r2
1.16.0-r3
1.16.0-r4
1.16.1-r0
1.16.1-r1
1.16.1-r2
1.16.1-r3
1.16.1-r4
1.16.1-r5
1.16.1-r6
1.16.1-r7
1.16.1-r8
1.18.0-r0
1.18.0-r1
1.18.0-r2
1.18.0-r3
1.18.0-r4
1.18.0-r5
1.18.0-r6
1.18.0-r7
1.18.0-r8
1.18.0-r9
1.18.0-r10
1.18.0-r11
1.18.0-r12
1.18.0-r13
1.18.0-r14
1.18.0-r15
1.20.0-r0
1.20.1-r0
1.20.1-r1
1.20.1-r2
1.20.1-r3
1.20.1-r4
1.20.1-r5
1.20.1-r6
1.20.1-r7
1.20.1-r8
1.20.1-r9
1.20.1-r10
1.20.1-r11
1.20.1-r12
1.20.1-r13
1.20.2-r0
1.20.2-r1

Alpine:v3.17 / nginx

Package

Name
nginx
Purl
pkg:apk/alpine/nginx?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.2-r2

Affected versions

0.*

0.8.53-r0
0.8.54-r0
0.8.54-r1

1.*

1.0.4-r0
1.0.4-r1
1.0.5-r0
1.0.11-r0
1.0.11-r1
1.0.14-r0
1.0.15-r0
1.2.2-r0
1.2.3-r0
1.2.4-r0
1.2.5-r0
1.2.6-r0
1.2.7-r0
1.2.8-r0
1.4.0-r0
1.4.0-r1
1.4.1-r0
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.3-r1
1.4.4-r0
1.4.4-r1
1.4.4-r2
1.4.5-r0
1.4.6-r0
1.4.7-r0
1.6.0-r0
1.6.0-r1
1.6.0-r2
1.6.0-r3
1.6.1-r0
1.6.1-r1
1.6.2-r0
1.6.2-r1
1.6.2-r2
1.6.2-r3
1.6.3-r0
1.8.0-r0
1.8.0-r1
1.8.0-r2
1.8.0-r3
1.8.1-r0
1.8.1-r1
1.9.11-r0
1.9.14-r0
1.9.14-r1
1.10.0-r0
1.10.1-r0
1.10.1-r1
1.10.1-r2
1.10.1-r3
1.10.1-r4
1.10.1-r5
1.10.1-r6
1.10.1-r7
1.10.1-r8
1.10.1-r9
1.10.2-r0
1.10.2-r1
1.10.3-r0
1.10.3-r1
1.10.3-r2
1.10.3-r3
1.10.3-r4
1.10.3-r5
1.12.0-r0
1.12.0-r1
1.12.0-r2
1.12.1-r0
1.12.1-r1
1.12.1-r2
1.12.1-r3
1.12.2-r0
1.12.2-r1
1.12.2-r2
1.12.2-r3
1.12.2-r4
1.12.2-r5
1.12.2-r6
1.14.0-r0
1.14.0-r1
1.14.0-r2
1.14.1-r0
1.14.2-r0
1.14.2-r1
1.16.0-r0
1.16.0-r1
1.16.0-r2
1.16.0-r3
1.16.0-r4
1.16.1-r0
1.16.1-r1
1.16.1-r2
1.16.1-r3
1.16.1-r4
1.16.1-r5
1.16.1-r6
1.16.1-r7
1.16.1-r8
1.18.0-r0
1.18.0-r1
1.18.0-r2
1.18.0-r3
1.18.0-r4
1.18.0-r5
1.18.0-r6
1.18.0-r7
1.18.0-r8
1.18.0-r9
1.18.0-r10
1.18.0-r11
1.18.0-r12
1.18.0-r13
1.18.0-r14
1.18.0-r15
1.20.0-r0
1.20.1-r0
1.20.1-r1
1.20.1-r2
1.20.1-r3
1.20.1-r4
1.20.1-r5
1.20.1-r6
1.20.1-r7
1.20.1-r8
1.20.1-r9
1.20.1-r10
1.20.1-r11
1.20.1-r12
1.20.1-r13
1.20.2-r0
1.20.2-r1

Alpine:v3.18 / nginx

Package

Name
nginx
Purl
pkg:apk/alpine/nginx?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.2-r2

Affected versions

0.*

0.8.53-r0
0.8.54-r0
0.8.54-r1

1.*

1.0.4-r0
1.0.4-r1
1.0.5-r0
1.0.11-r0
1.0.11-r1
1.0.14-r0
1.0.15-r0
1.2.2-r0
1.2.3-r0
1.2.4-r0
1.2.5-r0
1.2.6-r0
1.2.7-r0
1.2.8-r0
1.4.0-r0
1.4.0-r1
1.4.1-r0
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.3-r1
1.4.4-r0
1.4.4-r1
1.4.4-r2
1.4.5-r0
1.4.6-r0
1.4.7-r0
1.6.0-r0
1.6.0-r1
1.6.0-r2
1.6.0-r3
1.6.1-r0
1.6.1-r1
1.6.2-r0
1.6.2-r1
1.6.2-r2
1.6.2-r3
1.6.3-r0
1.8.0-r0
1.8.0-r1
1.8.0-r2
1.8.0-r3
1.8.1-r0
1.8.1-r1
1.9.11-r0
1.9.14-r0
1.9.14-r1
1.10.0-r0
1.10.1-r0
1.10.1-r1
1.10.1-r2
1.10.1-r3
1.10.1-r4
1.10.1-r5
1.10.1-r6
1.10.1-r7
1.10.1-r8
1.10.1-r9
1.10.2-r0
1.10.2-r1
1.10.3-r0
1.10.3-r1
1.10.3-r2
1.10.3-r3
1.10.3-r4
1.10.3-r5
1.12.0-r0
1.12.0-r1
1.12.0-r2
1.12.1-r0
1.12.1-r1
1.12.1-r2
1.12.1-r3
1.12.2-r0
1.12.2-r1
1.12.2-r2
1.12.2-r3
1.12.2-r4
1.12.2-r5
1.12.2-r6
1.14.0-r0
1.14.0-r1
1.14.0-r2
1.14.1-r0
1.14.2-r0
1.14.2-r1
1.16.0-r0
1.16.0-r1
1.16.0-r2
1.16.0-r3
1.16.0-r4
1.16.1-r0
1.16.1-r1
1.16.1-r2
1.16.1-r3
1.16.1-r4
1.16.1-r5
1.16.1-r6
1.16.1-r7
1.16.1-r8
1.18.0-r0
1.18.0-r1
1.18.0-r2
1.18.0-r3
1.18.0-r4
1.18.0-r5
1.18.0-r6
1.18.0-r7
1.18.0-r8
1.18.0-r9
1.18.0-r10
1.18.0-r11
1.18.0-r12
1.18.0-r13
1.18.0-r14
1.18.0-r15
1.20.0-r0
1.20.1-r0
1.20.1-r1
1.20.1-r2
1.20.1-r3
1.20.1-r4
1.20.1-r5
1.20.1-r6
1.20.1-r7
1.20.1-r8
1.20.1-r9
1.20.1-r10
1.20.1-r11
1.20.1-r12
1.20.1-r13
1.20.2-r0
1.20.2-r1

Alpine:v3.19 / nginx

Package

Name
nginx
Purl
pkg:apk/alpine/nginx?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.2-r2

Affected versions

0.*

0.8.53-r0
0.8.54-r0
0.8.54-r1

1.*

1.0.4-r0
1.0.4-r1
1.0.5-r0
1.0.11-r0
1.0.11-r1
1.0.14-r0
1.0.15-r0
1.2.2-r0
1.2.3-r0
1.2.4-r0
1.2.5-r0
1.2.6-r0
1.2.7-r0
1.2.8-r0
1.4.0-r0
1.4.0-r1
1.4.1-r0
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.3-r1
1.4.4-r0
1.4.4-r1
1.4.4-r2
1.4.5-r0
1.4.6-r0
1.4.7-r0
1.6.0-r0
1.6.0-r1
1.6.0-r2
1.6.0-r3
1.6.1-r0
1.6.1-r1
1.6.2-r0
1.6.2-r1
1.6.2-r2
1.6.2-r3
1.6.3-r0
1.8.0-r0
1.8.0-r1
1.8.0-r2
1.8.0-r3
1.8.1-r0
1.8.1-r1
1.9.11-r0
1.9.14-r0
1.9.14-r1
1.10.0-r0
1.10.1-r0
1.10.1-r1
1.10.1-r2
1.10.1-r3
1.10.1-r4
1.10.1-r5
1.10.1-r6
1.10.1-r7
1.10.1-r8
1.10.1-r9
1.10.2-r0
1.10.2-r1
1.10.3-r0
1.10.3-r1
1.10.3-r2
1.10.3-r3
1.10.3-r4
1.10.3-r5
1.12.0-r0
1.12.0-r1
1.12.0-r2
1.12.1-r0
1.12.1-r1
1.12.1-r2
1.12.1-r3
1.12.2-r0
1.12.2-r1
1.12.2-r2
1.12.2-r3
1.12.2-r4
1.12.2-r5
1.12.2-r6
1.14.0-r0
1.14.0-r1
1.14.0-r2
1.14.1-r0
1.14.2-r0
1.14.2-r1
1.16.0-r0
1.16.0-r1
1.16.0-r2
1.16.0-r3
1.16.0-r4
1.16.1-r0
1.16.1-r1
1.16.1-r2
1.16.1-r3
1.16.1-r4
1.16.1-r5
1.16.1-r6
1.16.1-r7
1.16.1-r8
1.18.0-r0
1.18.0-r1
1.18.0-r2
1.18.0-r3
1.18.0-r4
1.18.0-r5
1.18.0-r6
1.18.0-r7
1.18.0-r8
1.18.0-r9
1.18.0-r10
1.18.0-r11
1.18.0-r12
1.18.0-r13
1.18.0-r14
1.18.0-r15
1.20.0-r0
1.20.1-r0
1.20.1-r1
1.20.1-r2
1.20.1-r3
1.20.1-r4
1.20.1-r5
1.20.1-r6
1.20.1-r7
1.20.1-r8
1.20.1-r9
1.20.1-r10
1.20.1-r11
1.20.1-r12
1.20.1-r13
1.20.2-r0
1.20.2-r1

Alpine:v3.20 / nginx

Package

Name
nginx
Purl
pkg:apk/alpine/nginx?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.2-r2

Affected versions

0.*

0.8.53-r0
0.8.54-r0
0.8.54-r1

1.*

1.0.4-r0
1.0.4-r1
1.0.5-r0
1.0.11-r0
1.0.11-r1
1.0.14-r0
1.0.15-r0
1.2.2-r0
1.2.3-r0
1.2.4-r0
1.2.5-r0
1.2.6-r0
1.2.7-r0
1.2.8-r0
1.4.0-r0
1.4.0-r1
1.4.1-r0
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.3-r1
1.4.4-r0
1.4.4-r1
1.4.4-r2
1.4.5-r0
1.4.6-r0
1.4.7-r0
1.6.0-r0
1.6.0-r1
1.6.0-r2
1.6.0-r3
1.6.1-r0
1.6.1-r1
1.6.2-r0
1.6.2-r1
1.6.2-r2
1.6.2-r3
1.6.3-r0
1.8.0-r0
1.8.0-r1
1.8.0-r2
1.8.0-r3
1.8.1-r0
1.8.1-r1
1.9.11-r0
1.9.14-r0
1.9.14-r1
1.10.0-r0
1.10.1-r0
1.10.1-r1
1.10.1-r2
1.10.1-r3
1.10.1-r4
1.10.1-r5
1.10.1-r6
1.10.1-r7
1.10.1-r8
1.10.1-r9
1.10.2-r0
1.10.2-r1
1.10.3-r0
1.10.3-r1
1.10.3-r2
1.10.3-r3
1.10.3-r4
1.10.3-r5
1.12.0-r0
1.12.0-r1
1.12.0-r2
1.12.1-r0
1.12.1-r1
1.12.1-r2
1.12.1-r3
1.12.2-r0
1.12.2-r1
1.12.2-r2
1.12.2-r3
1.12.2-r4
1.12.2-r5
1.12.2-r6
1.14.0-r0
1.14.0-r1
1.14.0-r2
1.14.1-r0
1.14.2-r0
1.14.2-r1
1.16.0-r0
1.16.0-r1
1.16.0-r2
1.16.0-r3
1.16.0-r4
1.16.1-r0
1.16.1-r1
1.16.1-r2
1.16.1-r3
1.16.1-r4
1.16.1-r5
1.16.1-r6
1.16.1-r7
1.16.1-r8
1.18.0-r0
1.18.0-r1
1.18.0-r2
1.18.0-r3
1.18.0-r4
1.18.0-r5
1.18.0-r6
1.18.0-r7
1.18.0-r8
1.18.0-r9
1.18.0-r10
1.18.0-r11
1.18.0-r12
1.18.0-r13
1.18.0-r14
1.18.0-r15
1.20.0-r0
1.20.1-r0
1.20.1-r1
1.20.1-r2
1.20.1-r3
1.20.1-r4
1.20.1-r5
1.20.1-r6
1.20.1-r7
1.20.1-r8
1.20.1-r9
1.20.1-r10
1.20.1-r11
1.20.1-r12
1.20.1-r13
1.20.2-r0
1.20.2-r1

Alpine:v3.21 / nginx

Package

Name
nginx
Purl
pkg:apk/alpine/nginx?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.20.2-r2

Aff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0-r9
1.18.0-r10
1.18.0-r11
1.18.0-r12
1.18.0-r13
1.18.0-r14
1.18.0-r15
1.20.0-r0
1.20.1-r0
1.20.1-r1
1.20.1-r2
1.20.1-r3
1.20.1-r4
1.20.1-r5
1.20.1-r6
1.20.1-r7
1.20.1-r8
1.20.1-r9
1.20.1-r10
1.20.1-r11
1.20.1-r12
1.20.1-r13
1.20.2-r0
1.20.2-r1

Git / github.com/nginx/njs

Affected ranges

Type
GIT
Repo
https://github.com/nginx/njs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.1.10
0.1.11
0.1.12
0.1.13
0.1.14
0.1.15
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.8
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6
0.3.7
0.3.8
0.3.9
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.5.0
0.5.1
0.5.2
0.5.3
0.6.0
0.6.1
0.6.2
0.7.0