{"vuln_id":"GHSA-7852-w36x-6mf6","aliases":[],"description":"Laravel Encrypter Component Potential Decryption Failure Leading to Unintended Behavior","published_at":"2024-05-15T22:08:06Z","modified_at":"2024-11-29T05:40:57.344982Z","first_seen_at":"2026-11-21T19:23:18.212797Z","severity":"medium","severity_source":"native","cvss_score":null,"cvss_vector":null,"cwe":["CWE-1240"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-7852-w36x-6mf6"},"matched_alias":null,"items":[{"id":11302,"source":{"id":"laravel","name":"Laravel framework (Packagist laravel/framework vulnerabilities)"},"title":"laravel/framework (Packagist): GHSA-7852-w36x-6mf6 - Laravel Encrypter Component Potential Decryption Failure Leading to Unintended Behavior","summary":"Laravel Encrypter Component Potential Decryption Failure Leading to Unintended Behavior\n\nThe Laravel Encrypter component is susceptible to a vulnerability that may result in decryption failure, leading to an unexpected return of `false`. Exploiting this issue requires the attacker to manipulate the encrypted payload before decryption. When combined with weak type comparisons in the application's code, such as the example below:\n\n```\n<?php\n\n$decyptedValue = decrypt($secret);\n\nif ($decryptedValue == '') {\n    // Code is run even though decrypted value is false...\n}\n```\n\nAffected: Packagist:laravel/framework\n\nFixed in: 5.5.40, 5.6.15\n\nReferences:\nhttps://github.com/laravel/framework/commit/28e53f23a76206fb130e9a54eb95aa3f010e79c9\nhttps://github.com/laravel/framework/commit/886d261df0854426b4662b7ed5db6a1c575a4279\nhttps://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/2018-03-30-1.yaml\nhttps://github.com/laravel/framework\nhttps://medium.com/@taylorotwell/laravel-security-release-5-6-15-and-5-5-40-56f1257933a0","url":"https://osv.dev/vulnerability/GHSA-7852-w36x-6mf6","published_at":"2024-05-15T22:08:06Z","updated_at":"2024-11-29T05:40:57.344982Z","fetched_at":"2026-11-21T19:23:17.999930Z","severity":"medium","cvss_score":null,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"laravel","product":"laravel/framework","vuln_id":"GHSA-7852-w36x-6mf6","vuln_ids":["GHSA-7852-W36X-6MF6"],"tags":["package-watch","pkg:laravel/framework","fix-available"],"cluster_id":10884,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11302","html":"https://vulnwatch.ve1ve2.com/item/11302"}}]}