Defense in depth enhancement for CloudFront signing utility in AWS SDK for Java v2
High7.7Published Mar 25, 2026
### Summary This notification is related to the [CloudFront signing utilities](https://github.com/aws/aws-sdk-java-v2/blob/master/services/cloudfront/src/main/java/software/amazon/awssdk/services/cloudfront/CloudFrontUtilities.java) in the AWS SDK for Java v2, which are used to generate Amazon CloudFront signed URLs and signed cookies. A defense-in-depth enhancement has been implemented to improve handling of special characters, such as double quotes and backslashes, in input values. ### Impact The CloudFront signing utilities build policy documents that define access restrictions for signed URLs and cookies. If an application passes unsanitized input containing special characters to these utilities, the resulting policy document may not reflect the application's intended access restrictions. While the SDK was functioning safely within the requirements of the shared responsibility model, additional safeguards have been added to support secure customer implementations. Applications that already follow AWS security best practices for input validation are not impacted. ### Impacted versions: 2.18.33 - 2.41.29 ### Patches On 2026.02.16, an enhancement was made to AWS SDK for Java v2 ve...
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| software.amazon.awssdk.services.cloudfront Maven | < 2.41.30 | 2.41.30 |
Details and references
### Summary This notification is related to the [CloudFront signing utilities](https://github.com/aws/aws-sdk-java-v2/blob/master/services/cloudfront/src/main/java/software/amazon/awssdk/services/cloudfront/CloudFrontUtilities.java) in the AWS SDK for Java v2, which are used to generate Amazon CloudFront signed URLs and signed cookies. A defense-in-depth enhancement has been implemented to improve handling of special characters, such as double quotes and backslashes, in input values. ### Impact The CloudFront signing utilities build policy documents that define access restrictions for signed URLs and cookies. If an application passes unsanitized input containing special characters to these utilities, the resulting policy document may not reflect the application's intended access restrictions. While the SDK was functioning safely within the requirements of the shared responsibility model, additional safeguards have been added to support secure customer implementations. Applications that already follow AWS security best practices for input validation are not impacted. ### Impacted versions: 2.18.33 - 2.41.29 ### Patches On 2026.02.16, an enhancement was made to AWS SDK for Java v2 version 2.41.30. The enhancement ensures that special characters in input values are correctly handled. We recommend upgrading to the latest version. ### Workarounds No workarounds are needed, but customers should ensure that your application is following security best practices: * Implement proper input validation in your application code before passing values to CloudFront signing utilities * Update to the latest AWS SDK release on a regular basis * Follow [AWS security best practices for SDK configuration](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/security.html) ### References If you have any questions or comments about this advisory, we ask that you contact [AWS/Amazon] Security via our vulnerability reporting page or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue. ### Acknowledgement We thank the Amazon Inspector Security Research team for identifying this issue and working with us through the coordinated process.
- CVSS 4.0
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N
- Severity from
- GitHub (reviewed advisory)
More AWS advisories
All AWS| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 26 | Defense in depth enhancement for CloudFront signing utility in AWS Tools for PowerShell | High7.7 | 4.1.1008+1 more |
| Mar 26 | Defense in depth enhancement for CloudFront signing utility in AWS SDK for .NET | High7.7 | 3.7.510.7+1 more |
| Mar 25 | Defense in depth enhancement for CloudFront signing utility | High7.7 | No fix yet |
| Mar 25 | Defense in depth enhancement for CloudFront signing utility in AWS SDK for PHP V3 | High7.7 | 3.371.4 |
| Mar 19 | AWS-LC X.509 Name Constraints Bypass via Wildcard/Unicode CN | Medium | 1.71.0 |
| Mar 19 | CRL Distribution Point Scope Check Logic Error in AWS-LC | High7.4 | 1.71.0+1 more |