Steeltoe: TLS private keys written to /tmp with default permissions, never deleted
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| SteeltoeOSS | Steeltoe.Configuration.Abstractions | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Steeltoeoss | Steeltoe.configuration.abstractions |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-rxrh-4j9h-xgg9 | Steeltoe: TLS private keys written to /tmp with default permissions, never deleted |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.065% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Steeltoeoss
Steeltoeoss steeltoe.configuration.abstractions |
|
| Vendors & Products |
Steeltoeoss
Steeltoeoss steeltoe.configuration.abstractions |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Steeltoe is an open source project that provides a collection of libraries that helps users build cloud-native applications. In Steeltoe.Configuration.Abstractions 4.0.0 through 4.1.0, when MySQL or PostgreSQL service bindings from `VCAP_SERVICES` include TLS client credentials, the Connectors library writes those credentials to temporary files in `Path.GetTempPath()` using `File.CreateText`. On Linux, `File.CreateText` creates files with mode `0644` (world-readable) under the process umask, and the files are never deleted. The same key material is protected at mode `0400` in `/proc/<pid>/environ`. Steeltoe.Configuration.Abstractions version 4.2.0 patches the issue. If an immediate upgrade is not possible, prevent other processes from running in the container under a different UID with access to `/tmp`. | |
| Title | Steeltoe: TLS private keys written to /tmp with default permissions, never deleted | |
| Weaknesses | CWE-312 CWE-732 |
|
| References |
| |
| Metrics |
cvssV3_1
|