GHSA-rc8x-jrrc-frfv
Laravel does not properly constrain the host portion of a password-reset URL
Quick fix
GHSA-rc8x-jrrc-frfv — laravel/laravel: upgrade to the fixed version with the command below.
composer require laravel/laravel:^5.4.22Details
Laravel 5.4.x before 5.4.22 does not properly constrain the host portion of a password-reset URL, which makes it easier for remote attackers to conduct phishing attacks by specifying an attacker-controlled host.
Are you affected?
Enter the version of the package you're using.
Affected packages
5.4.0Fixed in: 5.4.22composer require laravel/laravel:^5.4.225.3.0No fixed version published yet for illuminate/auth (composer). Pin to a known-safe version or switch to an alternative.
5.4.0Fixed in: 5.4.22composer require illuminate/auth:^5.4.225.3.0No fixed version published yet for laravel/framework (composer). Pin to a known-safe version or switch to an alternative.
5.4.0Fixed in: 5.4.22composer require laravel/framework:^5.4.22References
- https://nvd.nist.gov/vuln/detail/CVE-2017-9303[ADVISORY]
- https://github.com/laravel/framework/commit/cef10551820530632a86fa6f1306fee95c5cac43[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/auth/CVE-2017-9303.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2017-9303.yaml[WEB]
- https://laravel-news.com/laravel-5-4-22-is-now-released-and-includes-a-security-fix[WEB]
- https://laravel.com/docs/5.4/releases#laravel-5.4.22[WEB]
- https://web.archive.org/web/20171021180417/http://www.securityfocus.com/bid/98776[WEB]
- http://www.securityfocus.com/bid/98776[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/laravel/laravel"]}'