CVE-2024-39573

NameCVE-2024-39573
DescriptionPotential SSRF in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to cause unsafe RewriteRules to unexpectedly setup URL's to be handled by mod_proxy. Users are recommended to upgrade to version 2.4.60, which fixes this issue.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5729-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
apache2 (PTS)jessie, jessie (lts)2.4.10-10+deb8u28vulnerable
stretch (security)2.4.25-3+deb9u13vulnerable
stretch (lts), stretch2.4.25-3+deb9u18vulnerable
buster, buster (lts)2.4.59-1~deb10u2vulnerable
buster (security)2.4.59-1~deb10u1vulnerable
bullseye2.4.62-1~deb11u1fixed
bullseye (security)2.4.61-1~deb11u1fixed
bookworm2.4.62-1~deb12u1fixed
bookworm (security)2.4.61-1~deb12u1fixed
trixie, sid2.4.62-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
apache2sourcebullseye2.4.61-1~deb11u1DSA-5729-1
apache2sourcebookworm2.4.61-1~deb12u1DSA-5729-1
apache2source(unstable)2.4.60-1

Notes

https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2024-39573
likely fix according to comment in code https://github.com/apache/httpd/commit/9494aa8d52e3c263bc0413b77ac8a73b0d524388 (trunk)
fixed also https://github.com/apache/httpd/commit/93aec0e3ca451bcc97f6d91c14d5399d13a73365 (2.4.60)

Search for package or bug name: Reporting problems