@aws-amplify/cli@4.23.1-alpha.0 vulnerabilities

Amplify CLI

Direct Vulnerabilities

Known vulnerabilities in the @aws-amplify/cli package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Improper Privilege Management

@aws-amplify/cli is an Amplify CLI

Affected versions of this package are vulnerable to Improper Privilege Management due to incorrect configuration of the role trust policy for IAM roles associated with Amplify projects. Specifically, when the Authentication component is removed, a Condition property is also removed while leaving "Effect":"Allow" intact. This oversight allows the sts:AssumeRoleWithWebIdentity action to be available without any conditions, potentially enabling unauthorized access to an organization's AWS resources. This issue arises if an authorized AWS user removes the Authentication component, which could realistically occur if there's a decision to discontinue using built-in Cognito resources or to switch to a different identity provider.

How to fix Improper Privilege Management?

Upgrade @aws-amplify/cli to version 12.10.1 or higher.

<12.10.1