kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| chainguard-forks | kaniko | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Chainguard-forks | Kaniko |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6rxq-q92g-4rmf | kaniko has tar archive path traversal in its build context extraction, allowing file writes outside destination directories |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.676% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Chainguard
Chainguard kaniko |
|
| CPEs | cpe:2.3:a:chainguard:kaniko:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Chainguard
Chainguard kaniko |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Chainguard-forks
Chainguard-forks kaniko |
|
| Vendors & Products |
Chainguard-forks
Chainguard-forks kaniko |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | kaniko is a tool to build container images from a Dockerfile, inside a container or Kubernetes cluster. Starting in version 1.25.4 and prior to version 1.25.10, kaniko unpacks build context archives using `filepath.Join(dest, cleanedName)` without enforcing that the final path stays within `dest`. A tar entry like `../outside.txt` escapes the extraction root and writes files outside the destination directory. In environments with registry authentication, this can be chained with docker credential helpers to achieve code execution within the executor process. Version 1.25.10 uses securejoin for path resolution in tar extraction. | |
| Title | kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|