6.6 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): High (H)
- Availability (A): Low (L)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): Low (L)
Activity log
- Created suggestion
aqua: Archive extraction in aqua follows attacker-planted symlinks, allowing writes outside the install directory
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.
References
-
https://github.com/aquaproj/aqua/security/advisories/GHSA-mf5c-hw34-4hpp x_refsource_CONFIRM
-
https://github.com/aquaproj/aqua/releases/tag/v2.60.1 x_refsource_MISC
Affected products
- ==< 2.60.1
Matching in nixpkgs
pkgs.aquamarine
Very light linux rendering backend library
pkgs.python313Packages.aqualogic
Python library to interface with Hayward/Goldline AquaLogic/ProLogic pool controllers
pkgs.python313Packages.iaqualink
Python library for Jandy iAqualink
pkgs.python314Packages.aqualogic
Python library to interface with Hayward/Goldline AquaLogic/ProLogic pool controllers
pkgs.python314Packages.iaqualink
Python library for Jandy iAqualink
pkgs.python313Packages.aioaquacell
Asynchronous library to retrieve details of your Aquacell water softener device
pkgs.python313Packages.aioaquarite
Async Python client for the Hayward Aquarite pool API
pkgs.python314Packages.aioaquacell
Asynchronous library to retrieve details of your Aquacell water softener device
pkgs.python314Packages.aioaquarite
Async Python client for the Hayward Aquarite pool API
Package maintainers
-
@NotAShelf NotAShelf <raf@notashelf.dev>
-
@johnrtitor Masum Reza <masumrezarock100@gmail.com>
-
@donovanglover Donovan Glover
-
@khaneliman Austin Horstman <khaneliman12@gmail.com>
-
@fufexan Fufezan Mihai <fufexan@protonmail.com>
-
@JamieMagee Jamie Magee <jamie.magee@gmail.com>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>