CVE-2021-23017
A public proof of concept exists; no exploitation attested.
- Published2021-06-01
- Fixed in1.20.1
- WeaknessCWE-193
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2021-06-0113:15CVE publishedNVD
- 2022-07-11Exploit-DB entryExploit-DB
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.20 | ≥ 0.6.18, < 1.20.1 | 1.20.1 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.4 | = 3.4 | no fix published | NVD |
| 4.2 | = 4.2 | no fix published | NVD |
| 4.3 | = 4.3 | no fix published | NVD |
| 4.4 | = 4.4 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.4 | = 3.4 | no fix published | NVD |
| 4.2 | = 4.2 | no fix published | NVD |
| 4.3 | = 4.3 | no fix published | NVD |
| 4.4 | = 4.4 | no fix published | NVD |
10 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- automation-hubRed Hat:ansible_automation_platform:4.2::el8all versions · fixed in 0:4.2.5-1.el8pc
- automation-hubRed Hat:ansible_automation_platform:4.2::el7all versions · fixed in 0:4.2.5-1.el7pc
- nginxUbuntu:Pro:16.04:LTSall versions · fixed in 1.10.3-0ubuntu0.16.04.5+esm1
- nginxUbuntu:Pro:14.04:LTSall versions · fixed in 1.4.6-1ubuntu3.9+esm2
- nginxUbuntu:20.04:LTSall versions · fixed in 1.18.0-0ubuntu1.2
- nginxUbuntu:18.04:LTSall versions · fixed in 1.14.0-0ubuntu1.9
- nginxTuxCare:Ubuntu:16.04all versions · fixed in 1.10.3-0ubuntu0.16.04.6and 6 other packages
- nginxTuxCare:Ubuntu:16.04all versions · fixed in 1.10.3-0ubuntu0.16.04.7and 6 other packages
70 more package ranges on OSV.dev
Vendor advisories
nginx: Off-by-one in ngx_resolver_copy() when labels are followed by a pointer to a root domain name
nginx-all-modules (nginx:1.14) as a component of Red Hat Enterprise Linux 8 · nginx-filesystem (nginx:1.14) as a component of Red Hat Enterprise Linux 8 · nginx-mod-devel (nginx:1.14) as a component of Red Hat Enterprise Linux 8 · +7 more
Red Hat Security Advisory: nginx:1.20 security update
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4 images and security updates
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.2.9 security, bug, and container updates
Red Hat Security Advisory: Red Hat 3scale API Management 2.11.0 Release - Container Images
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.1.11 security fix and container updates
6 more advisories
Fix
- Update nginx to 1.20.1
- Vendor fix Red Hat Product Security RHSA-2022:0323 · 55 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2021:4618 · 221 productsFor Red Hat Advanced Cluster Management for Kubernetes, see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://access.redhat.com/documentation/en-us/red_hat_…
- Vendor fix Red Hat Product Security RHSA-2021:3873 · 77 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.2/html-single/install/index#instal…
- Vendor fix Red Hat Product Security RHSA-2021:3851 · 10 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_3scale_api_management/2.11/html-single/installing_3scale/index
- Vendor fix Red Hat Product Security RHSA-2021:3653 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. *Important:* This upgrade of Red Hat Advanced Cluster Management for Kubernetes is not supported when you are running Red Hat Advanced Cluster Management on Red Hat OpenShift Containe…
- Vendor fix Red Hat Product Security RHBA-2021:3472 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
Advisories and patches
- mailman.nginx.orgPatch · Vendor Advisory
- www.oracle.comPatch
- www.oracle.comPatch
- www.oracle.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- PoC-in-GitHub9 repositories, unverifiedknown since 2026-11-01niandy/nginx-patchM507/CVE-2021-23017-PoClakshit1212/CVE-2021-23017-PoCShivamDey/CVE-2021-23017z3usx01/CVE-2021-23017-POC
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.7read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- CNAweakness (CWE)CWE-193known since 2026-10-23
- NVDweakness (CWE)CWE-193read 2026-10-23
- FIRST EPSSEPSS score53.5 %read 2026-12-04
- PoC-in-GitHubproof of concept9known since 2026-11-01
- Exploit-DBdetectionread 2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- BIT-nginx-2021-23017same flawBitnami · Apache-2.0
- BIT-nginx-gateway-2021-23017same flawBitnami · Apache-2.0
- EUVD-2021-10135same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-83p9-mcpm-374vsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1993same flawJulia Security Advisories · CC-BY-4.0
- ALSA-2021:2259advisory covering several CVEsAlmaLinux · MIT
- ALSA-2021:2290advisory covering several CVEsAlmaLinux · MIT
- ALSA-2022:0323advisory covering several CVEsAlmaLinux · MIT
- DLA-2670-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4921-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2021-0301advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2021-1225advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2021:0835-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:1815-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:11092-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHBA-2021:2955advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:2258advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:2259advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:2278advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2021:2290advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2022:0323advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2021:2259advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2021:2290advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2022:0323advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2021:1792-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:1814-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:1815-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:1839-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-4967-1advisory covering several CVEsUbuntu
- USN-4967-2advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
- Published
- 2021-06-01
- Last modified
- 2024-11-21
- NVD status
- Modified
- GitHub advisory
- GHSA-83p9-mcpm-374v
Frequently asked questions
What is CVE-2021-23017?
Is CVE-2021-23017 actively exploited?
What is the CVSS score for CVE-2021-23017?
Running nginx? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2023-44487KEVsame product
- CVE-2026-42945same product
- CVE-2026-123007same productNGINX ngx_http_v2_module vulnerability
- CVE-2026-49975same productApache HTTP Server: mod_http2 denial of service
- CVE-2026-27654same product
- CVE-2026-123633same productNGINX ngx_http_v2_module vulnerability
- CVE-2026-123634same productNGINX resolver vulnerability
- CVE-2026-121810same productNGINX ngx_http_v3_module vulnerability
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-83p9-mcpm-374v
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0