aqua: Archive extraction in aqua follows attacker-planted symlinks, allowing writes outside the install 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 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| aquaproj | aqua | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Aquaproj | Aqua |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-mf5c-hw34-4hpp | Aqua's archive extraction follows attacker-planted symlinks, allowing writes outside the install directory |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.181% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Aquaproj
Aquaproj aqua |
|
| Vendors & Products |
Aquaproj
Aquaproj aqua |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | aqua is a declarative command-line version manager written in Go. Prior to 2.60.1, pkg/unarchive/archives.go in the handler.HandleFile method calls os.Symlink with archives.FileInfo.LinkTarget without verifying that the target remains under the extraction destination. A later regular-file entry at the same archive path is opened with OpenFile using O_CREATE and O_WRONLY, which follows the attacker-planted symlink. A malicious or compromised package archive can therefore write attacker-controlled bytes outside aqua's extraction directory with the privileges of the user running aqua, potentially overwriting shell startup files, tool configuration, or writable executable paths. This issue is fixed in version 2.60.1. | |
| Title | aqua: Archive extraction in aqua follows attacker-planted symlinks, allowing writes outside the install directory | |
| Weaknesses | CWE-22 CWE-59 |
|
| References |
| |
| Metrics |
cvssV3_1
|