dd-trace-pyにURLクエリ文字列の処理で負荷が増える脆弱性
Summary
dd-trace-pyの1.5.0から3.19.9まで、および4.15.6より前の版には、URLクエリ文字列を隠す既定の正規表現に過剰なバックトラッキングが起きる脆弱性があります。遠隔の攻撃者が細工したURLを送ると、CPUを長く使われ、要求の遅延やサービス停止を招くおそれがあります。修正版は3.19.9と4.15.6です。すぐに更新するかどうかの判断は、HTTPトレースでクエリ文字列を送っているかを基準にするとよいでしょう。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
dd-trace-pyの1.5.0から3.19.9まで、および4.15.6より前の版には、URLクエリ文字列を隠す既定の正規表現に過剰なバックトラッキングが起きる脆弱性があります。遠隔の攻撃者が細工したURLを送ると、CPUを長く使われ、要求の遅延やサービス停止を招くおそれがあります。修正版は3.19.9と4.15.6です。すぐに更新するかどうかの判断は、HTTPトレースでクエリ文字列を送っているかを基準にするとよいでしょう。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| DataDogdd-trace-py | — | Not listed |
| pipddtrace |
< 4.15.6→ 4.15.6 |
4.15.6 |
| PyPIddtrace |
≥ 4.0.0, < 4.15.6→ 4.15.6 |
4.15.6 |
Original description The description as published by the source.
Datadog dd-trace-py is the Datadog Python APM client. From 1.5.0 until 3.19.9 and 4.15.6, the default query-string obfuscation regular expression can exhibit excessive backtracking while synchronously processing attacker-controlled URL query strings for HTTP span metadata. A remote attacker can cause prolonged CPU consumption, request latency, and service unavailability in affected HTTP tracing integrations that include query strings in URL span tags. The vulnerable processing is enabled by default for those integrations. This issue is fixed in versions 3.19.9 and 4.15.6.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com
- web github.com