Swift W3C TraceContext has malformed HTTP header that can cause a crash
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| swift-otel | swift-w3c-trace-context | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Swift-otel | Swift-w3c-trace-context | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-mvpq-2v8x-ww6g | Swift W3C TraceContext vulnerable to a malformed HTTP header causing a crash |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.798% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Swift-otel
Swift-otel swift-w3c-trace-context |
|
| Vendors & Products |
Swift-otel
Swift-otel swift-w3c-trace-context |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Swift W3C TraceContext is a Swift implementation of the W3C Trace Context standard, and Swift OTel is an OpenTelemetry Protocol (OTLP) backend for Swift Log, Swift Metrics, and Swift Distributed Tracing. Prior to Swift W3C TraceContext version 1.0.0-beta.5 and Swift OTel version 1.0.4, a denial-of-service vulnerability due to improper input validation allows a remote attacker to crash the service via a malformed HTTP header. This allows crashing the process with data coming from the network when used with, for example, an HTTP server. Most common way of using Swift W3C Trace Context is through Swift OTel. Version 1.0.0-beta.5 of Swift W3C TraceContext and version 1.0.4 of Swift OTel contain a patch for this issue. As a workaround, disable either Swift OTel or the code that extracts the trace information from an incoming header (such as a `TracingMiddleware`). | |
| Title | Swift W3C TraceContext has malformed HTTP header that can cause a crash | |
| Weaknesses | CWE-20 | |
| References |
|
|
| Metrics |
cvssV3_1
|