Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/awscli@1.42.11
Typepypi
Namespace
Nameawscli
Version1.42.11
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.44.38
Latest_non_vulnerable_version1.44.38
Affected_by_vulnerabilities
0
url VCID-73n9-rtpe-xbhc
vulnerability_id VCID-73n9-rtpe-xbhc
summary
AWS CLI: cli_history database does not restrict file permissions on Unix systems
**Summary**
AWS 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.

**Impact**
When 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.

**Impacted versions:** 1.13.0 - 1.44.37 (v1), 2.0.0 - 2.33.20 (v2)

**Patches**
This 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. 

**Workarounds**
Users can manually set restrictive permissions on the history database file. Alternatively, disable cli_history by removing `cli_history = enabled` from the AWS config file.

**Resources**
If 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.
references
0
reference_url https://github.com/aws/aws-cli
reference_id
reference_type
scores
0
value 5.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cli
1
reference_url https://github.com/aws/aws-cli/security/advisories/GHSA-747p-wmpv-9c78
reference_id
reference_type
scores
0
value 5.9
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/aws/aws-cli/security/advisories/GHSA-747p-wmpv-9c78
2
reference_url https://github.com/advisories/GHSA-747p-wmpv-9c78
reference_id GHSA-747p-wmpv-9c78
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-747p-wmpv-9c78
fixed_packages
0
url pkg:pypi/awscli@1.44.38
purl pkg:pypi/awscli@1.44.38
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/awscli@1.44.38
aliases GHSA-747p-wmpv-9c78
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-73n9-rtpe-xbhc
Fixing_vulnerabilities
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/awscli@1.42.11