CVEfocus › CVE database › CVE-2016-5699

CVE-2016-5699

CVSS 5.3 MediumEPSS 9.9% (higher than 96% of CVEs)Published 2016-09-02Updated 2024-08-06Assigner: redhat

CRLF 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.

What to do

Fixed builds are available from Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
1Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04python2.7Not affected
vulnerable_code_not_present
Ubuntu 16.04python3.5Not affected
vulnerable_code_not_present
Ubuntu 14.04python2.7Fixed2.7.6-8ubuntu0.3UBUNTU-CVE-2016-5699
Ubuntu 14.04python3.4Fixed3.4.3-1ubuntu1~14.04.5UBUNTU-CVE-2016-5699
Red Hat Enterprise Linux 7pythonFixed0:2.7.5-38.el7_2RHSA-2016:1626
Red Hat Enterprise Linux 7python-debugFixed0:2.7.5-38.el7_2RHSA-2016:1626
Red Hat Enterprise Linux 7python-develFixed0:2.7.5-38.el7_2RHSA-2016:1626
Red Hat Enterprise Linux 7python-libsFixed0:2.7.5-38.el7_2RHSA-2016:1626
Red Hat Enterprise Linux 7python-testFixed0:2.7.5-38.el7_2RHSA-2016:1626
Red Hat Enterprise Linux 7python-toolsFixed0:2.7.5-38.el7_2RHSA-2016:1626
Red Hat Enterprise Linux 7tkinterFixed0:2.7.5-38.el7_2RHSA-2016:1626
Red Hat Enterprise Linux 6pythonFixed0:2.6.6-66.el6_8RHSA-2016:1626
Red Hat Enterprise Linux 6python-develFixed0:2.6.6-66.el6_8RHSA-2016:1626
Red Hat Enterprise Linux 6python-libsFixed0:2.6.6-66.el6_8RHSA-2016:1626
Red Hat Enterprise Linux 6python-testFixed0:2.6.6-66.el6_8RHSA-2016:1626
Red Hat Enterprise Linux 6python-toolsFixed0:2.6.6-66.el6_8RHSA-2016:1626
Red Hat Enterprise Linux 6tkinterFixed0:2.6.6-66.el6_8RHSA-2016:1626
Red Hat Enterprise Linux 5pythonWill not fix
Will not fix

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.