CVE-2022-31813
mod_proxy X-Forwarded-For dropped by hop-by-hop mechanism
Reported by apache · Published June 8, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| httpd-manual | Amazon Linux | 2.4.54-3.amzn2023.0.4, 2.4.54-1.amzn2 |
| mod_ldap | Amazon Linux | 2.4.54-3.amzn2023.0.4, 2.4.54-1.amzn2 |
| httpd-filesystem | Amazon Linux | 2.4.54-3.amzn2023.0.4, 2.4.54-1.amzn2 |
| mod_session | Amazon Linux | 2.4.54-3.amzn2023.0.4, 2.4.54-1.amzn2 |
| mod_md | Amazon Linux | 2.4.54-1.amzn2 |
| mod_ssl | Amazon Linux | 1:2.4.54-3.amzn2023.0.4, 1:2.4.54-1.amzn2 |
| apache | Bitnami | 2.4.54 |
| httpd | Amazon Linux | 2.4.54-3.amzn2023.0.4, 2.4.54-1.amzn2 |
| httpd-tools | Amazon Linux | 2.4.54-3.amzn2023.0.4, 2.4.54-1.amzn2 |
| httpd-core | Amazon Linux | 2.4.54-3.amzn2023.0.4 |
| apache | Arch Linux | 2.4.54-1 |
| httpd-devel | Amazon Linux | 2.4.54-3.amzn2023.0.4, 2.4.54-1.amzn2 |
6 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache HTTP Server | Apache HTTP Server 2.4 |
| amazon:2 | httpd-manual | 0 |
| amazon:2023 | mod_ldap | 0 |
| amazon:2 | httpd-filesystem | 0 |
| amazon:2023 | mod_session | 0 |
| amazon:2 | mod_md | 0 |
| amazon:2023 | mod_ssl | 0 |
| amazon:2023 | httpd-filesystem | 0 |
| amazon:2023 | httpd-manual | 0 |
| amazon:2023 | httpd | 0 |
| amazon:2 | httpd-tools | 0 |
| amazon:2023 | httpd-core | 0 |
| arch | apache | 0 |
| Apache Software Foundation | Apache HTTP Server | 2.4 |
| amazon:2023 | httpd-tools | 0 |
| amazon:2023 | httpd-devel | 0 |
| amazon:2 | httpd-devel | 0 |
| amazon:2 | mod_session | 0 |
| amazon:2023 | mod_lua | 0 |
| amazon:2023 | mod_proxy_html | 0 |
…and 5 more
Timeline
- Jun 7, 2022 CVE Published
- Jun 9, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (12 in total, the first dated here)
- Jun 24, 2026 Coalition ESS Score
- Nov 21, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-31813
vulnetix vdb fixes CVE-2022-31813
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-31813/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- [oss-security] 20220608 CVE-2022-31813: Apache HTTP Server: mod_proxy X-Forwarded-For dropped by hop-by-hop mechanism mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- FEDORA-2022-e620fb15d5 vendor-advisoryx_refsource_FEDORA
- FEDORA-2022-b54a8dee29 vendor-advisoryx_refsource_FEDORA
- GLSA-202208-20 vendor-advisoryx_refsource_GENTOO