CVE-2021-23017
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.
What to do
Likely to be exploited: EPSS gives a 53% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | nginx | Fixed | 1.18.0-0ubuntu1.2 | UBUNTU-CVE-2021-23017 |
| Ubuntu 18.04 | nginx | Fixed | 1.14.0-0ubuntu1.9 | UBUNTU-CVE-2021-23017 |
| Ubuntu 16.04 | nginx | Fix pending | 1.10.3-0ubuntu0.16.04.5+esm1 (Ubuntu Pro) | UBUNTU-CVE-2021-23017 |
| Ubuntu 14.04 | nginx | Fix pending | 1.4.6-1ubuntu3.9+esm2 (Ubuntu Pro) | UBUNTU-CVE-2021-23017 |
| Debian 14 | nginx | Fixed | 1.18.0-6.1 | DEBIAN-CVE-2021-23017 |
| Debian 13 | nginx | Fixed | 1.18.0-6.1 | DEBIAN-CVE-2021-23017 |
| Debian 12 | nginx | Fixed | 1.18.0-6.1 | DEBIAN-CVE-2021-23017 |
| Red Hat Enterprise Linux 9 | nginx | Not affected | ||
| Red Hat Enterprise Linux 9 | nginx-all-modules | Not affected | ||
| Red Hat Enterprise Linux 9 | nginx-core | Not affected | ||
| Red Hat Enterprise Linux 9 | nginx-filesystem | Not affected | ||
| Red Hat Enterprise Linux 9 | nginx-mod-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | nginx-mod-http-image-filter | Not affected | ||
| Red Hat Enterprise Linux 9 | nginx-mod-http-perl | Not affected | ||
| Red Hat Enterprise Linux 9 | nginx-mod-http-xslt-filter | Not affected | ||
| Red Hat Enterprise Linux 9 | nginx-mod-mail | Not affected | ||
| Red Hat Enterprise Linux 9 | nginx-mod-stream | Not affected | ||
| Red Hat Enterprise Linux 8 | nginx | Fixed Will not fix | 1:1.18.0-3.module+el8.4.0+11152+f736ed63.1 | RHSA-2022:0323 |
| Red Hat Enterprise Linux 8 | nginx-all-modules | Fixed Will not fix | 1:1.16.1-2.module+el8.4.0+11155+68135136.1 | RHSA-2022:0323 |
| Red Hat Enterprise Linux 8 | nginx-filesystem | Fixed Will not fix | 1:1.16.1-2.module+el8.4.0+11155+68135136.1 | RHSA-2022:0323 |
| Red Hat Enterprise Linux 8 | nginx-mod-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | nginx-mod-http-image-filter | Fixed Will not fix | 1:1.16.1-2.module+el8.4.0+11155+68135136.1 | RHSA-2022:0323 |
| Red Hat Enterprise Linux 8 | nginx-mod-http-perl | Fixed Will not fix | 1:1.18.0-3.module+el8.4.0+11152+f736ed63.1 | RHSA-2021:2290 |
| Red Hat Enterprise Linux 8 | nginx-mod-http-xslt-filter | Fixed Will not fix | 1:1.20.1-1.module+el8.5.0+13723+ab304644 | RHSA-2021:2259 |
| Red Hat Enterprise Linux 8 | nginx-mod-mail | Fixed Will not fix | 1:1.18.0-3.module+el8.4.0+11152+f736ed63.1 | RHSA-2022:0323 |
| Red Hat Enterprise Linux 8 | nginx-mod-stream | Fixed Will not fix | 1:1.16.1-2.module+el8.4.0+11155+68135136.1 | RHSA-2022:0323 |
| AlmaLinux 8 | nginx | Fixed | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2259 |
| AlmaLinux 8 | nginx-all-modules | Fixed | 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma | ALSA-2022:0323 |
| AlmaLinux 8 | nginx-filesystem | Fixed | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2022:0323 |
| AlmaLinux 8 | nginx-mod-http-image-filter | Fixed | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2022:0323 |
| AlmaLinux 8 | nginx-mod-http-perl | Fixed | 1:1.20.1-1.module_el8.6.0+2782+a022aca3.alma | ALSA-2021:2259 |
| AlmaLinux 8 | nginx-mod-http-xslt-filter | Fixed | 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma | ALSA-2022:0323 |
| AlmaLinux 8 | nginx-mod-mail | Fixed | 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma | ALSA-2021:2290 |
| AlmaLinux 8 | nginx-mod-stream | Fixed | 1:1.16.1-2.module_el8.5.0+35+6a1225c3.1.alma | ALSA-2022:0323 |
| Rocky Linux 8 | nginx | Fixed | 1:1.18.0-3.module+el8.4.0+544+e40554cf.1 | RLSA-2022:0323 |
| Alpine Linux 3.24 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.23 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.22 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.21 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.20 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.19 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.18 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.17 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.16 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.15 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.14 | nginx | Fixed | 1.20.1-r0 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.13 | nginx | Fixed | 1.18.0-r14 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.12 | nginx | Fixed | 1.18.0-r2 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.11 | nginx | Fixed | 1.16.1-r7 | ALPINE-CVE-2021-23017 |
| Alpine Linux 3.10 | nginx | Fixed | 1.16.1-r3 | ALPINE-CVE-2021-23017 |
What the vendor says
As published in the CVE record by f5, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Nginx Web Server, Nginx Plus: affected: 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
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://support.f5.com/csp/article/K12331123%2C
- http://mailman.nginx.org/pipermail/nginx-announce/2021/000300.html
- https://lists.apache.org/thread.html/r6fc5c57b38e93e36213e9a18c8a4e5dbd5ced1c7e57f08a1735975ba%40%3Cnotifications.apisix.apache.org%3E
- https://lists.apache.org/thread.html/r37e6b2165f7c910d8e15fd54f4697857619ad2625f56583802004009%40%3Cnotifications.apisix.apache.org%3E
- https://lists.apache.org/thread.html/rf318aeeb4d7a3a312734780b47de83cefb7e6995da0b2cae5c28675c%40%3Cnotifications.apisix.apache.org%3E
- https://lists.apache.org/thread.html/r4d4966221ca399ce948ef34884652265729d7d9ef8179c78d7f17e7f%40%3Cnotifications.apisix.apache.org%3E
- https://lists.apache.org/thread.html/rf232eecd47fdc44520192810560303073cefd684b321f85e311bad31%40%3Cnotifications.apisix.apache.org%3E
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GNKOP2JR5L7KCIZTJRZDCUPJTUONMC5I/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7SFVYHC7OXTEO4SMBWXDVK6E5IMEYMEE/
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://security.netapp.com/advisory/ntap-20210708-0006/
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- http://packetstormsecurity.com/files/167720/Nginx-1.20.0-Denial-Of-Service.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.