PT-2021-3126 · Nginx+9 · Nginx+9

CVE-2021-23017

·

Published

2021-05-25

·

Updated

2026-05-24

CVSS v3.1

7.7

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Name of the Vulnerable Software and Affected Versions nginx versions 1.20.0
Description A security issue in the nginx resolver was identified, which might allow an attacker who is able to forge UDP packets from the DNS server to cause a 1-byte memory overwrite, resulting in a worker process crash or potential other impact. The issue is related to an off-by-one heap write vulnerability in the ngx resolver copy() function.
Recommendations For nginx version 1.20.0, update to a newer version that contains a fix for this issue. As a temporary workaround, consider restricting access to the DNS resolver to minimize the risk of exploitation.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2021:2259
ALSA-2021:2290
ALSA-2021_2259
ALSA-2021_2290
ALSA-2022:0323
ALSA-2022_0323
ALT-PU-2021-2022
ALT-PU-2021-2047
ALT-PU-2021-2131
BDU:2021-02749
BIT-NGINX-2021-23017
BIT-NGINX-GATEWAY-2021-23017
CESA-2021_2259
CESA-2021_2290
CESA-2022_0323
CLEANSTART-2026-AF45008
CLEANSTART-2026-BA37192
CLEANSTART-2026-MQ02912
CLEANSTART-2026-XB16901
CLEANSTART-2026-ZN32454
CLEANSTART-2026-ZT77083
CVE-2021-23017
DLA-2670-1
DSA-4921-1
ELSA-2021-2259
ELSA-2021-2290
ELSA-2022-0323
MGASA-2021-0301
OESA-2021-1225
OPENSUSE-SU-2021:0835-1
OPENSUSE-SU-2021:1815-1
OPENSUSE-SU-2021_0835-1
OPENSUSE-SU-2021_1815-1
OPENSUSE-SU-2024:11092-1
RHSA-2021:2258
RHSA-2021:2259
RHSA-2021:2278
RHSA-2021:2290
RHSA-2021_2259
RHSA-2021_2290
RHSA-2022:0323
RHSA-2022_0323
RLSA-2021:2259
RLSA-2021:2290
RLSA-2021_2259
RLSA-2021_2290
RLSA-2022:0323
RLSA-2022_0323
SUSE-SU-2021:1792-1
SUSE-SU-2021:1814-1
SUSE-SU-2021:1815-1
SUSE-SU-2021:1839-1
SUSE-SU-2021_1792-1
SUSE-SU-2021_1814-1
SUSE-SU-2021_1815-1
SUSE-SU-2021_1839-1
USN-4967-1
USN-4967-2

Affected Products

Alt Linux
Almalinux
Centos
Linuxmint
Nginx
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu