Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-23017

nginx: Off-by-one in ngx_resolver_copy() when labels are followed by a pointer to a root domain name

Overview

Published
1 Jun 2021
Modified
17 Jun 2026
High CVE
2 Registry packages
24 OS packages
11 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.7 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Weakness: CWE-193

Affected packages · 2

Packages affected by CVE-2021-23017
EcosystemPackageVulnerableFixed in
Bitnami nginx >=0.6.18, <1.20.1 1.20.1
Bitnami nginx-gateway >=0.6.18, <1.20.1 1.20.1

Open a package to see all its vulnerabilities.

Operating systems · 37 fixes

Oracle Linux 1 release · 1 package

fixed 1
nginx
Oracle Linux fixes for CVE-2021-23017
ReleasePackageFixed in
8 nginx +7 1:1.20.1-1.0.1.module+el8.5.0+20483+2c28049e

Photon OS 1 release · 1 package

fixed 1
nginx
Photon OS fixes for CVE-2021-23017
ReleasePackageFixed in
4.0 nginx 1.19.3-2.ph4

Red Hat 5 releases · 3 packages

fixed 7 wont fix 1
rh-nginx116-nginx rh-nginx118-nginx nginx
Red Hat fixes for CVE-2021-23017
ReleasePackageFixed inAdvisory
7 rh-nginx116-nginx +5 1:1.16.1-6.el7 RHSA-2021:2278
7 rh-nginx118-nginx +5 1:1.18.0-3.el7 RHSA-2021:2258
8 (nginx:1.14) nginx +8 wont fix —
8 (nginx:1.16) nginx +7 1:1.16.1-1.module+el8.1.0+11153+6c3a40a9.1 RHSA-2021:2290
8 (nginx:1.16) nginx +7 1:1.16.1-1.module+el8.2.0+11154+636e4c3b.1 RHSA-2021:2290
8 (nginx:1.16) nginx +7 1:1.16.1-2.module+el8.4.0+11155+68135136.1 RHSA-2021:2290

2 more rows

alma 3 releases · 1 package

fixed 3
nginx
alma fixes for CVE-2021-23017
ReleasePackageFixed in
8 (nginx:1.16) nginx +7 1:1.16.1-2.module_el8.4.0+2470+68135136.1.alma
8 (nginx:1.18) nginx +7 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma
8 (nginx:1.20) nginx +7 1:1.20.1-1.module_el8.5.0+2611+ab304644.alma

alpine 4 releases · 1 package

fixed 4
nginx
alpine fixes for CVE-2021-23017
ReleasePackageFixed in
3.22 nginx 1.20.1-r0
3.23 nginx 1.20.1-r0
3.24 nginx 1.20.1-r0
edge nginx 1.20.1-r0

debian 6 releases · 1 package

fixed 6
nginx
debian fixes for CVE-2021-23017
ReleasePackageFixed in
10 nginx 1.14.2-2+deb10u4
11 nginx 1.18.0-6.1
12 nginx 1.18.0-6.1
13 nginx 1.18.0-6.1
14 nginx 1.18.0-6.1
9 nginx 1.10.3-1+deb9u6

echo 1 release · 1 package

fixed 1
nginx
echo fixes for CVE-2021-23017
ReleasePackageFixed in
nginx 1.18.0-6.1

openSUSE 1 release · 1 package

fixed 1
nginx
openSUSE fixes for CVE-2021-23017
ReleasePackageFixed inAdvisory
Tumbleweed nginx +2 1.21.3-1.4 openSUSE-SU-2024:11092-1

rocky 4 releases · 1 package

fixed 6
nginx
rocky fixes for CVE-2021-23017
ReleasePackageFixed in
8 nginx +7 1:1.16.1-2.module+el8.4.0+543+efbf198b.1
8 nginx +7 1:1.18.0-3.module+el8.4.0+544+e40554cf.1
8 (nginx:1.16) nginx +7 1:1.16.1-2.module+el8.4.0+543+efbf198b.1
8 (nginx:1.18) nginx +7 1:1.18.0-3.module+el8.4.0+544+e40554cf.1
8 (nginx:1.20) nginx +7 1:1.20.1-1.module+el8.5.0+729+3f70613e
8 (nginx:1.20) nginx +7 1:1.20.1-1.module+el8.6.0+791+48a2bb9d

root.io debian 1 release · 1 package

fixed 1
rootio-nginx
root.io debian fixes for CVE-2021-23017
ReleasePackageFixed in
12 rootio-nginx 1.18.0-6.1

ubuntu 5 releases · 1 package

fixed 5
nginx
ubuntu fixes for CVE-2021-23017
ReleasePackageFixed in
18.04 nginx 1.14.0-0ubuntu1.9
18.04-ESM nginx 1.14.0-0ubuntu1.9
20.04 nginx 1.18.0-0ubuntu1.2
20.04-ESM nginx 1.18.0-0ubuntu1.2
22.04 nginx 1.18.0-6ubuntu9

References

Show all 26 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.