Apache HTTP Server 2.4.53 and earlier - Unintended Memory Read

apache2 Updated 02 Oct 2025

Summary

09/06/2022
N/A
Yes i
Medium
5.3

CVE-2022-28614: The ap_rwrite() function in Apache HTTP Server 2.4.53 and earlier may read unintended memory if an attacker can cause the server to reflect very large input using ap_rwrite() or ap_rputs(), such as with mod_luas r:puts()... Affects apache2 across 2 version ranges.

< 2.4.54-r0 < 4654faee107e0c3a830c204a1dc94700705e8e86

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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache HTTP Server is a widely used open-source web server software. It provides a reliable and scalable platform for hosting websites and applications. The server handles incoming requests and serves the requested content to clients. However, versions 2.4.53 and earlier of Apache HTTP Server are vulnerable to an unintended memory read issue.

Vulnerability Detail

The vulnerability (CVE-2022-28614) arises from the ap_rwrite() function in Apache HTTP Server. If an attacker can manipulate the server to reflect very large input using ap_rwrite() or ap_rputs(), they can trigger the server to read unintended memory. This can occur when modules compiled separately from Apache HTTP Server use the 'ap_rputs' function and pass it a very large string. The issue can be resolved by compiling these modules against the current headers.

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

There is no specific workaround mentioned for this vulnerability. Updating to the fixed version is the recommended solution.

Conclusion

The vulnerability in Apache HTTP Server 2.4.53 and earlier allows an attacker to read unintended memory. To mitigate this issue, it is crucial to update to version 2.4.54-r0 or later and recompile any separately compiled modules against the updated headers. For further support on 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.

The vulnerability allows an attacker to read unintended memory, which could potentially lead to information disclosure or other security issues.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Apache HTTP Server version is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will provide real-time alerts for open-source vulnerabilities.

Yes, updating Apache HTTP Server to version 2.4.54-r0 or later resolves this vulnerability. Additionally, modules compiled separately from Apache HTTP Server should be recompiled against the updated headers.

You can find more information about this vulnerability in the CVE-2022-28614 JSON report available at https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28614.json

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