CVE-2024-35195:CVE-2024-35195 affects the `requests` library versions prior to 2.32.0, allowing for incorrect control flow implementation when making requests through a `Session` object with `verify=False`.

splash
Back

Description Preview

The vulnerability in the `requests` library prior to version 2.32.0 arises when using a `Session` object to make requests with `verify=False`, which disables certificate verification. Subsequent requests to the same host will continue to ignore certificate verification, regardless of any changes to the `verify` value. This behavior persists for the lifecycle of the connection in the connection pool, potentially leading to security risks related to confidentiality and integrity.

Overview

  • CVE ID: CVE-2024-35195
  • CWE ID: CWE-670 (Always-Incorrect Control Flow Implementation)
  • CVSS Score: 5.6 (Medium severity)
    • Attack Vector: LOCAL
    • Attack Complexity: HIGH
    • Privileges Required: HIGH
    • User Interaction: REQUIRED
    • Scope: UNCHANGED
    • Confidentiality Impact: HIGH
    • Integrity Impact: HIGH
    • Availability Impact: NONE

Remediation

To address this vulnerability, users of the requests library should upgrade to version 2.32.0 or later. In version 2.32.0, the issue related to certificate verification behavior in Session objects has been fixed, ensuring that subsequent requests correctly verify certificates based on the verify setting.

References

  1. GitHub Security Advisory: GHSA-9wx4-h78v-vm56
  2. Pull Request for Fix: GitHub Pull Request #6655
  3. Commit with Fix: GitHub Commit a58d7f2ffb4d00b46dca2d70a3932a0b37e22fac
  4. Fedora Project Announcement 1: Link 1
  5. Fedora Project Announcement 2: Link 2

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Manufacturing
    Manufacturing
  2. Public Administration
    Public Administration
  3. Health Care & Social Assistance
    Health Care & Social Assistance
  4. Finance and Insurance
    Finance and Insurance
  5. Transportation & Warehousing
    Transportation & Warehousing
  6. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  7. Educational Services
    Educational Services
  8. Retail Trade
    Retail Trade
  9. Other Services (except Public Administration)
    Other Services (except Public Administration)
  10. Utilities
    Utilities
  11. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  12. Information
    Information
  13. Management of Companies & Enterprises
    Management of Companies & Enterprises
  14. Mining
    Mining
  15. Wholesale Trade
    Wholesale Trade
  16. Accommodation & Food Services
    Accommodation & Food Services
  17. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  18. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  19. Construction
    Construction
  20. Real Estate Rental & Leasing
    Real Estate Rental & Leasing

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background