CVE-2026-50270
Java 취약성 분석 및 완화

개요

CVE-2026-50270 is a Denial of Service vulnerability in the Datadog dd-trace-java tracing library caused by improper parsing of W3C baggage HTTP headers. The library fails to enforce item-count or byte-size limits during baggage header extraction, allowing a remote, unauthenticated attacker to trigger unbounded CPU and memory consumption. It affects com.datadoghq:dd-java-agent versions prior to 1.62.0. The advisory was originally published on June 5, 2026, and added to the GitHub Advisory Database on July 15, 2026. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, DataDog Advisory).

기술적 세부 사항

The root cause is classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). The existing limits DD_TRACE_BAGGAGE_MAX_ITEMS (default 64) and DD_TRACE_BAGGAGE_MAX_BYTES (default 8192) were only applied to baggage injection (outbound), not extraction (inbound parsing). On every inbound HTTP request, the tracer allocates a hash-map entry for each comma-separated key-value pair found in the baggage header without any cap, meaning an attacker can craft a single request with an arbitrarily large number of pairs or a single oversized value to exhaust server resources. Because baggage propagation is enabled by default in most affected tracer configurations, no special preconditions or authentication are required (GitHub Advisory, DataDog Advisory).

영향

Successful exploitation causes unbounded CPU and memory consumption on the targeted Java service, resulting in service degradation or complete unavailability (Denial of Service). There is no confidentiality or integrity impact — the vulnerability is purely an availability concern. Any internet-facing HTTP service instrumented with an affected version of dd-trace-java and using the default propagation style is exposed, potentially affecting production workloads at scale (GitHub Advisory).

착취 단계

  1. Reconnaissance: Identify internet-facing HTTP services instrumented with dd-trace-java versions prior to 1.62.0. This may be inferred from response headers, error messages, or service fingerprinting.
  2. Craft malicious request: Construct an HTTP request containing a baggage header with an arbitrarily large number of comma-separated key-value pairs (e.g., baggage: k1=v1,k2=v2,...,kN=vN with thousands of entries) or a single extremely large value exceeding normal bounds.
  3. Send request: Transmit the crafted request to any HTTP endpoint of the target service. No authentication or special privileges are required.
  4. Trigger resource exhaustion: The tracer's extraction logic allocates a hash-map entry for each pair without limit, causing rapid CPU and memory consumption on the server.
  5. Sustain DoS: Repeat requests at a moderate rate to maintain resource pressure, preventing the service from handling legitimate traffic and potentially causing an out-of-memory crash (GitHub Advisory, DataDog Advisory).

타협의 징후

  • Network: Inbound HTTP requests containing abnormally large or highly repetitive baggage headers (e.g., hundreds or thousands of comma-separated key-value pairs, or a single header value exceeding several kilobytes).
  • Logs: Web server or proxy access logs showing repeated requests with oversized baggage header values from the same or rotating source IPs; application logs showing Java OutOfMemoryError or GC overhead limit exceeded errors.
  • Process: Java process exhibiting sudden spikes in CPU and heap memory usage correlated with incoming HTTP traffic; JVM garbage collection logs showing continuous full GC cycles with little memory reclaimed.

완화 및 해결 방법

Upgrade com.datadoghq:dd-java-agent to version 1.62.0 or later, which enforces item-count and byte-size limits on baggage header extraction as well as injection. If an immediate upgrade is not possible, apply one or both of the following workarounds: (1) Disable baggage extraction by removing baggage from the DD_TRACE_PROPAGATION_STYLE environment variable (or DD_TRACE_PROPAGATION_STYLE_EXTRACT if configured independently); (2) Cap the maximum HTTP request header size at an upstream proxy or web server using directives such as Apache LimitRequestFieldSize, Nginx large_client_header_buffers, or Envoy max_request_headers_kb (GitHub Advisory, DataDog Advisory).

커뮤니티 반응

The advisory references related upstream vulnerabilities in other OpenTelemetry tracing libraries — opentelemetry-go (GHSA-mh2q-q3fh-2475) and opentelemetry-dotnet (GHSA-g94r-2vxg-569j) — indicating this is a broader ecosystem issue with W3C baggage propagation implementations lacking extraction-side limits. No notable public researcher commentary or significant social media discussion has been identified beyond the official advisory (GitHub Advisory).

추가 자료


근원이 보고서는 AI를 사용하여 생성되었습니다.

관련 Java 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 익스플로잇

수정 사항이 있습니다.

게시된 날짜

GHSA-p279-2cqp-84jgCRITICAL9.6
  • Java logoJava
  • org.openidentityplatform.opendj:opendj-server-legacy
아니요Jul 24, 2026
GHSA-fp43-vj7g-pg92HIGH7.5
  • Java logoJava
  • org.omnifaces:omnifaces
아니요Jul 24, 2026
GHSA-7ppr-r889-mcf2HIGH7.5
  • Java logoJava
  • org.http4s:http4s-blaze-server_3
아니요Jul 24, 2026
GHSA-mhvj-jhpq-885vHIGH7.4
  • Java logoJava
  • org.http4s:blaze-http_3
아니요Jul 24, 2026
GHSA-46q4-43ph-c6frHIGH7.4
  • Java logoJava
  • org.http4s:blaze-http_2.12
아니요Jul 24, 2026

무료 취약성 평가

클라우드 보안 태세를 벤치마킹합니다

9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.

평가 요청

추가 Wiz 리소스

맞춤형 데모 받기

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭최고정보책임자(CISO)
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자