Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. aws/aws-sdk-php
  4. ›
  5. GHSA-27qh-8cxx-2cr5

GHSA-27qh-8cxx-2cr5: AWS SDK for PHP has CloudFront Policy Document Injection via Special Characters

March 27, 2026

This notification is related to the CloudFront signing utilities in the AWS SDK for PHP, 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.

References

  • github.com/advisories/GHSA-27qh-8cxx-2cr5
  • github.com/aws/aws-sdk-php
  • github.com/aws/aws-sdk-php/blob/master/src/CloudFront/Signer.php
  • github.com/aws/aws-sdk-php/releases/tag/3.371.4
  • github.com/aws/aws-sdk-php/security/advisories/GHSA-27qh-8cxx-2cr5

Code Behaviors & Features

Detect and mitigate GHSA-27qh-8cxx-2cr5 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.11.7 before 3.371.4

Fixed versions

  • 3.371.4

Solution

Upgrade to version 3.371.4 or above.

Impact 9.3 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
  • CWE-20: Improper Input Validation
  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

packagist/aws/aws-sdk-php/GHSA-27qh-8cxx-2cr5.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:57 +0000.