rhsa-2023_4520
Vulnerability from csaf_redhat
Published
2023-08-08 08:26
Modified
2024-11-06 03:30
Summary
Red Hat Security Advisory: python-requests security update

Notes

Topic
An update for python-requests is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
The python-requests package contains a library designed to make HTTP requests easy for developers. Security Fix(es): * python-requests: Unintended leak of Proxy-Authorization header (CVE-2023-32681) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for python-requests is now available for Red Hat Enterprise Linux 8.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "The python-requests package contains a library designed to make HTTP requests easy for developers.\n\nSecurity Fix(es):\n\n* python-requests: Unintended leak of Proxy-Authorization header (CVE-2023-32681)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2023:4520",
        "url": "https://access.redhat.com/errata/RHSA-2023:4520"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#moderate",
        "url": "https://access.redhat.com/security/updates/classification/#moderate"
      },
      {
        "category": "external",
        "summary": "2209469",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2209469"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_4520.json"
      }
    ],
    "title": "Red Hat Security Advisory: python-requests security update",
    "tracking": {
      "current_release_date": "2024-11-06T03:30:31+00:00",
      "generator": {
        "date": "2024-11-06T03:30:31+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.1.1"
        }
      },
      "id": "RHSA-2023:4520",
      "initial_release_date": "2023-08-08T08:26:32+00:00",
      "revision_history": [
        {
          "date": "2023-08-08T08:26:32+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2023-08-08T08:26:32+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-06T03:30:31+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux BaseOS (v. 8)",
                "product": {
                  "name": "Red Hat Enterprise Linux BaseOS (v. 8)",
                  "product_id": "BaseOS-8.8.0.Z.MAIN.EUS",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:8::baseos"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python-requests-0:2.20.0-3.el8_8.src",
                "product": {
                  "name": "python-requests-0:2.20.0-3.el8_8.src",
                  "product_id": "python-requests-0:2.20.0-3.el8_8.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python-requests@2.20.0-3.el8_8?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python3-requests-0:2.20.0-3.el8_8.noarch",
                "product": {
                  "name": "python3-requests-0:2.20.0-3.el8_8.noarch",
                  "product_id": "python3-requests-0:2.20.0-3.el8_8.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python3-requests@2.20.0-3.el8_8?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-0:2.20.0-3.el8_8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
          "product_id": "BaseOS-8.8.0.Z.MAIN.EUS:python-requests-0:2.20.0-3.el8_8.src"
        },
        "product_reference": "python-requests-0:2.20.0-3.el8_8.src",
        "relates_to_product_reference": "BaseOS-8.8.0.Z.MAIN.EUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-requests-0:2.20.0-3.el8_8.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 8)",
          "product_id": "BaseOS-8.8.0.Z.MAIN.EUS:python3-requests-0:2.20.0-3.el8_8.noarch"
        },
        "product_reference": "python3-requests-0:2.20.0-3.el8_8.noarch",
        "relates_to_product_reference": "BaseOS-8.8.0.Z.MAIN.EUS"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2023-32681",
      "cwe": {
        "id": "CWE-402",
        "name": "Transmission of Private Resources into a New Sphere (\u0027Resource Leak\u0027)"
      },
      "discovery_date": "2023-05-24T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2209469"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in the Python-requests package, where it is vulnerable to potentially leaking Proxy-Authorization headers to destination servers, specifically during redirects to an HTTPS origin. This is a product of how rebuild_proxies is used to recompute and reattach the Proxy-Authorization header to requests when redirected. This behavior only affects proxied requests when credentials are supplied in the URL user information component (for example, https://username:password@proxy:8080).",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "python-requests: Unintended leak of Proxy-Authorization header",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "BaseOS-8.8.0.Z.MAIN.EUS:python-requests-0:2.20.0-3.el8_8.src",
          "BaseOS-8.8.0.Z.MAIN.EUS:python3-requests-0:2.20.0-3.el8_8.noarch"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2023-32681"
        },
        {
          "category": "external",
          "summary": "RHBZ#2209469",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2209469"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2023-32681",
          "url": "https://www.cve.org/CVERecord?id=CVE-2023-32681"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2023-32681",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32681"
        },
        {
          "category": "external",
          "summary": "https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q",
          "url": "https://github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33q"
        }
      ],
      "release_date": "2023-05-23T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2023-08-08T08:26:32+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "BaseOS-8.8.0.Z.MAIN.EUS:python-requests-0:2.20.0-3.el8_8.src",
            "BaseOS-8.8.0.Z.MAIN.EUS:python3-requests-0:2.20.0-3.el8_8.noarch"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2023:4520"
        },
        {
          "category": "workaround",
          "details": "For users who are not able to update Requests immediately, there is one potential workaround.\n\nYou may disable redirects by setting allow_redirects to False on all calls through Requests top-level APIs. Note that if you are currently relying on redirect behaviors, you will need to capture the 3xx response codes and ensure a new request is made to the redirect destination.\n\nimport requests\nr = requests.get(\u0027http://github.com/\u0027, allow_redirects=False)",
          "product_ids": [
            "BaseOS-8.8.0.Z.MAIN.EUS:python-requests-0:2.20.0-3.el8_8.src",
            "BaseOS-8.8.0.Z.MAIN.EUS:python3-requests-0:2.20.0-3.el8_8.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "BaseOS-8.8.0.Z.MAIN.EUS:python-requests-0:2.20.0-3.el8_8.src",
            "BaseOS-8.8.0.Z.MAIN.EUS:python3-requests-0:2.20.0-3.el8_8.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "python-requests: Unintended leak of Proxy-Authorization header"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.