Incorrect default file permissions in Kiro CLI (formerly Amazon Q Developer CLI) before version 2...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| AmazonKiro CLI |
≥ 1.16.0, < 2.27.0→ 2.27.0 |
2.27.0 |
Original description The description as published by the source.
Incorrect default file permissions in Kiro CLI (formerly Amazon Q Developer CLI) before version 2.27.0 on macOS and Linux might allow other local users on the same host to read a user's session transcripts and prompt history, including any credentials or source code they contain. The CLI created its local session storage files with permissions that made them readable by all local users.
To remediate this issue, users should upgrade to Kiro CLI version 2.27.0 or later and launch it once. Users who ran Amazon Q Developer CLI 1.16.0 through 1.19.x should also delete the ~/.aws/amazonq/.cli_bash_history file or restrict it to the owner.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- AWS aws.amazon.com
- web kiro.dev
- web aws.amazon.com
- web nvd.nist.gov
- web aws.amazon.com
- web kiro.dev
- web github.com