OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| open-telemetry | opentelemetry-dotnet-contrib | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Opentelemetry | Opentelemetry-dotnet-contrib |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v8pv-4842-x354 | OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.177% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Opentelemetry
Opentelemetry opentelemetry-dotnet-contrib |
|
| Vendors & Products |
Opentelemetry
Opentelemetry opentelemetry-dotnet-contrib |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | `OpenTelemetry.Resources.Host` NuGet package, which provides OpenTelemetry resource detectors for host, is affected by an untrusted search path vulnerability on macOS. Prior to version 1.16.0-beta.2, the `host.id` resource attribute detector launches the `sh` and `ioreg` executables by bare name rather than by absolute path, so both are resolved through the `PATH` environment variable. A local attacker who is less privileged than the host application, and who can influence `PATH` or write to a directory that appears in `PATH` ahead of the system directories, can have an arbitrary binary executed in the application's security context, resulting in local code execution/privilege escalation. This vulnerability only affect macOS hosts - Linux and Windows hosts are unaffected. Version 1.16.0-beta.2 contains a patch. No known workarounds are available. | |
| Title | OpenTelemetry.Resources.Host vulnerable to arbitrary code execution via local PATH hijacking on macOS | |
| Weaknesses | CWE-426 | |
| References |
| |
| Metrics |
cvssV3_1
|