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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | httpd | 2.4.37-51.module_el8.7.0+3281+01e58653 | ALSA-2022:7647 |
| AlmaLinux:9 | httpd | 2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:9 | httpd-core | 2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:8 | httpd-devel | 2.4.37-51.module_el8.7.0+3281+01e58653 | ALSA-2022:7647 |
| AlmaLinux:9 | httpd-devel | 2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:8 | httpd-filesystem | 2.4.37-51.module_el8.7.0+3281+01e58653 | ALSA-2022:7647 |
| AlmaLinux:9 | httpd-filesystem | 2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:8 | httpd-manual | 2.4.37-51.module_el8.7.0+3281+01e58653 | ALSA-2022:7647 |
| AlmaLinux:9 | httpd-manual | 2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:8 | httpd-tools | 2.4.37-51.module_el8.7.0+3281+01e58653 | ALSA-2022:7647 |
| AlmaLinux:9 | httpd-tools | 2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:8 | mod_http2 | 1.15.7-5.module_el8.6.0+2872+fe0ff7aa | ALSA-2022:7647 |
| AlmaLinux:8 | mod_http2 | 1.15.7-5.module_el8.6.0+3031+fb177b09 | ALSA-2022:7647 |
| AlmaLinux:8 | mod_ldap | 2.4.37-51.module_el8.7.0+3281+01e58653 | ALSA-2022:7647 |
| AlmaLinux:9 | mod_ldap | 2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:9 | mod_lua | 2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:8 | mod_md | 1:2.0.8-8.module_el8.6.0+3031+fb177b09 | ALSA-2022:7647 |
| AlmaLinux:8 | mod_md | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | ALSA-2022:7647 |
| AlmaLinux:8 | mod_proxy_html | 1:2.4.37-51.module_el8.7.0+3281+01e58653 | ALSA-2022:7647 |
| AlmaLinux:9 | mod_proxy_html | 1:2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:8 | mod_session | 2.4.37-51.module_el8.7.0+3281+01e58653 | ALSA-2022:7647 |
| AlmaLinux:9 | mod_session | 2.4.53-7.el9 | ALSA-2022:8067 |
| AlmaLinux:8 | mod_ssl | 1:2.4.37-51.module_el8.7.0+3281+01e58653 | ALSA-2022:7647 |
| AlmaLinux:9 | mod_ssl | 1:2.4.53-7.el9 | ALSA-2022:8067 |
| Alpine:v3.20 | apache2 | 2.4.54-r0 | ALPINE-CVE-2022-28614 |
| Alpine:v3.21 | apache2 | 2.4.54-r0 | ALPINE-CVE-2022-28614 |
| Alpine:v3.22 | apache2 | 2.4.54-r0 | ALPINE-CVE-2022-28614 |
| Alpine:v3.23 | apache2 | 2.4.54-r0 | ALPINE-CVE-2022-28614 |
| Alpine:v3.24 | apache2 | 2.4.54-r0 | ALPINE-CVE-2022-28614 |
| Debian:12 | apache2 | 2.4.54-1 | DEBIAN-CVE-2022-28614 |
| Debian:13 | apache2 | 2.4.54-1 | DEBIAN-CVE-2022-28614 |
| Debian:14 | apache2 | 2.4.54-1 | DEBIAN-CVE-2022-28614 |
| Rocky Linux:8 | httpd | 0:2.4.37-51.module+el8.7.0+1059+126e9251 | RLSA-2022:7647 |
| Rocky Linux:9 | httpd | 0:2.4.53-7.el9 | RLSA-2022:8067 |
| Rocky Linux:8 | mod_http2 | 0:1.15.7-5.module+el8.6.0+823+f143cee1 | RLSA-2022:7647 |
| Rocky Linux:8 | mod_md | 1:2.0.8-8.module+el8.4.0+553+7a69454b | RLSA-2022:7647 |
| Rocky Linux:8 | mod_md | 1:2.0.8-8.module+el8.5.0+695+1fa8055e | RLSA-2022:7647 |
| Ubuntu:22.04:LTS | apache2 | 2.4.52-1ubuntu4.1 | USN-5487-1 |
| Ubuntu:22.04:LTS | apache2 | 2.4.52-1ubuntu4.1 | UBUNTU-CVE-2022-28614 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache HTTP Server | unspecified – through 2.4.53 |
Weakness: CWE-190, CWE-200
References
- https://httpd.apache.org/security/vulnerabilities_24.html x_refsource_MISC
- [oss-security] 20220608 CVE-2022-28614: Apache HTTP Server: read beyond bounds via ap_rwrite() mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20220624-0005/ x_refsource_CONFIRM
- FEDORA-2022-e620fb15d5 vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-b54a8dee29 vendor-advisory, x_refsource_FEDORA
- GLSA-202208-20 vendor-advisory, x_refsource_GENTOO