@aws-amplify/amplify-provider-awscloudformation@8.2.3 vulnerabilities

AWS CloudFormation Provider

Direct Vulnerabilities

Known vulnerabilities in the @aws-amplify/amplify-provider-awscloudformation 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

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/amplify-provider-awscloudformation to version 8.10.2 or higher.

<8.10.2