p PatchFirst

GHSA-27qh-8cxx-2cr5

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

Cette page présente une partie des faits des sources. Consultez les avis liés pour la description complète et les versions concernées.

### Summary This notification is related to the [CloudFront signing utilities](https://github.com/aws/aws-sdk-php/blob/master/src/CloudFront/Signer.php) 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. ### 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: 3.11.7 - 3.371.3 ### Patches On 3/3/2026, an enhancement was made to the AWS SDK for PHP version 3.371.4. The enhancement ensures that special characters in input values are correctly handled. It is recommended to upgrade to the latest version. ### Workarounds No workarounds are needed, but customers should ensure that the application is following security best practices: - Implement proper input validation in 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 ### References For any questions or comments about this advisory, it is recommended to contact AWS Security via the [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [[email protected]](mailto:[email protected]). Please do not create a public GitHub issue. ### Acknowledgement The Amazon Inspector Security Research team is thanked for identifying this issue and working through the coordinated process.

CVSS 7.7 · Élevée · Correctif disponible

Publication
Mise à jour

Pile logicielle: php

Produits et versions concernés

  • aws/aws-sdk-php Packagist

    Versions du logiciel
    • 3.100.0
    • 3.100.1
    • 3.100.2
    • 3.100.3
    • 3.100.4
    • 3.100.5
    • 3.100.6
    • 3.100.7
    • 3.100.8
    • 3.100.9
    • 3.101.0
    • 3.101.1
    • 3.102.0
    • 3.102.1
    • 3.103.0
    • 3.103.1
    • 3.103.2
    • 3.104.0
    • 3.104.1
    • 3.105.0
    • 3.106.0
    • 3.106.1
    • 3.107.0
    • 3.107.1
    • 3.107.2
    • 3.107.3
    • 3.107.4
    • 3.107.5
    • 3.107.6
    • 3.107.7
    • 3.107.8
    • 3.108.0
    • 3.108.1
    • 3.108.2
    • 3.108.3
    • 3.108.4
    • 3.108.5
    • 3.108.6
    • 3.109.0
    • 3.109.1
    • 3.109.2
    • 3.109.3
    • 3.109.4
    • 3.109.5
    • 3.109.6
    • 3.109.7
    • 3.109.8
    • 3.11.7
    • 3.110.0
    • 3.110.1
    • 3.110.10
    • 3.110.11
    • 3.110.2
    • 3.110.3
    • 3.110.4
    • 3.110.5
    • 3.110.6
    • 3.110.7
    • 3.110.8
    • 3.110.9
    • 3.111.0
    • 3.111.1
    • 3.111.2
    • 3.112.0
    • 3.112.1
    • 3.112.10
    • 3.112.11
    • 3.112.12
    • 3.112.13
    • 3.112.14
    • 3.112.15
    • 3.112.16
    • 3.112.17
    • 3.112.18
    • 3.112.19
    • 3.112.2
    • 3.112.20
    • 3.112.21
    • 3.112.22
    • 3.112.23
    • 3.112.24
    • 3.112.25
    • 3.112.26
    • 3.112.27
    • 3.112.28
    • 3.112.29
    • 3.112.3
    • 3.112.30
    • 3.112.31
    • 3.112.32
    • 3.112.33
    • 3.112.34
    • 3.112.35
    • 3.112.4
    • 3.112.5
    • 3.112.6
    • 3.112.7
    • 3.112.8
    • 3.112.9
    • 3.113.0
    • 3.114.0
    • 3.114.1
    • 3.115.0
    • 3.115.1
    • 3.115.2
    • 3.116.0
    • 3.117.0
    • 3.117.1
    • 3.117.2
    • 3.118.0
    • 3.119.0
    • 3.12.0
    • 3.12.1
    • 3.12.2
    • 3.120.0
    • 3.121.0
    • 3.121.1
    • 3.122.0
    • 3.123.0
    • 3.124.0
    • 3.125.0
    • 3.126.0
    • 3.127.0
    • 3.128.0
    • 3.128.1
    • 3.128.2
    • 3.128.3
    • 3.128.4
    • 3.129.0
    • 3.129.1
    • 3.129.2
    • 3.129.3
    • 3.13.0
    • 3.13.1
    • 3.130.0
    • 3.130.1
    • 3.130.2
    • 3.130.3
    • 3.131.0
    • 3.132.0
    • 3.132.1
    • 3.132.2
    • 3.132.3
    • 3.132.4
    • 3.132.5
    • 3.133.0
    • 3.133.1
    • 3.133.10
    • 3.133.11
    • 3.133.12
    • 3.133.13
    • 3.133.14
    • 3.133.15
    • 3.133.16
    • 3.133.17
    • 3.133.18
    • 3.133.19
    • 3.133.2
    • 3.133.20
    • 3.133.21
    • 3.133.22
    • 3.133.23
    • 3.133.24
    • 3.133.25
    • 3.133.26
    • 3.133.27
    • 3.133.28
    • 3.133.29
    • 3.133.3
    • 3.133.30
    • 3.133.31
    • 3.133.32
    • 3.133.33
    • 3.133.34
    • 3.133.35
    • 3.133.36
    • 3.133.37
    • 3.133.38
    • 3.133.39
    • 3.133.4
    • 3.133.40
    • 3.133.41
    • 3.133.42
    • 3.133.43
    • 3.133.44
    • 3.133.45
    • 3.133.46
    • 3.133.47
    • 3.133.5
    • 3.133.6
    • 3.133.7
    • 3.133.8
    • 3.133.9
    • 3.134.0
    • 3.134.1
    • 3.134.2
    • 3.134.3
    • 3.134.4
    • 3.134.5
    • 3.134.6
    • 3.134.7
    • 3.134.8
    • 3.135.0
    • 3.135.1
    • 3.135.2
    • 3.135.3
    • 3.135.4
    • 3.135.5
    • 3.135.6
    • 3.136.0
    • 3.137.0
    • 3.137.1
    • 3.137.2
    • 3.137.3
    • 3.137.4
    • 3.137.5
    • 3.137.6
    • 3.137.7
    • 3.137.8
    • 3.138.0
    • 3.138.1
    • 3.138.10
    • 3.138.2
    • 3.138.3
    • 3.138.4
    • 3.138.5
    • 3.138.6
    • 3.138.7
    • 3.138.8
    • 3.138.9
    • 3.139.0
    • 3.139.1
    • 3.14.0
    • 3.14.1
    • 3.14.2
    • 3.140.0
    • 3.140.1
    • 3.140.2
    • 3.140.3
    • 3.140.4
    • 3.141.0
    • 3.142.0
    • 3.142.1
    • 3.142.2
    • 3.142.3
    • 3.142.4
    • 3.142.5
    • 3.142.6
    • 3.142.7
    • 3.142.8
    • 3.143.0
    • 3.143.1
    • 3.143.2
    • 3.144.0
    • 3.144.1
    • 3.144.2
    • 3.145.0
    • 3.145.1
    • 3.145.2
    • 3.145.3
    • 3.145.4
    • 3.146.0
    • 3.147.0
    • 3.147.1
    • 3.147.10
    • 3.147.11
    • 3.147.12
    • 3.147.13
    • 3.147.14
    • 3.147.2
    • 3.147.3
    • 3.147.4
    • 3.147.5
    • 3.147.6
    • 3.147.7
    • 3.147.8
    • 3.147.9
    • 3.148.0
    • 3.148.1
    • 3.148.2
    • 3.148.3
    • 3.149.0
    • 3.149.1
    • 3.149.2
    • 3.15.0
    • 3.15.1
    • 3.15.2
    • 3.15.3
    • 3.15.4
    • 3.15.5
    • 3.15.6
    • 3.15.7
    • 3.15.8
    • 3.15.9
    • 3.150.0
    • 3.150.1
    • 3.150.2
    • 3.150.3
    • 3.151.0
    • 3.151.1
    • 3.151.2
    • 3.151.3
    • 3.151.4
    • 3.151.5
    • 3.151.6
    • 3.152.0
    • 3.152.1
    • 3.153.0
    • 3.154.0
    • 3.154.1
    • 3.154.2
    • 3.154.3
    • 3.154.4
    • 3.154.5
    • 3.154.6
    • 3.154.7
    • 3.155.0
    • 3.155.1
    • 3.155.2
    • 3.155.3
    • 3.155.4
    • 3.156.0
    • 3.157.0
    • 3.158.0
    • 3.158.1
    • 3.158.10
    • 3.158.11
    • 3.158.12
    • 3.158.13
    • 3.158.14
    • 3.158.15
    • 3.158.16
    • 3.158.17
    • 3.158.18
    • 3.158.19
    • 3.158.2
    • 3.158.20
    • 3.158.21
    • 3.158.22
    • 3.158.3
    • 3.158.4
    • 3.158.5
    • 3.158.6
    • 3.158.7
    • 3.158.8
    • 3.158.9
    • 3.159.0
    • 3.159.1
    • 3.16.0
    • 3.160.0
    • 3.161.0
    • 3.161.1
    • 3.161.2
    • 3.162.0
    • 3.163.0
    • 3.163.1
    • 3.163.2
    • 3.163.3
    • 3.164.0
    • 3.164.1
    • 3.165.0
    • 3.166.0
    • 3.166.1
    • 3.166.2
    • 3.167.0
    • 3.168.0
    • 3.168.1
    • 3.168.2
    • 3.168.3
    • 3.169.0
    • 3.17.0
    • 3.17.1
    • 3.17.2
    • 3.17.3
    • 3.17.4
    • 3.17.5
    • 3.17.6
    • 3.170.0
    • 3.171.0
    • 3.171.1
    • 3.171.10
    • 3.171.11
    • 3.171.12
    • 3.171.13
    • 3.171.14
    • 3.171.15
    • 3.171.16
    • 3.171.17
    • 3.171.18
    • 3.171.19
    • 3.171.2
    • 3.171.20
    • 3.171.21
    • 3.171.3
    • 3.171.4
    • 3.171.5
    • 3.171.6
    • 3.171.7
    • 3.171.8
    • 3.171.9
    • 3.172.0
    • 3.172.1
    • 3.172.2
    • 3.172.3
    • 3.172.4
    • 3.173.0
    • 3.173.1
    • 3.173.10
    • 3.173.11
    • 3.173.12
    • 3.173.13
    • 3.173.14
    • 3.173.15
    • 3.173.16
    • 3.173.17
    • 3.173.18
    • 3.173.19
    • 3.173.2
    • 3.173.20
    • 3.173.21
    • 3.173.22
    • 3.173.23
    • 3.173.24
    • 3.173.25
    • 3.173.26
    • 3.173.27
    • 3.173.28
    • 3.173.3
    • 3.173.4
    • 3.173.5
    • 3.173.6
    • 3.173.7
    • 3.173.8
    • 3.173.9
    • 3.174.0
    • 3.174.1
    • 3.174.2
    • 3.174.3
    • 3.175.0
    • 3.175.1
    • 3.175.2
    • 3.175.3
    • 3.176.0
    • 3.176.1
    • 3.176.2

    Mettez à jour vers 3.371.4

Sources originales

Vérifiez votre serveur →