CVE-2021-23017: f5 nginx Off-by-one Error
CVSS: 7.7v3.1HighModified
AliasesALPINE-CVE-2021-23017MGASA-2021-0301SUSE-SU-2021:1792-1SUSE-SU-2021:1814-1SUSE-SU-2021:1815-1SUSE-SU-2021:1839-1RHBA-2021:2955RHSA-2021:2258RHSA-2021:2259RHSA-2021:2278RHSA-2021:2290RHSA-2022:0323UBUNTU-CVE-2021-23017USN-4967-1USN-4967-2DEBIAN-CVE-2021-23017DLA-2670-1DSA-4921-1openSUSE-SU-2021:0835-1openSUSE-SU-2021:1815-1
Published 01-06-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-23017 is a high (CVSS 7.7) Off-by-one Error vulnerability in f5 nginx. EPSS estimates a 53.46% chance of exploitation in the next 30 days, higher than 98.9% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.7/10
010
High · v3.1 (NVD)EPSS score
53.46%
0%100%
Critical · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1exploit-database
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 01-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versionsHigh 7.7Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:LSources5 sources · 7.7–8.1
- OSV · AlpineEcosystem advisory · calculated7.7HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
- OSV · Red hatEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.7HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
- OSV · DebianEcosystem advisory · calculated7.7HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
53.46%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 53.46% on 18-09-2026
18-09-202618-10-2026
EPSS score53.46%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundNginx 1.20.0 - Denial of Service (DOS)
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Redhat34 products
- automation-hub< 0:4.2.5-1.el7pc | < 0:4.2.5-1.el8pc
- nginx< 1:1.18.0-3.module+el8.4.0+11152+f736ed63.1 | < 1:1.16.1-1.module+el8.1.0+11153+6c3a40a9.1 | < 1:1.16.1-1.module+el8.2.0+11154+636e4c3b.1 | < 1:1.16.1-2.module+el8.4.0+11155+68135136.1 | < 1:1.20.1-1.module+el8.5.0+13723+ab304644
- nginx-all-modules< 1:1.18.0-3.module+el8.4.0+11152+f736ed63.1 | < 1:1.16.1-1.module+el8.1.0+11153+6c3a40a9.1 | < 1:1.16.1-1.module+el8.2.0+11154+636e4c3b.1 | < 1:1.16.1-2.module+el8.4.0+11155+68135136.1 | < 1:1.20.1-1.module+el8.5.0+13723+ab304644
- nginx-debuginfo< 1:1.18.0-3.module+el8.4.0+11152+f736ed63.1 | < 1:1.16.1-1.module+el8.1.0+11153+6c3a40a9.1 | < 1:1.16.1-1.module+el8.2.0+11154+636e4c3b.1 | < 1:1.16.1-2.module+el8.4.0+11155+68135136.1 | < 1:1.20.1-1.module+el8.5.0+13723+ab304644
- nginx-debugsource< 1:1.18.0-3.module+el8.4.0+11152+f736ed63.1 | < 1:1.16.1-1.module+el8.1.0+11153+6c3a40a9.1 | < 1:1.16.1-1.module+el8.2.0+11154+636e4c3b.1 | < 1:1.16.1-2.module+el8.4.0+11155+68135136.1 | < 1:1.20.1-1.module+el8.5.0+13723+ab304644
Suse15 products
- nginx&distro=SUSE Enterprise Storage 6< 1.16.1-6.13.1
- nginx&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 1.16.1-6.13.1
- nginx&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 1.16.1-6.13.1
- nginx&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS< 1.16.1-3.15.1
- nginx&distro=SUSE Linux Enterprise High Performance Computing 15-LTSS< 1.16.1-3.15.1
Oracle9 products
- blockchain_platform< 21.1.2
- communications_control_plane_monitor3.4 | 4.2 | 4.3 | 4.4
- communications_fraud_monitor≥ 3.4, ≤ 4.4
- communications_operations_monitor3.4 | 4.2 | 4.3 | 4.4
- communications_session_border_controller8.4 | 9.0
Mageia2 products
- nginx< 1.16.1-1.3.mga7
- nginx< 1.18.0-5.1.mga8
Opensuse2 products
- nginx&distro=openSUSE Leap 15.2< 1.16.1-lp152.2.3.1
- nginx&distro=openSUSE Leap 15.3< 1.19.8-3.3.1
Alpine1 product
- nginx≥ 0.6.18, < 1.16.1-r3 | ≥ 0.6.18, < 1.16.1-r7 | ≥ 0.6.18, < 1.18.0-r2 | ≥ 0.6.18, < 1.18.0-r14 | ≥ 0.6.18, < 1.20.1-r0
Debian1 product
- nginx< 1.18.0-6.1 | < 1.14.2-2+deb10u4 | < 1.10.3-1+deb9u6
F51 product
- nginx≥ 0.6.18, < 1.20.1
Fedoraproject1 product
- fedoraEOL33 | 34
Netapp1 product
Openresty1 product
- openresty< 1.19.3.2
Ubuntu1 product
- nginx< 1.14.0-0ubuntu1.9 | < 1.18.0-0ubuntu1.2 | < 1.4.6-1ubuntu3.9+esm2 | < 1.10.3-0ubuntu0.16.04.5+esm1
12 vendors · 69 products
References
50 links- support.f5.com/csp/article/K12331123%2CX Refsource MISC
- mailman.nginx.org/pipermail/nginx-announce/2021/000300.htmlX Refsource MISCMailing ListPatchVendor Advisory
Show all 50 references
- packetstormsecurity.com/files/167720/Nginx-1.20.0-Denial-Of-Service.htmlX Refsource MISCThird Party AdvisoryVDB Entry
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory