CVE-2021-23017
publishednginx: Off-by-one in ngx_resolver_copy() when labels are followed by a pointer to a root domain name
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Nginx Web Server, Nginx PlusNginx Web Server versions 0.6.18 thru 1.20.0 before 1.20.1, Nginx plus versions R13 thru R23 before R23 P1. Nginx plus version R24 before R24 P1 | Affected | Not stated | f5 |
| Amazon Linux | AL2 | Release evaluationALAS2NGINX1-2023-003 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | nginx | Advisory build | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2290 |
| Alpine Linux | edge | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Debian | buster | nginx | Advisory build | 1.14.2-2+deb10u4 | DSA-4921-1 |
| Oracle Linux | 8 | nginxaarch64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| AlmaLinux | 8 | nginx | Advisory build | 1:1.16.1-2.module_el8.5.0+35+6a1225c3.1.alma | ALSA-2021:2290 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nginx | Advisory build | 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx | Advisory build | 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx | Advisory build | 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx | Advisory build | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-all-modules | Advisory build | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-all-modules | Advisory build | 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-all-modules | Advisory build | 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-all-modules | Advisory build | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-filesystem | Advisory build | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-filesystem | Advisory build | 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-filesystem | Advisory build | 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-filesystem | Advisory build | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-http-image-filter | Advisory build | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-http-image-filter | Advisory build | 1:1.16.1-2.module_el8.5.0+35+6a1225c3.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-http-image-filter | Advisory build | 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-http-image-filter | Advisory build | 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-http-image-filter | Advisory build | 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-http-image-filter | Advisory build | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-http-perl | Advisory build | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-http-perl | Advisory build | 1:1.16.1-2.module_el8.5.0+35+6a1225c3.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-http-perl | Advisory build | 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-http-perl | Advisory build | 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-http-perl | Advisory build | 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-http-perl | Advisory build | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-http-xslt-filter | Advisory build | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-http-xslt-filter | Advisory build | 1:1.16.1-2.module_el8.5.0+35+6a1225c3.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-http-xslt-filter | Advisory build | 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-http-xslt-filter | Advisory build | 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-http-xslt-filter | Advisory build | 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-http-xslt-filter | Advisory build | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-mail | Advisory build | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-mail | Advisory build | 1:1.16.1-2.module_el8.5.0+35+6a1225c3.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-mail | Advisory build | 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-mail | Advisory build | 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-mail | Advisory build | 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-mail | Advisory build | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-stream | Advisory build | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-stream | Advisory build | 1:1.16.1-2.module_el8.5.0+35+6a1225c3.1.alma | ALSA-2021:2290 |
| AlmaLinux | 8 | nginx-mod-stream | Advisory build | 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-stream | Advisory build | 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma | ALSA-2021:2259 |
| AlmaLinux | 8 | nginx-mod-stream | Advisory build | 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma | ALSA-2022:0323 |
| AlmaLinux | 8 | nginx-mod-stream | Advisory build | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2022:0323 |
| Alpine Linux | v3.10 | nginx | Fixed | 1.16.1-r3 | Package fix record |
| Alpine Linux | v3.11 | nginx | Fixed | 1.16.1-r7 | Package fix record |
| Alpine Linux | v3.12 | nginx | Fixed | 1.18.0-r2 | Package fix record |
| Alpine Linux | v3.13 | nginx | Fixed | 1.18.0-r14 | Package fix record |
| Alpine Linux | v3.14 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.15 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.16 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.17 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.18 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.19 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.20 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.21 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.22 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.23 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Alpine Linux | v3.24 | nginx | Fixed | 1.20.1-r0 | Package fix record |
| Debian | stretch | nginx | Advisory build | 1.10.3-1+deb9u6 | DLA-2670-1 |
| Oracle Linux | 8 | nginxaarch64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginxaarch64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginxx86_64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginxx86_64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginxx86_64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-all-modulesaarch64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-all-modulesaarch64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-all-modulesaarch64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-all-modulesx86_64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-all-modulesx86_64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-all-modulesx86_64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-filesystemaarch64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-filesystemaarch64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-filesystemaarch64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-filesystemx86_64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-filesystemx86_64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-filesystemx86_64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-mod-http-image-filteraarch64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-mod-http-image-filteraarch64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-mod-http-image-filteraarch64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-mod-http-image-filterx86_64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-mod-http-image-filterx86_64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-mod-http-image-filterx86_64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-mod-http-perlaarch64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-mod-http-perlaarch64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-mod-http-perlaarch64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-mod-http-perlx86_64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-mod-http-perlx86_64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-mod-http-perlx86_64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-mod-http-xslt-filteraarch64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-mod-http-xslt-filteraarch64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-mod-http-xslt-filteraarch64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-mod-http-xslt-filterx86_64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-mod-http-xslt-filterx86_64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
| Oracle Linux | 8 | nginx-mod-http-xslt-filterx86_64 · nginx · 1.20b | Advisory build | 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e | ELSA-2022-0323 |
| Oracle Linux | 8 | nginx-mod-mailaarch64 · nginx · 1.16b | Advisory build | 1:1.16.1-2.0.1.module+el8.4.0+20188+a733e426.1 | ELSA-2021-2290 |
| Oracle Linux | 8 | nginx-mod-mailaarch64 · nginx · 1.18b | Advisory build | 1:1.18.0-3.0.1.module+el8.4.0+20183+8c128c59.1 | ELSA-2021-2259 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A security issue in nginx resolver was identified, which might allow an attacker who is able to forge UDP packets from the DNS server to cause 1-byte memory overwrite, resulting in worker process crash or potential other impact.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Nginx Web Server, Nginx Plus | Nginx Web Server versions 0.6.18 thru 1.20.0 before 1.20.1, Nginx plus versions R13 thru R23 before R23 P1. Nginx plus version R24 before R24 P1 (affected) | f5 · cna |
Weaknesses
1- CWE-193
References
14- http://mailman.nginx.org/pipermail/nginx-announce/2021/000300.html
- http://packetstormsecurity.com/files/167720/Nginx-1.20.0-Denial-Of-Service.html
- [apisix-notifications] 20210608 [GitHub] [apisix-website] liuxiran commented on a change in pull request #362: docs: added "Apache APISIX not affected by NGINX CVE-2021-23017" https://lists.apache.org/thread.html/r37e6b2165f7c910d8e15fd54f4697857619ad2625f56583802004009%40%3Cnotifications.apisix.apache.org%3E
- [apisix-notifications] 20210608 [GitHub] [apisix-website] liuxiran merged pull request #362: docs: added "Apache APISIX not affected by NGINX CVE-2021-23017" https://lists.apache.org/thread.html/r4d4966221ca399ce948ef34884652265729d7d9ef8179c78d7f17e7f%40%3Cnotifications.apisix.apache.org%3E
- [apisix-notifications] 20210607 [GitHub] [apisix-website] Serendipity96 opened a new pull request #362: feat: add new blog https://lists.apache.org/thread.html/r6fc5c57b38e93e36213e9a18c8a4e5dbd5ced1c7e57f08a1735975ba%40%3Cnotifications.apisix.apache.org%3E
- [apisix-notifications] 20210608 [apisix-website] branch master updated: docs: added "Apache APISIX not affected by NGINX CVE-2021-23017" (#362) https://lists.apache.org/thread.html/rf232eecd47fdc44520192810560303073cefd684b321f85e311bad31%40%3Cnotifications.apisix.apache.org%3E
- [apisix-notifications] 20210608 [GitHub] [apisix-website] netlify[bot] edited a comment on pull request #362: docs: added "Apache APISIX not affected by NGINX CVE-2021-23017" https://lists.apache.org/thread.html/rf318aeeb4d7a3a312734780b47de83cefb7e6995da0b2cae5c28675c%40%3Cnotifications.apisix.apache.org%3E
- FEDORA-2021-393d698493 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7SFVYHC7OXTEO4SMBWXDVK6E5IMEYMEE/
- FEDORA-2021-b37cffac0d https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GNKOP2JR5L7KCIZTJRZDCUPJTUONMC5I/
- https://security.netapp.com/advisory/ntap-20210708-0006/
- https://support.f5.com/csp/article/K12331123%2C
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
Provider assertions
2f5 · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2e89a076097407350d17ff5c148a1a22a413e8838f4df351944312da496b588c
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record