CVE-2021-23017
NGINX vulnerability analysis and mitigation

Overview

CVE-2021-23017 is a security vulnerability in nginx resolver identified in May 2021. The vulnerability affects nginx versions 0.6.18 through 1.20.0. This issue allows an attacker who can forge UDP packets from the DNS server to cause a 1-byte memory overwrite, potentially resulting in worker process crash or arbitrary code execution (Nginx Announce).

Technical details

The vulnerability is classified as an off-by-one error (CWE-193) in the nginx resolver component. It has a CVSS v3.1 base score of 7.7 (High), with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L. The issue only affects nginx if the 'resolver' directive is used in the configuration file (NVD).

Impact

A successful exploitation of this vulnerability could lead to worker process crash or potential arbitrary code execution. The vulnerability affects the confidentiality and integrity of the system with high impact, while having a low impact on availability (NVD).

Mitigation and workarounds

The vulnerability was fixed in nginx versions 1.21.0 and 1.20.1. A patch was released to address the issue and is available at nginx.org. Organizations running affected versions should upgrade to the fixed versions (Nginx Announce).

Community reactions

Multiple vendors and organizations responded to this vulnerability. NetApp issued an advisory (NTAP-20210708-0006) for their affected products. Fedora released security updates for both Fedora 33 and 34 to address this vulnerability (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related NGINX vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-33452HIGH7.7
  • NGINXNGINX
  • libnginx-mod-http-lua
NoYesApr 22, 2025
CVE-2025-1695MEDIUM6.9
  • NGINXNGINX
  • nginx
NoYesMar 04, 2025
CVE-2025-53859MEDIUM6.3
  • NGINXNGINX
  • nginx-mod-http-perl
NoYesAug 13, 2025
CVE-2024-7347MEDIUM5.7
  • NGINXNGINX
  • nginx:1.22::nginx-mod-stream
NoYesAug 14, 2024
CVE-2025-23419MEDIUM5.3
  • NGINXNGINX
  • nginx:1.26::nginx-mod-devel
NoYesFeb 05, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management