CVE-2021-23017high 7.7PoC available
NGINX resolver compression-pointer off-by-one
A DNS name ending with a label followed by a compression pointer to a NUL byte made the sizing pass allocate one byte too little while the copy pass still emitted a dot.
- Product
- NGINX
- Vendor
- F5 / NGINX
- Affected
- NGINX 0.6.18 through 1.20.0 when the built-in resolver is configured
- Fixed in
- 1.20.1 and 1.21.0
- Weakness
- CWE-193
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
- Published
- 1 Jun 2021
Classified as
References
Related CVEs
- CVE-2026-42533critical 9.22026
NGINX map regex two-pass capture clobbering
A regex-backed map can replace shared capture state during two-pass script evaluation, making the value pass outgrow its allocation or return an uninitialized heap tail.
- CVE-2026-42945high 8.12026
NGINX Rift: rewrite capture sizing heap overflow
The rewrite engine can size a captured replacement with cleared argument-escaping state, then copy it with escaping enabled and overrun the allocation.
- CVE-2023-44487high 7.52023
HTTP/2 Rapid Reset: NGINX stream churn denial of service
Rapid HEADERS and RST_STREAM pairs recycle concurrent-stream capacity while repeatedly making the server perform request setup work.