Vulnerability · Published Jun 8, 2022 · Assigned by apache

CVE-2022-28614read beyond bounds via ap_rwrite()

Medium 5.3

In plain English

A medium-severity integer overflow in Apache HTTP Server from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.1% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)5.1%top 7.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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() function. Modules compiled and distributed separately from Apache HTTP Server that use the 'ap_rputs' function and may pass it a very large (INT_MAX or larger) string must be compiled against current headers to resolve the issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8httpd2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd2.4.53-7.el9ALSA-2022:8067
AlmaLinux:9httpd-core2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8httpd-devel2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd-devel2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8httpd-filesystem2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd-filesystem2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8httpd-manual2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd-manual2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8httpd-tools2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd-tools2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8mod_http21.15.7-5.module_el8.6.0+2872+fe0ff7aaALSA-2022:7647
AlmaLinux:8mod_http21.15.7-5.module_el8.6.0+3031+fb177b09ALSA-2022:7647
AlmaLinux:8mod_ldap2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9mod_ldap2.4.53-7.el9ALSA-2022:8067
AlmaLinux:9mod_lua2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8mod_md1:2.0.8-8.module_el8.6.0+3031+fb177b09ALSA-2022:7647
AlmaLinux:8mod_md1:2.0.8-8.module_el8.6.0+2872+fe0ff7aaALSA-2022:7647
AlmaLinux:8mod_proxy_html1:2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9mod_proxy_html1:2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8mod_session2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9mod_session2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8mod_ssl1:2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9mod_ssl1:2.4.53-7.el9ALSA-2022:8067
Alpine:v3.20apache22.4.54-r0ALPINE-CVE-2022-28614
Alpine:v3.21apache22.4.54-r0ALPINE-CVE-2022-28614
Alpine:v3.22apache22.4.54-r0ALPINE-CVE-2022-28614
Alpine:v3.23apache22.4.54-r0ALPINE-CVE-2022-28614
Alpine:v3.24apache22.4.54-r0ALPINE-CVE-2022-28614
Debian:12apache22.4.54-1DEBIAN-CVE-2022-28614
Debian:13apache22.4.54-1DEBIAN-CVE-2022-28614
Debian:14apache22.4.54-1DEBIAN-CVE-2022-28614
Rocky Linux:8httpd0:2.4.37-51.module+el8.7.0+1059+126e9251RLSA-2022:7647
Rocky Linux:9httpd0:2.4.53-7.el9RLSA-2022:8067
Rocky Linux:8mod_http20:1.15.7-5.module+el8.6.0+823+f143cee1RLSA-2022:7647
Rocky Linux:8mod_md1:2.0.8-8.module+el8.4.0+553+7a69454bRLSA-2022:7647
Rocky Linux:8mod_md1:2.0.8-8.module+el8.5.0+695+1fa8055eRLSA-2022:7647
Ubuntu:22.04:LTSapache22.4.52-1ubuntu4.1USN-5487-1
Ubuntu:22.04:LTSapache22.4.52-1ubuntu4.1UBUNTU-CVE-2022-28614

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache HTTP Server unspecified – through 2.4.53

Weakness: CWE-190, CWE-200

References