Alpine Security Database
ALPINE-CVE-2025-22873
Details
It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or files contained within the parent.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.21 | go | All versions before 1.23.9-r0 (fixed in 1.23.9-r0) |
| Alpine:v3.22 | go | From 1.24.0 before 1.24.3-r0 (fixed in 1.24.3-r0) |
| Alpine:v3.23 | go | From 1.24.0 before 1.24.3-r0 (fixed in 1.24.3-r0) |
| Alpine:v3.24 | go | From 1.24.0 before 1.24.3-r0 (fixed in 1.24.3-r0) |