GHSA-443w-3rq3-5m5h — cloudfront
GHSA-443w-3rq3-5m5h is a security vulnerability in software.amazon.awssdk:cloudfront. A fix is available for software.amazon.awssdk:cloudfront — see the affected versions and patch details below.
AWS SDK for Java 2.0: Improper Handling of Special Characters in CloudFront Signing Utilities
Real-World Exposure
software.amazon.awssdk:cloudfrontReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Summary
This notification is related to the CloudFront signing utilities 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
Resources
If there are any questions or comments about this advisory, contact [AWS/Amazon] Security via our vulnerability reporting page or directly via email to [email protected]. Please do not create a public GitHub issue.
Acknowledgement
AWS SDK for Java 2.0 thanks the Amazon Inspector Security Research team for identifying this issue and working with us through the coordinated process.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | software.amazon.awssdk:cloudfront | ≥ 2.18.33&&< 2.41.30 | 2.41.30software.amazon.awssdk:cloudfront:2.41.30 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for software.amazon.awssdk:cloudfront, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update software.amazon.awssdk:cloudfront to 2.41.30 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-443w-3rq3-5m5h is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-443w-3rq3-5m5h can be triaged on real exposure rather than presence alone.
Tailored to GHSA-443w-3rq3-5m5h. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-443w-3rq3-5m5h in your dependencies?
O3 Security finds GHSA-443w-3rq3-5m5h across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.