Bump ddtrace to 4.12.2 (CVE-2026-50271 W3C baggage header DoS) - #24864
Bump ddtrace to 4.12.2 (CVE-2026-50271 W3C baggage header DoS)#24864Kyle-Neale wants to merge 4 commits into
Conversation
Remediates the W3C baggage-header parsing DoS reported as CVE-2026-50271 / PYSEC-2026-3461 / GHSA-mw54-j2v2-42hr (VULN-91804, High). The fix landed only in ddtrace 4.8.2; there is no 3.19.x backport, so this is a forced major bump from 3.19.5. Pins are updated consistently in both agent_requirements.in and datadog_checks_base/pyproject.toml so `ddev validate dep` passes. The .deps/resolved/* lock files are regenerated by the resolve-build-deps workflow. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning This PR changes Agent dependencies. Do not merge it until the wheels are promoted. Dependency inputs changed, so the dependency resolution and wheel build workflow runs on this branch. It takes 1.5 to 3 hours and finishes by committing updated lockfiles. The wheels it builds then have to be promoted before the Agent can use them. Steps to take, in order:
Merging before promotion leaves the Agent unable to install the wheels these lockfiles pin. Pushing again to this branch invalidates the promotion, so if you push after step 4 you have to promote again. Head commit |
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
evalya-impact-summaryevalya impact analysis |
The macOS 11 blocker that froze ddtrace on the auto-update exclude list is resolved: the Agent dropped macOS 11 support in v7.75.0 (VULN-91804). Re-enable automatic ddtrace bumps now that the pin has moved to the 4.x line. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🎉 All green!🧪 All tests passed 🔄 Datadog retried 1 test - 1 passed on retry 🚧 5 tests that failed were ignored due to quarantine 🎯 Code Coverage (details) 🔗 Commit SHA: 831009e | Docs | Datadog PR Page | Give us feedback! |
Validation ReportAll 21 validations passed. Show details
|
What does this PR do?
Bumps the pinned
ddtracedependency from3.19.5to4.12.2in bothagent_requirements.inanddatadog_checks_base/pyproject.toml(ddtrace is a directdatadog_checks_basedependency). The.deps/resolved/*lock files and.deps/builder_inputs.tomlare regenerated and committed automatically by theResolve Dependencies and Build Wheelsworkflow once this branch is pushed.Motivation
ddtrace
< 4.8.2is vulnerable to a W3C baggage-header parsing DoS, tracked against agent-integrations:Per both the GitHub Advisory and OSV, the fix landed only in ddtrace
4.8.2— there is no3.19.xbackport branch — so remediation requires a major version bump from3.19.5. This targets4.12.2(the version vetted by the VULN campaign in #24756).Unlike the earlier campaign attempt (#24617), the pin is updated consistently in both
agent_requirements.inanddatadog_checks_base/pyproject.toml, soddev validate deppasses locally.ddtrace 4.12.2 requires
wrapt!=2.2.0,<3,>=1; the currentwrapt==2.2.2pin already satisfies this, so no wrapt change is bundled here.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🤖 Generated with Claude Code