cve.bz

CVE-2022-31813 Use of Less Trusted Source

9.8 criticalEPSS 3.5%

Critical (9.8). EPSS 3.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.5% (unchanged from 3.5% a week ago; 3.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-345 Insufficient Verification of Data Authenticity
CWE-348 Use of Less Trusted Source
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-31813 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31813?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31813?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31813 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache HTTP Serverfrom Apache HTTP Server 2.4 through 2.4.53

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14apache22.4.54-1DEBIAN-CVE-2022-31813
Ubuntu18.04:LTSapache22.4.29-1ubuntu4.24UBUNTU-CVE-2022-31813 USN-5487-1 USN-5487-3
Ubuntu20.04:LTSapache22.4.41-4ubuntu3.12UBUNTU-CVE-2022-31813 USN-5487-1
Ubuntu22.04:LTSapache22.4.52-1ubuntu4.1UBUNTU-CVE-2022-31813 USN-5487-1
UbuntuPro:14.04:LTSapache22.4.7-1ubuntu4.22+esm8UBUNTU-CVE-2022-31813 USN-5487-1 USN-5487-3
UbuntuPro:16.04:LTSapache22.4.18-2ubuntu3.17+esm6UBUNTU-CVE-2022-31813 USN-5487-1 USN-5487-3
Red Hatenterprise_linux:8::appstreamhttpd, mod_ldap, httpd-devel and 9 more0:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hatenterprise_linux:8::appstreammod_http2, mod_http2-debuginfo, mod_http2-debugsource0:1.15.7-5.module+el8.6.0+13996+01710940RHSA-2022:7647
Red Hatenterprise_linux:8::appstreammod_md, mod_md-debuginfo, mod_md-debugsource1:2.0.8-8.module+el8.3.0+6814+67d1e611RHSA-2022:7647
Red Hatenterprise_linux:8::appstreammod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more1:2.4.37-51.module+el8.7.0+16050+02173b8eRHSA-2022:7647
Red Hatenterprise_linux:9::appstreamhttpd, mod_lua, mod_ldap and 13 more0:2.4.53-7.el9RHSA-2022:8067
Red Hatenterprise_linux:9::appstreammod_ssl, mod_proxy_html, mod_ssl-debuginfo and 1 more1:2.4.53-7.el9RHSA-2022:8067
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:7.86.0-2.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.51-37.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.19-20.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.51-37.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.1.1k-13.el7jbcsRHSA-2022:8840
Red Hatjboss_core_services:1::el8jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more0:7.86.0-2.el8jbcsRHSA-2022:8840
6 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 moreapache22.4.33-150000.3.69.1SUSE-SU-2022:2338-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 9 moreapache22.4.51-150200.3.48.1SUSE-SU-2022:2342-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 8 moreapache22.4.23-29.91.1SUSE-SU-2022:2099-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 moreapache22.4.66-150400.6.57.1SUSE-SU-2026:2686-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Module for Server Applications 15 SP4apache22.4.51-150400.6.3.1SUSE-SU-2022:2302-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5apache22.4.51-35.19.1SUSE-SU-2022:2101-1
openSUSELeap 15.3apache22.4.51-150200.3.48.1SUSE-SU-2022:2342-1
openSUSELeap 15.4apache22.4.51-150400.6.3.1SUSE-SU-2022:2302-1
openSUSETumbleweedapache22.4.54-1.1openSUSE-SU-2024:12142-1
AlmaLinux8httpd, mod_ldap, httpd-devel and 4 more2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux8mod_http21.15.7-5.module_el8.6.0+2872+fe0ff7aaALSA-2022:7647
AlmaLinux8mod_http21.15.7-5.module_el8.6.0+3031+fb177b09ALSA-2022:7647
AlmaLinux8mod_md1:2.0.8-8.module_el8.6.0+2872+fe0ff7aaALSA-2022:7647
AlmaLinux8mod_md1:2.0.8-8.module_el8.6.0+3031+fb177b09ALSA-2022:7647
AlmaLinux8mod_ssl, mod_proxy_html1:2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux9httpd, mod_lua, mod_ldap and 6 more2.4.53-7.el9ALSA-2022:8067
AlmaLinux9mod_ssl, mod_proxy_html1:2.4.53-7.el9ALSA-2022:8067
Rocky Linux8httpd0:2.4.37-51.module+el8.7.0+1059+126e9251RLSA-2022:7647
Rocky Linux8mod_http20:1.15.7-5.module+el8.6.0+823+f143cee1RLSA-2022:7647
Rocky Linux8mod_md1:2.0.8-8.module+el8.4.0+553+7a69454bRLSA-2022:7647
Rocky Linux8mod_md1:2.0.8-8.module+el8.5.0+695+1fa8055eRLSA-2022:7647
Rocky Linux9httpd0:2.4.53-7.el9RLSA-2022:8067
Alpinev3.13, v3.14, v3.15 and 9 moreapache22.4.54-r0ALPINE-CVE-2022-31813

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates of Red Hat Enterprise Linux 7. Red Hat Enterprise Linux 7 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-httpd-0:2.4.51-37.el8jbcsFixed 2022-12-08RHSA-2022:8840
JBoss Core Services for RHEL 8jbcs-httpd24-mod_http2-0:1.15.19-20.el8jbcsFixed 2022-12-08RHSA-2022:8840
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.51-37.el7jbcsFixed 2022-12-08RHSA-2022:8840
JBoss Core Services on RHEL 7jbcs-httpd24-mod_http2-0:1.15.19-20.el7jbcsFixed 2022-12-08RHSA-2022:8840
Red Hat Enterprise Linux 8httpd:2.4-8070020220725152258.3b9f49c4Fixed 2022-11-08RHSA-2022:7647
Red Hat Enterprise Linux 9httpd-0:2.4.53-7.el9Fixed 2022-11-15RHSA-2022:8067
Red Hat JBoss Core ServicesFixed 2022-12-08RHSA-2022:8841
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-httpd-0:2.4.34-23.el7.5Fixed 2022-09-29RHSA-2022:6753
Red Hat Enterprise Linux 6httpdOut of support scope
Red Hat Enterprise Linux 7httpdOut of support scope
Red Hat JBoss Enterprise Application Platform 6httpd22Out of support scope
Red Hat JBoss Web Server 3httpd24Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-31813.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-133-01Hitachi Energy Service Suite2025-02-25EnergyHitachi Energy Service Suite versions 9.8.1.3 and belowHitachi Energy Service Suite version 9.8.1.4

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-141 Cache Poisoning Likelihood: High · Severity: High
  • CAPEC-142 DNS Cache Poisoning Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-345 (12).

References

Check your stackJSON