Apache HTTP Server 2.4.53 and earlier - Read Beyond Bounds Vulnerability (CVE-2022-28615)

apache2 Updated 02 Oct 2025

Summary

09/06/2022
N/A
Yes i
Critical
9.1

CVE-2022-28615: Apache HTTP Server 2.4.53 and earlier may crash or disclose information due to a read beyond bounds in ap_strcmp_match() when provided with an extremely large input buffer. Affects apache2 across 2 version ranges.

< 2.4.54-r0 < 5ed6876d88a45356ea39ece729853fc9c9f37e2d

Fixed in 2.4.54-r0. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache HTTP Server is a widely used open-source web server software. It provides a secure and efficient platform for hosting websites and applications. The Apache HTTP Server version 2.4.53 and earlier are affected by a vulnerability that can lead to a crash or information disclosure. This vulnerability resides in the ap_strcmp_match() function, which can be triggered by providing an extremely large input buffer. While the server's own code cannot be coerced into triggering this vulnerability, third-party modules or Lua scripts that use ap_strcmp_match() may potentially be affected.

Vulnerability Detail

The vulnerability (CVE-2022-28615) in Apache HTTP Server 2.4.53 and earlier arises from a read beyond bounds issue in the ap_strcmp_match() function. When an excessively large input buffer is provided, it can cause the function to read beyond the intended bounds. This can result in a crash or information disclosure. Although the server's own code cannot be manipulated to trigger this vulnerability, it may impact third-party modules or Lua scripts that utilize ap_strcmp_match(). The potential consequences of this vulnerability include unauthorized access to sensitive information or a denial of service (DoS) condition.

How To Fix

Minimum fixed version

2.4.54-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As this vulnerability primarily affects third-party modules or Lua scripts, there is no specific workaround provided by the Apache HTTP Server project. However, it is advisable to review and update any third-party modules or Lua scripts used in conjunction with the server to ensure they are not vulnerable to this issue. Additionally, monitoring and restricting access to sensitive information can help mitigate the impact of a potential information disclosure.

Conclusion

The Apache HTTP Server version 2.4.53 and earlier are vulnerable to a read beyond bounds issue in the ap_strcmp_match() function. Upgrading to version 2.4.54 or later is recommended to mitigate this vulnerability. It is also important to review and update any third-party modules or Lua scripts used in conjunction with the server. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for apache2 →

Share this vulnerability

FAQ

Apache HTTP Server is an open-source web server software widely used for hosting websites and applications.

Apache HTTP Server versions 2.4.53 and earlier are affected by this vulnerability.

This vulnerability can be exploited by providing an extremely large input buffer to the ap_strcmp_match() function, potentially leading to a crash or information disclosure.

No, the Apache HTTP Server code cannot be coerced into triggering this vulnerability. However, third-party modules or Lua scripts that use ap_strcmp_match() may be affected.

The potential consequences include unauthorized access to sensitive information or a denial of service (DoS) condition.

Related vulnerabilities

Recent vulnerabilities recorded for apache2.

How To Fix

Minimum fixed version

2.4.54-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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