CVE-2016-5699

NameCVE-2016-5699
DescriptionCRLF injection vulnerability in the HTTPConnection.putheader function in urllib2 and urllib in CPython (aka Python) before 2.7.10 and 3.x before 3.4.4 allows remote attackers to inject arbitrary HTTP headers via CRLF sequences in a URL.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1663-1, DLA-522-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)bullseye2.7.18-8+deb11u1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.7sourcewheezy2.7.3-6+deb7u3DLA-522-1
python2.7sourcejessie2.7.9-2+deb8u1
python2.7source(unstable)2.7.10~rc1-1
python3.4sourcejessie3.4.2-1+deb8u2DLA-1663-1
python3.4source(unstable)3.4.4~rc1-1
python3.5source(unstable)(not affected)

Notes

- python3.5 <not-affected> (Fixed with initial upload to Debian)
https://bugs.python.org/issue22928
Fixed in 3.4 / 3.5: revision 94952: https://hg.python.org/cpython/rev/bf3e1c9b80e9
Fixed in 2.7: revision 94951: https://hg.python.org/cpython/rev/1c45047c5102

Search for package or bug name: Reporting problems