CVEfocus › CVE database › CVE-2022-31813

CVE-2022-31813mod_proxy X-Forwarded-For dropped by hop-by-hop mechanism

EPSS 3.1% (higher than 88% of CVEs)Published 2022-06-08Updated 2024-08-03Assigner: apache

Apache HTTP Server 2.4.53 and earlier may not send the X-Forwarded-* headers to the origin server based on client side Connection header hop-by-hop mechanism. This may be used to bypass IP based authentication on the origin server/application.

CWE-348

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

66Fixed
2Fix pending
13Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04apache2Fixed2.4.52-1ubuntu4.1UBUNTU-CVE-2022-31813
Ubuntu 20.04apache2Fixed2.4.41-4ubuntu3.12UBUNTU-CVE-2022-31813
Ubuntu 18.04apache2Fixed2.4.29-1ubuntu4.24UBUNTU-CVE-2022-31813
Ubuntu 16.04apache2Fix pending2.4.18-2ubuntu3.17+esm6 (Ubuntu Pro)UBUNTU-CVE-2022-31813
Ubuntu 14.04apache2Fix pending2.4.7-1ubuntu4.22+esm8 (Ubuntu Pro)UBUNTU-CVE-2022-31813
Debian 14apache2Fixed2.4.54-1DEBIAN-CVE-2022-31813
Debian 13apache2Fixed2.4.54-1DEBIAN-CVE-2022-31813
Debian 12apache2Fixed2.4.54-1DEBIAN-CVE-2022-31813
Red Hat Enterprise Linux 9httpdFixed0:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9httpd-coreFixed0:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9httpd-develFixed0:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9httpd-filesystemFixed0:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9httpd-manualFixed0:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9httpd-toolsFixed0:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9mod_ldapFixed0:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9mod_luaFixed0:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9mod_proxy_htmlFixed1:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9mod_sessionFixed0:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 9mod_sslFixed1:2.4.53-7.el9RHSA-2022:8067
Red Hat Enterprise Linux 8httpdFixed0:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hat Enterprise Linux 8httpd-develFixed0:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hat Enterprise Linux 8httpd-filesystemFixed0:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hat Enterprise Linux 8httpd-manualFixed0:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hat Enterprise Linux 8httpd-toolsFixed0:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hat Enterprise Linux 8mod_http2Fixed0:1.15.7-5.module+el8.6.0+13996+01710940RHSA-2022:7647
Red Hat Enterprise Linux 8mod_ldapFixed0:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hat Enterprise Linux 8mod_mdFixed1:2.0.8-8.module+el8.3.0+6814+67d1e611RHSA-2022:7647
Red Hat Enterprise Linux 8mod_proxy_htmlFixed1:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hat Enterprise Linux 8mod_sessionFixed0:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hat Enterprise Linux 8mod_sslFixed1:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hat Enterprise Linux 7httpdWill not fix
Out of support scope
Red Hat Enterprise Linux 7httpd-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7httpd-manualWill not fix
Out of support scope
Red Hat Enterprise Linux 7httpd-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 7mod_ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 7mod_proxy_htmlWill not fix
Out of support scope
Red Hat Enterprise Linux 7mod_sessionWill not fix
Out of support scope
Red Hat Enterprise Linux 7mod_sslWill not fix
Out of support scope
Red Hat Enterprise Linux 6httpdWill not fix
Out of support scope
Red Hat Enterprise Linux 6httpd-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6httpd-manualWill not fix
Out of support scope
Red Hat Enterprise Linux 6httpd-toolsWill not fix
Out of support scope
Red Hat Enterprise Linux 6mod_sslWill not fix
Out of support scope
AlmaLinux 9httpdFixed2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9httpd-coreFixed2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9httpd-develFixed2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9httpd-filesystemFixed2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9httpd-manualFixed2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9httpd-toolsFixed2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9mod_ldapFixed2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9mod_luaFixed2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9mod_proxy_htmlFixed1:2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9mod_sessionFixed2.4.53-7.el9ALSA-2022:8067
AlmaLinux 9mod_sslFixed1:2.4.53-7.el9ALSA-2022:8067
AlmaLinux 8httpdFixed2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux 8httpd-develFixed2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux 8httpd-filesystemFixed2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux 8httpd-manualFixed2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux 8httpd-toolsFixed2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux 8mod_http2Fixed1.15.7-5.module_el8.6.0+3031+fb177b09ALSA-2022:7647
AlmaLinux 8mod_ldapFixed2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux 8mod_mdFixed1:2.0.8-8.module_el8.6.0+2872+fe0ff7aaALSA-2022:7647
AlmaLinux 8mod_proxy_htmlFixed1:2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux 8mod_sessionFixed2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux 8mod_sslFixed1:2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
Rocky Linux 9httpdFixed0:2.4.53-7.el9RLSA-2022:8067
Rocky Linux 8httpdFixed0:2.4.37-51.module+el8.7.0+1059+126e9251RLSA-2022:7647
Rocky Linux 8mod_http2Fixed0:1.15.7-5.module+el8.6.0+823+f143cee1RLSA-2022:7647
Rocky Linux 8mod_mdFixed1:2.0.8-8.module+el8.4.0+553+7a69454bRLSA-2022:7647
Alpine Linux 3.24apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.23apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.22apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.21apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.20apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.19apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.18apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.17apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.16apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.15apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.14apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813
Alpine Linux 3.13apache2Fixed2.4.54-r0ALPINE-CVE-2022-31813

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.