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

CVE-2022-31813 affects 74 listed versions of Apache HTTP Server in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
4%EPSS (next 30 days)
9 June 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apache HTTP Server

74 of 89 listed versions are affected. Fixed in 2.4.54. The newest release, 2.4.71, is not affected.

2.3.7 2.3.6 2.3.5 2.3.4 2.3.0 2.2.34 2.2.33 2.2.32 2.2.31 2.2.30 2.2.29 2.2.27 2.2.26 2.2.25 2.2.24 2.2.23 2.2.22 2.2.21 2.2.20 2.2.19 2.1.9 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1 2.0.65 2.0.64 2.0.63 2.0.61 2.0.60 2.0.59 2.0.58 2.0.57 2.0.56 2.0.55 2.0.54 2.0.53 2.0.52 2.0.51 2.0.50 1.4.0 1.3.68 1.3.65 1.3.42 1.3.41 1.3.40 1.3.39 1.3.38 1.3.37 1.3.36 1.3.35 1.3.34 1.3.33 1.3.32 1.3.31 and 14 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Apache Software Foundation on 9 June 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-31813 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.