CVE-2023-46137

NameCVE-2023-46137
DescriptionTwisted is an event-based framework for internet applications. Prior to version 23.10.0rc1, when sending multiple HTTP requests in one TCP packet, twisted.web will process the requests asynchronously without guaranteeing the response order. If one of the endpoints is controlled by an attacker, the attacker can delay the response on purpose to manipulate the response of the second request when a victim launched two requests using HTTP pipeline. Version 23.10.0rc1 contains a patch for this issue.
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
Debian Bugs1054913

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
twisted (PTS)jessie, jessie (lts)14.0.2-3+deb8u6fixed
stretch (security)16.6.0-2+deb9u3fixed
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(not affected)
twistedsourcestretch(not affected)
twistedsourcebuster18.9.0-3+deb10u3ELA-1247-1
twistedsourcebullseye20.3.0-7+deb11u2DLA-3970-1
twistedsourcebookworm22.4.0-4+deb12u1DSA-5797-1
twistedsource(unstable)23.10.0-11054913

Notes

[buster] - twisted <no-dsa> (Minor issue)
https://github.com/twisted/twisted/security/advisories/GHSA-xc8x-vp79-p3wm
https://github.com/twisted/twisted/commit/1e6e9d23cac59689760558dcb6634285e694b04c (twisted-23.10.0rc1)
Introduced by: https://github.com/twisted/twisted/commit/7dbfa7734a4addc13c28dd35c097403b9581c5bb (twisted-17.9.0)
See also preceding commit introducing _optimisticEagerReadSize and rationale:
https://github.com/twisted/twisted/commit/5da381289952a46e9a11e9c2f1fe763bc64efdf6 (twisted-17.9.0)
[stretch] - twisted <not-affected> (Vulnerable code introduced later)
[jessie] - twisted <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems