Important: nginx:1.18 security update

nginx Updated 02 Oct 2025

Summary

07/06/2021
N/A
Yes i
Unrated
Not published

ALSA-2021:2259: Important: nginx:1.18 security update. Affects nginx across 2 version ranges.

< 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma < 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma

Fixed in 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma or 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

nginx is a web and proxy server that supports HTTP and other protocols. It is designed for high concurrency, performance, and low memory usage. The package is widely used in web hosting, reverse proxying, load balancing, and caching. It is vulnerable to an off-by-one error in the ngx_resolver_copy() function when labels are followed by a pointer to a root domain name.

Vulnerability Detail

The vulnerability in nginx (CVE-2021-23017) is an off-by-one error in the ngx_resolver_copy() function. This occurs when labels are followed by a pointer to a root domain name. An attacker could exploit this vulnerability to cause a denial-of-service (DoS) condition or potentially execute arbitrary code on the affected server. The impact of this vulnerability is considered important.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

sudo dnf update nginx
  • < 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma
  • < 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to update the nginx package to the fixed version.

Conclusion

In conclusion, the nginx package is vulnerable to an off-by-one error in the ngx_resolver_copy() function. This vulnerability can be fixed by updating the package to version 1.18.0-3.module_el8.5.0+36+48437aab.1.alma or later. If you require further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for nginx →

Share this vulnerability

FAQ

nginx is a web and proxy server that supports HTTP and other protocols. It is known for its high concurrency, performance, and low memory usage.

The vulnerability could lead to a denial-of-service (DoS) condition or potential execution of arbitrary code on the affected server.

To fix this vulnerability, update the nginx package to version 1.18.0-3.module_el8.5.0+36+48437aab.1.alma or later.

There is no known workaround for this vulnerability. It is recommended to update the nginx package to the fixed version.

You can find more information about this vulnerability in the CVE page: CVE-2021-23017.

Related vulnerabilities

Recent vulnerabilities recorded for nginx.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

sudo dnf update nginx
  • < 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma 1:1.18.0-3.module_el8.4.0+2472+f736ed63.1.alma
  • < 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma 1:1.18.0-3.module_el8.5.0+36+48437aab.1.alma

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback