Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04NDZnLXA3aG0tZjU0cs4AA7Ba

AWS Amplify CLI has incorrect trust policy management

Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify projects. When the Authentication component is removed from an Amplify project, a Condition property is removed but "Effect":"Allow" remains present, and consequently sts:AssumeRoleWithWebIdentity would be available to threat actors with no conditions. Thus, if Amplify CLI had been used to remove the Authentication component from a project built between August 2019 and January 2024, an "assume role" may have occurred, and may have been leveraged to obtain unauthorized access to an organization's AWS resources. NOTE: the problem could only occur if an authorized AWS user removed an Authentication component. (The vulnerability did not give a threat actor the ability to remove an Authentication component.) However, in realistic situations, an authorized AWS user may have removed an Authentication component, e.g., if the objective were to stop using built-in Cognito resources, or move to a completely different identity provider.

Permalink: https://github.com/advisories/GHSA-846g-p7hm-f54r
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04NDZnLXA3aG0tZjU0cs4AA7Ba
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: 8 months ago
Updated: 4 months ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-846g-p7hm-f54r, CVE-2024-28056
References: Repository: https://github.com/aws-amplify/amplify-cli
Blast Radius: 23.8

Affected Packages

npm:@aws-amplify/cli
Dependent packages: 18
Dependent repositories: 268
Downloads: 1,301,429 last month
Affected Version Ranges: < 12.10.1
Fixed in: 12.10.1
All affected versions: 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.20, 0.1.21, 0.1.22, 0.1.23, 0.1.24, 0.1.26, 0.1.27, 0.1.28, 0.1.29, 0.1.30, 0.1.31, 0.1.32, 0.1.33, 0.1.34, 0.1.35, 0.1.36, 0.1.37, 0.1.38, 0.1.40, 0.1.41, 0.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 12.5.1, 12.5.2, 12.6.0, 12.7.0, 12.7.1, 12.8.2, 12.9.0, 12.10.0
All unaffected versions: 12.10.1, 12.10.2, 12.10.3, 12.11.0, 12.11.1, 12.12.0, 12.12.1, 12.12.2, 12.12.3, 12.12.4, 12.12.5, 12.12.6, 12.13.0, 12.13.1