[Backport 7.84.x] Bump urllib3 to 2.8.0 #25514
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 293 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.340
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #25514"
general
weight: 0.35
steveny91
What does this PR do?
Bumps
urllib3from 2.7.0 to 2.8.0 on the 7.84.x release branch, inagent_requirements.in,datadog_checks_base/pyproject.toml, and the five resolved lockfiles under.deps/resolved/.This backports only the urllib3 change from #25284, not that whole PR. The lockfile lines match master exactly: same wheel URL, same SHA256. Master and 7.85.x already ship urllib3 2.8.0 with the same
http.py.Behavior change to review: urllib3 2.8.0 no longer applies the destination TLS settings to the handshake with an HTTPS proxy. That change is the fix for CVE-2026-97687.
_SSLContextAdapterindatadog_checks_base/datadog_checks/base/utils/http.pypasses a singlessl_context, so for a proxy URL with thehttps://scheme:tls_ca_certno longer applies to verifying the proxy's certificate.tls_verify: falseno longer disables verification of the proxy.Proxy TLS now uses urllib3's default context, which verifies against the system CAs. Plain
http://proxies (CONNECT tunnels), SOCKS proxies, and direct connections are unaffected. Master already behaves this way.Local check: the
datadog_checks_baseHTTP tests pass against 2.8.0 (215 passed). The Kerberos and SOCKS5 integration tests could not start their Docker environments locally, so they are left to CI.Motivation
Fixes two High-severity urllib3 CVEs (due 2026-10-31) for the 7.84.x release line:
QA is required because of the HTTPS-proxy behavior change above.
Review checklist (to be filled by reviewers)
qa/requiredif this PR needs QA validation, orqa/skip-qaif it does not. Exactly one of the two is required.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged[VULN-101010]: https://datadoghq.atlassian.net/browse/VULN-101010?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ