dd-trace-pyにDoSの脆弱性、IAST有効時にアプリが停止するおそれ
Summary
dd-trace-pyの3.13.0から4.15.5未満では、IASTの文字列処理の計装で内部エラーが適切に扱われず、攻撃者が入力した値を古い形式の%文字列整形に通すと、Pythonプロセスが終了して処理が中断するおそれがあります。IASTは既定では無効のため、有効にしている環境と、攻撃者の入力を該当の整形処理に渡すアプリケーションが条件になります。修正版は4.15.5です。
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の3.13.0から4.15.5未満では、IASTの文字列処理の計装で内部エラーが適切に扱われず、攻撃者が入力した値を古い形式の%文字列整形に通すと、Pythonプロセスが終了して処理が中断するおそれがあります。IASTは既定では無効のため、有効にしている環境と、攻撃者の入力を該当の整形処理に渡すアプリケーションが条件になります。修正版は4.15.5です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| DataDogdd-trace-py | — | Not listed |
| pipddtrace |
< 4.15.5→ 4.15.5 |
4.15.5 |
| PyPIddtrace |
≥ 3.13.0, < 4.15.5→ 4.15.5 |
4.15.5 |
Original description The description as published by the source.
Datadog dd-trace-py is the Datadog Python APM client. From 3.13.0 until 4.15.5, the IAST string-processing instrumentation does not properly handle certain internal errors while old-style % string formatting processes attacker-controlled input. An unhandled error can terminate the Python process and interrupt the work it is handling. Exploitation requires IAST to be enabled, which is not the default, and application code to apply the affected formatting operation to attacker-controlled input. This issue is fixed in version 4.15.5.
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
- REDHAT Red Hat
- web github.com
- web github.com