Description
Akamai CLI before 2.0.6 contains a path traversal vulnerability that allows malicious packages to write files outside the install directory via unvalidated commands[].name values in cli.json. Attackers who convince victims to install or update a package can use '..' segments to overwrite executables on the user's PATH, persisting after uninstall.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Akamai Akamai CLI
Default version status: unaffected
0 to < 2.0.6affected
pkg:golang/github.com/akamai/cli/v2References
- https://github.com/akamai/cli/pull/227 ↗
- https://github.com/akamai/cli/commit/03cf2e4d7db3680ee8230aa399697d74b0ec5244 ↗
- https://github.com/akamai/cli/releases/tag/v2.0.6 ↗
- https://github.com/akamai/cli/blob/cae602db7ed79a173763da03a31614e8b60275ca/pkg/commands/subcommands.go#L155 ↗
- https://github.com/akamai/cli/blob/cae602db7ed79a173763da03a31614e8b60275ca/pkg/packages/golang.go#L75-L78 ↗
- https://gist.github.com/thesmartshadow/39f1c49ff74099b675e2576171390003 ↗
- https://www.vulncheck.com/advisories/akamai-cli-before-2.0.6-path-traversal-via-cli-json-command-names ↗