logo

GHSA-6wjw-qf87-fv5v illuminate/encryption

Package

Manager: composer
Name: illuminate/encryption
Vulnerable Version: >=5.5.0 <5.5.40 || >=5.6.0 <5.6.15

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:F/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Laravel Encrypter Failure to decryption vulnerability A potential exploit of the Laravel Encrypter component that may cause the Encrypter to fail on decryption and unexpectedly return false. To exploit this, the attacker must be able to modify the encrypted payload before it is decrypted. Depending on the code within your application, this could lead to unexpected behavior when combined with weak type comparisons, for example: ```php <?php $decyptedValue = decrypt($secret); if ($decryptedValue == '') { // Code is run even though decrypted value is false... } ```

Metadata

Created: 2024-05-15T22:01:01Z
Modified: 2024-05-15T22:01:01Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-6wjw-qf87-fv5v/GHSA-6wjw-qf87-fv5v.json
CWE IDs: ["CWE-1240"]
Alternative ID: N/A
Finding: F052
Auto approve: 1