Skip to content

Commit 2b13674

Browse files
1 parent 40313db commit 2b13674

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-747p-wmpv-9c78",
4+
"modified": "2026-02-27T15:50:32Z",
5+
"published": "2026-02-27T15:50:32Z",
6+
"aliases": [],
7+
"summary": "AWS CLI: cli_history database does not restrict file permissions on Unix systems",
8+
"details": "**Summary**\nAWS CLI is a command line tool for interacting with AWS services. When the cli_history feature is enabled, the history database file is created with default permissions, potentially allowing other local users on a multi-user system to read the file.\n\n**Impact**\nWhen cli_history is enabled, AWS CLI stores command history including command parameters and API request/response data in a local SQLite database. On multi-user Unix systems, the default file permissions may allow other local users to read this file, potentially exposing sensitive information. This issue only affects users who have explicitly enabled cli_history, which is disabled by default.\n\n**Impacted versions:** 1.13.0 - 1.44.37 (v1), 2.0.0 - 2.33.20 (v2)\n\n**Patches**\nThis issue has been addressed in the latest versions 2.33.21 and 1.44.38 of AWS CLI. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. \n\n**Workarounds**\nUsers can manually set restrictive permissions on the history database file. Alternatively, disable cli_history by removing `cli_history = enabled` from the AWS config file.\n\n**Resources**\nIf there are any questions or comments about this advisory, contact AWS Security via the [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.",
9+
"severity": [
10+
{
11+
"type": "CVSS_V3",
12+
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
13+
}
14+
],
15+
"affected": [
16+
{
17+
"package": {
18+
"ecosystem": "PyPI",
19+
"name": "awscli"
20+
},
21+
"ranges": [
22+
{
23+
"type": "ECOSYSTEM",
24+
"events": [
25+
{
26+
"introduced": "1.13.0"
27+
},
28+
{
29+
"fixed": "1.44.38"
30+
}
31+
]
32+
}
33+
]
34+
}
35+
],
36+
"references": [
37+
{
38+
"type": "WEB",
39+
"url": "https://github.com/aws/aws-cli/security/advisories/GHSA-747p-wmpv-9c78"
40+
},
41+
{
42+
"type": "PACKAGE",
43+
"url": "https://github.com/aws/aws-cli"
44+
}
45+
],
46+
"database_specific": {
47+
"cwe_ids": [
48+
"CWE-276"
49+
],
50+
"severity": "MODERATE",
51+
"github_reviewed": true,
52+
"github_reviewed_at": "2026-02-27T15:50:32Z",
53+
"nvd_published_at": null
54+
}
55+
}

0 commit comments

Comments
 (0)