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)
ReferencesDSA-5797-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+deb9u4vulnerable
buster (security), buster, buster (lts)18.9.0-3+deb10u2vulnerable
bullseye20.3.0-7+deb11u1vulnerable
bookworm (security), bookworm22.4.0-4+deb12u1fixed
trixie24.7.0-3fixed
sid24.10.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
twistedsourcejessie(unfixed)end-of-life
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)
[buster] - twisted <postponed> (Minor issue)
[stretch] - twisted <postponed> (Minor issue)

Search for package or bug name: Reporting problems