CVE-2024-41810

NameCVE-2024-41810
DescriptionTwisted is an event-based framework for internet applications, supporting Python 3.6+. The `twisted.web.util.redirectTo` function contains an HTML injection vulnerability. If application code allows an attacker to control the redirect URL this vulnerability may result in Reflected Cross-Site Scripting (XSS) in the redirect response HTML body. This vulnerability is fixed in 24.7.0rc1.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3970-1, DSA-5797-1, ELA-1247-1, ELA-1248-1
Debian Bugs1077680

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
twisted (PTS)jessie, jessie (lts)14.0.2-3+deb8u6vulnerable
stretch (security)16.6.0-2+deb9u3vulnerable
stretch (lts), stretch16.6.0-2+deb9u5fixed
buster, buster (lts)18.9.0-3+deb10u3fixed
buster (security)18.9.0-3+deb10u2vulnerable
bullseye20.3.0-7+deb11u1vulnerable
bullseye (security)20.3.0-7+deb11u2fixed
bookworm (security), bookworm22.4.0-4+deb12u1fixed
sid, trixie24.11.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
twistedsourcejessie(unfixed)end-of-life
twistedsourcestretch16.6.0-2+deb9u5ELA-1248-1
twistedsourcebuster18.9.0-3+deb10u3ELA-1247-1
twistedsourcebullseye20.3.0-7+deb11u2DLA-3970-1
twistedsourcebookworm22.4.0-4+deb12u1DSA-5797-1
twistedsource(unstable)24.7.0-11077680

Notes

https://github.com/twisted/twisted/security/advisories/GHSA-cf56-g6w6-pqq2
Merge commit: https://github.com/twisted/twisted/commit/046a164f89a0f08d3239ecebd750360f8914df33 (twisted-24.7.0rc1)

Search for package or bug name: Reporting problems