In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade software.amazon.awssdk:cloudfront to version 2.41.30 or higher.
Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output through the buildCannedPolicy and buildCustomPolicy functions in the CloudFront signing utilities. An attacker can alter the generated CloudFront policy document and weaken access restrictions by supplying crafted resourceUrl or ipAddress values containing special characters. The issue affects applications that pass untrusted input into CloudFront signed URL or signed cookie generation, where the resulting policy is later used to enforce access control.