MediumGHSA-rc8x-jrrc-frfvCVE-2017-9303
Laravel does not properly constrain the host portion of a password-reset URL
Published 17 May 2022 · Updated 25 Apr 2024
Affected packages
laravel/laravelComposer
- Affected
- >=5.4.0 <5.4.22
- Fixed in
- 5.4.22
Update to the fixed version for your release line, for example:
composer require laravel/laravel:^5.4.22illuminate/authComposer
- Affected
- >=5.3.0 <=5.3.31
- Fixed in
- No fix released
illuminate/authComposer
- Affected
- >=5.4.0 <5.4.22
- Fixed in
- 5.4.22
Update to the fixed version for your release line, for example:
composer require illuminate/auth:^5.4.22laravel/frameworkComposer
- Affected
- >=5.3.0 <=5.3.31
- Fixed in
- No fix released
laravel/frameworkComposer
- Affected
- >=5.4.0 <5.4.22
- Fixed in
- 5.4.22
Update to the fixed version for your release line, for example:
composer require laravel/framework:^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.
Is GHSA-rc8x-jrrc-frfv in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected laravel/laravel, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-9303
- Linkgithub.com/laravel/framework/commit/cef10551820530632a86fa6f1306fee95c5cac43
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/illuminate/auth/CVE-2017-9303.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2017-9303.yaml
- Linklaravel-news.com/laravel-5-4-22-is-now-released-and-includes-a-security-fix
- Linklaravel.com/docs/5.4/releases#laravel-5.4.22
- Linkweb.archive.org/web/20171021180417/http://www.securityfocus.com/bid/98776
- Linkwww.securityfocus.com/bid/98776
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.