Vulnerability advisory

CVE-2024-35195

Requests `Session` object does not verify requests after making first request with verify=False

Published Updated OSV record ↗

Also known as GHSA-9wx4-h78v-vm56PYSEC-2026-1873

Severity
  • CVSS 3.xCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/psf/requests ↗
All commits before d6ebc4a2f1f68b7e355fb7e4dd5ffc0845547f9fd6ebc4a2f1f68b7e355fb7e4dd5ffc0845547f9f
Not specifieda58d7f2ffb4d00b46dca2d70a3932a0b37e22fac
Also listed as affected (115)
  • v2.31.0
  • v2.30.0
  • v2.29.0
  • v2.28.2
  • v2.28.1
  • v2.28.0
  • v2.27.1
  • v2.27.0
  • v2.26.0
  • v2.25.1
  • v2.25.0
  • v2.24.0
  • v2.20.1
  • v2.19.1
  • v2.19.0
  • v2.18.3
  • v2.18.2
  • v2.17.3
  • v2.17.1
  • v2.17.0
  • v2.16.5
  • v2.16.4
  • v2.16.2
  • v2.16.1
  • v2.16.0
  • v2.15.1
  • v2.16.3
  • v2.15.0
  • v2.14.2
  • v2.14.1
  • v2.14.0
  • v2.12.5
  • v2.12.4
  • v2.12.3
  • v2.12.2
  • v2.12.0
  • v2.12.1
  • v2.11.1
  • v2.11.0
  • v2.10.0
  • v2.9.2
  • v2.9.1
  • v2.9.0
  • v2.8.1
  • v2.8.0
  • v2.6.0
  • v2.5.2
  • v2.5.1
  • v2.5.0
  • v2.4.3
  • v2.4.2
  • v2.4.1
  • v2.4.0
  • v2.3.0
  • v2.2.1
  • v2.2.0
  • v2.1.0
  • v2.0.1
  • v2.0.0
  • v2.0
  • 2.0
  • v1.2.3
  • v1.2.2
  • v1.2.1
  • v1.2.0
  • v1.1.0
  • v1.0.4
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0.0
  • v0.14.2
  • v0.14.0
  • v0.14.1
  • v0.13.9
  • v0.13.7
  • v0.13.6
  • v0.13.5
  • v0.13.4
  • v0.13.3
  • v0.13.2
  • v0.13.1
  • v0.13.0
  • v0.12.1
  • v0.12.0
  • v0.11.1
  • v0.10.8
  • v0.10.7
  • v0.10.6
  • v0.10.5
  • v0.10.4
  • v0.10.3
  • v0.10.2
  • v0.10.1
  • v0.10.0
  • v0.9.3
  • v0.9.1
  • v0.9.0
  • v0.8.9
  • v0.8.8
  • v0.6.4
  • v0.6.3
  • v0.5.1
  • v0.5.0
  • v0.4.1
  • v0.4.0
  • v0.3.4
  • v0.3.3
  • v0.3.2
  • v0.3.0
  • v0.2.4
  • v0.2.3
  • v0.2.2
  • v0.2.1
  • v0.2.0

Description

Requests is a HTTP library. Prior to 2.32.0, when making requests through a Requests Session, if the first request is made with verify=False to disable cert verification, all subsequent requests to the same host will continue to ignore cert verification regardless of changes to the value of verify. This behavior will continue for the lifecycle of the connection in the connection pool. This vulnerability is fixed in 2.32.0.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools