Defense in depth enhancement for CloudFront signing utility
High7.7Published Mar 25, 2026
### Summary This advisory is related to the CloudFront signing utilities [CloudFrontUrlSigner](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/cloudfront/CloudFrontUrlSigner.html) and [CloudFrontCookieSigner](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/cloudfront/CloudFrontCookieSigner.html) in the AWS SDK for Java v1, which are used to generate Amazon CloudFront signed URLs and signed cookies. A defense-in-depth enhancement has been identified to improve handling of special characters, such as double quotes and backslashes, in input values. This enhancement has been implemented in the AWS SDK for Java v2. The AWS SDK for Java v1 will not receive this update as it has reached end-of-support. ### 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 safegu...
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| com.amazonaws.services.cloudfront Maven | >= 1.10.73 | No fix yet |
Details and references
### Summary This advisory is related to the CloudFront signing utilities [CloudFrontUrlSigner](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/cloudfront/CloudFrontUrlSigner.html) and [CloudFrontCookieSigner](https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/cloudfront/CloudFrontCookieSigner.html) in the AWS SDK for Java v1, which are used to generate Amazon CloudFront signed URLs and signed cookies. A defense-in-depth enhancement has been identified to improve handling of special characters, such as double quotes and backslashes, in input values. This enhancement has been implemented in the AWS SDK for Java v2. The AWS SDK for Java v1 will not receive this update as it has reached end-of-support. ### 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 in the AWS SDK for Java v2 version 2.41.30 to support secure customer implementations. Applications that already follow AWS security best practices for input validation are not impacted. ### Impacted versions: All AWS SDK for Java v1 versions since 1.10.73 ### Patches The AWS SDK for Java v1 reached end-of-support on December 31, 2025, and no further releases will be made. We recommend customers migrate to the [CloudFrontUtilities](https://github.com/aws/aws-sdk-java-v2/blob/master/services/cloudfront/src/main/java/software/amazon/awssdk/services/cloudfront/CloudFrontUtilities.java) from AWS SDK for Java v2, which includes this enhancement and will continue to receive updates and long-term support. ### Workarounds: No workarounds are needed, but you 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 ### Migrate to the AWS SDK for Java v2 For CloudFront signing utilities migration guidance, see [Migration Guide](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/migration-cloudfront-presigning.html). #### Migration Example ``` // Change your Maven dependency as needed: https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/migration-cloudfront-presigning.html // AWS SDK for Java v1 String signedUrl = CloudFrontUrlSigner.getSignedURLWithCannedPolicy(resourceUrl, keyPairId, privateKey, expirationDate); // AWS SDK for Java v2 SignedUrl signedUrl = CloudFrontUtilities.create().getSignedUrlWithCannedPolicy(r -> r .resourceUrl(resourceUrl) .privateKey(privateKey) .keyPairId(keyPairId) .expirationDate(expirationDate)); ``` ### References If you have any questions or comments about this advisory, we ask that you contact [AWS/Amazon] Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue. CloudFrontUrlSigner: https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/cloudfront/CloudFrontUrlSigner.html CloudFrontCookieSigner: https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/cloudfront/CloudFrontCookieSigner.html AWS SDK for Java v1 End-of-Support Announcement: https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-java-v1-x-on-december-31-2025/) AWS SDK for Java v2 Migration Guide: https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/migration.html CloudFront Presigning Migration Guide: https://docs.aws.am
- 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 in AWS SDK for Java v2 | High7.7 | 2.41.30 |
| 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 |