@aws-amplify/cli/.../cli@9.2.0-hooks-file-management.0 vulnerabilities

Amplify CLI

  • latest version

    12.13.1

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    25 days ago

  • licenses detected

  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable 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