CVE-2014-1830: Requests Exposure Of Sensitive Information To Vulnerability

MODERATE
Advisory Identifier: GHSA-652x-xj99-gmcc
CWE-200
Published
Advisory Summary

CVE-2014-1830 is a MODERATE exposure of sensitive information to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Requests libraries in the PyPI ecosystem. The issue involves exposure of sensitive information to an unauthorized actor in requests. Remediation is available by upgrading affected packages to version 2.3.0.

CVE-2014-1830 at a Glance

CVE Identifier CVE-2014-1830
GHSA Identifier GHSA-652x-xj99-gmcc
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Requests
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2014-1830

To remediate this vulnerability, upgrade all affected Requests dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

requests fixed: 2.3.0
pip install requests>=2.3.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show requests

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2014-1830, inspect your installed packages using pip:

pip show requests

Analyze the terminal output to locate any version of Requests in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.0), your application is affected.

Note: The pip show requests command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Requests, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Requests (aka python-requests) before 2.3.0 allows remote servers to obtain sensitive information by reading the Proxy-Authorization header in a redirected request.

CVE-2014-1830 Affected Requests Versions

1 component(s)
Fixed Versions:
2.3.0
Product / Package Ecosystem Affected Versions Fixed Version
requests
PyPI
< 2.3.0
2.3.0

References

Frequently Asked Questions

What is CVE-2014-1830?
CVE-2014-1830 is a security vulnerability in Requests involving Exposure of Sensitive Information to an Unauthorized Actor in Requests under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Requests versions are affected?
Affected versions include releases prior to 2.3.0 across affected packages: requests.
What version fixes CVE-2014-1830?
Upgrading to 2.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is requests affected?
Yes, requests is affected in releases prior to 2.3.0. Upgrade your dependency to 2.3.0 or later.
What CWE is associated with CVE-2014-1830?
CVE-2014-1830 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check PyPI dependencies for CVE-2014-1830?
Run the dependency tree command: 'pip show requests'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-652x-xj99-gmcc",
  "modified" : "2024-10-21T21:58:40Z",
  "published" : "2022-05-14T02:09:22Z",
  "aliases" : [ "CVE-2014-1830" ],
  "summary" : "Exposure of Sensitive Information to an Unauthorized Actor in Requests",
  "details" : "Requests (aka python-requests) before 2.3.0 allows remote servers to obtain sensitive information by reading the Proxy-Authorization header in a redirected request.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "requests"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-1830"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kennethreitz/requests/issues/1885"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/psf/requests/issues/1885"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733108"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/psf/requests"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/requests/PYSEC-2014-14.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20150523055216/http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2015:133/?name=MDVSA-2015:133"
  }, {
    "type" : "WEB",
    "url" : "http://advisories.mageia.org/MGASA-2014-0409.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2016-01/msg00095.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2015/dsa-3146"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2015:133"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-07T22:49:51Z",
    "nvd_published_at" : "2014-10-15T14:55:00Z"
  }
}