Skip to main content
Public proof of conceptFix available

CVE-2021-23017

A public proof of concept exists; no exploitation attested.

  • Published2021-06-01
  • Fixed in1.20.1
  • WeaknessCWE-193

Am I 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
  1. 2021-06-0113:15CVE publishedNVD
  2. 2022-07-11Exploit-DB entryExploit-DB

Versions per branch

NVD · OSV
nginx
BranchAffectedFixed in
1.20≥ 0.6.18, < 1.20.11.20.1
Oracle communications control plane monitor
BranchAffectedFixed in
3.4= 3.4no fix published
4.2= 4.2no fix published
4.3= 4.3no fix published
4.4= 4.4no fix published
Oracle communications operations monitor
BranchAffectedFixed in
3.4= 3.4no fix published
4.2= 4.2no fix published
4.3= 4.3no fix published
4.4= 4.4no fix published

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

  • CVE-2021-23017 Red Hat Product Security403 products fixed · 10 known affected

    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

  • RHSA-2022:0323 Red Hat Product Security55 products fixed

    Red Hat Security Advisory: nginx:1.20 security update

  • RHSA-2021:4618 Red Hat Product Security221 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4 images and security updates

  • RHSA-2021:3873 Red Hat Product Security77 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.2.9 security, bug, and container updates

  • RHSA-2021:3851 Red Hat Product Security10 products fixed

    Red Hat Security Advisory: Red Hat 3scale API Management 2.11.0 Release - Container Images

  • RHSA-2021:3653 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.1.11 security fix and container updates

6 more advisories

Full record on NVD

Fix

  1. Update nginx to 1.20.1
  2. 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
  3. 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_…
  4. 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…
  5. 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
  6. 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…
  7. 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

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-50973
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2021-23017 actively exploited?

Active exploitation of CVE-2021-23017 has not been confirmed. Its EPSS score was 53.5% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-23017?

CVE-2021-23017 has a CVSS v3 base score of 7.7 (High severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L.

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

Sources for this record