CVE Tools

CVE-2016-5699

Exploitation likely. EPSS gives it a 9.9% chance of exploitation in the next 30 days. A vendor fix is available.

Published Updated Sources: CVE.org, NVD

What to do

The vendor has published a fix. Version details are below where the sources state them.

  • PythonAffected: ≤ 2.7.9Upgrade to: after 2.7.9Stated by: NVD

Versions as the sources state them. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Check whether any application uses Python before 2.7.10 or 3.4.4 and passes customer- or URL-supplied values to HTTP request headers.
  2. Upgrade Python 2 installations to 2.7.10 or later, or Python 3 installations to 3.4.4 or later.
  3. If an upgrade must wait, block carriage-return and newline characters in any untrusted value used to build request headers.
  4. Test affected integrations to confirm their outgoing web requests still work normally after the update.

What it is

From the CVE record

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.

In plain language

Written by AI from the record

This affects Python versions before 2.7.10 or 3.4.4 only when an application sends untrusted link data in web-request headers; most small businesses should update old Python installations but do not need to treat it as an emergency.

CRLF injection in CPython urllib/urllib2 HTTPConnection.putheader permits attacker-controlled carriage-return/newline sequences to add arbitrary outbound HTTP request headers when unsanitized input reaches the function.

If you're affected

  • Altered outbound web requests
  • Unauthorized request headers
  • Third-party service confusion
  • Potential data-routing errors

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS96th
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

9.9% chance of exploitation activity in the next 30 days, which ranks it in the 96th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

28 events over 3673 days, from the signal feeds we watch.

  1. EPSS band changemoderate → lowepss band change
  2. EPSS band changelow → moderateepss band change
  3. EPSS band changemoderate → lowepss band change
  4. EPSS band changelow → moderateepss band change
  5. EPSS band changemoderate → lowepss band change
  6. EPSS band changelow → moderate

Affected products

And 1 more affected product. See all after sign-in

Technical detail

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Scored 6.1 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction RequiredA user must click a link, open a file, or perform some action

Scope

  • Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)

Impact if exploited

  • Confidentiality LowSome restricted information is disclosed, but limited in scope
  • Integrity LowData modification is possible but limited in scope or consequence
  • Availability NoneNo availability impact

Weaknesses

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Python, not every advisory.