Wiz Agents & Workflows are here

CVE-2024-28056
JavaScript vulnerability analysis and mitigation

Overview

CVE-2024-28056 affects AWS Amplify CLI versions prior to 12.10.1 and Amplify Studio. The vulnerability involves incorrect configuration of IAM role trust policies associated with Amplify projects. When the Authentication component was removed from an Amplify project built between August 2019 and January 2024, a Condition property was removed while 'Effect:Allow' remained present, allowing sts:AssumeRoleWithWebIdentity to be available to threat actors without conditions (AWS Security Bulletin, Datadog Labs).

Technical details

The vulnerability stems from two variants of misconfiguration in IAM role trust policies. In variant one (August 2019 to January 2024), removing the Authentication component would leave the role trust policy with an 'Effect:Allow' statement without the necessary Condition element. In variant two (July 2018 to August 2019), roles were created with a vulnerable default configuration that included an authenticated/unauthenticated condition but lacked proper identity pool restrictions. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD, Datadog Labs).

Impact

The vulnerability could allow unauthorized access to AWS resources if exploited. Affected roles maintained their original privileges after becoming vulnerable, potentially giving attackers access to various AWS services depending on the role's permissions. The vulnerability was particularly severe because potentially vulnerable role ARNs were easily discoverable, and the exposure period lasted several years (Datadog Labs).

Mitigation and workarounds

AWS has implemented multiple mitigations: 1) Released Amplify CLI version 12.10.1 with fixes, 2) Added a mitigation to AWS Security Token Service (STS) to prevent cross-account role assumptions with vulnerable trust policies, 3) Added a mitigation to AWS Identity and Access Management (IAM) control plane to prevent creation of role trust policies without proper conditions. Users should upgrade to Amplify CLI 12.10.1 or higher (AWS Security Bulletin).

Community reactions

The vulnerability was discovered and responsibly disclosed by Datadog Security Research. AWS responded promptly by releasing fixes and implementing backend mitigations. The vulnerability has garnered attention due to its potential impact on AWS Amplify users and the extended period of exposure (Wiz Newsletter).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34156CRITICAL9.9
  • JavaScriptJavaScript
  • @nocobase/plugin-workflow-javascript
NoYesMar 30, 2026
CVE-2026-34363HIGH8.2
  • JavaScriptJavaScript
  • parse-server
NoYesMar 30, 2026
CVE-2026-33949HIGH8.1
  • JavaScriptJavaScript
  • @tinacms/graphql
NoYesMar 30, 2026
CVE-2026-34043MEDIUM5.9
  • JavaScriptJavaScript
  • serialize-javascript
NoYesMar 31, 2026
CVE-2026-34373MEDIUM5.3
  • JavaScriptJavaScript
  • parse-server
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management