GHSA-gm98-g2wf-7c68
GHSA-gm98-g2wf-7c68 · amphp/artax Cookie leakage to wrong origins and non-restricted cookie acceptance
This page contains facts from public vulnerability sources. Check the original advisory before updating.
In artax version before 1.0.6 and 2 before 2.0.6, cookies of `foo.bar.example.com` were leaked to `foo.bar`. Additionally, any site could set cookies for any other site. Artax fixed this issue by following newer browser implementations now. Cookies can only be set on domains higher or equal to the current domain, but not on any public suffixes.
Fix available
- Published
- Updated
Stack: php
Affected products and versions
amphp/artax Packagist
- Versions
- 2.0.2
- v2.0.0
- v2.0.1
- v2.0.3
- v2.0.4
- v2.0.5
- Affected ranges
- ECOSYSTEM: ≥ 2, < 2.0.6
Update to 2.0.6
amphp/artax Packagist
- Versions
- v0.1.0
- v0.3.7
- v0.4.0
- v0.5.0
- v0.5.1
- v0.6.0
- v0.6.1
- v0.6.2
- v0.7.0
- v0.7.1
- v1.0.0
- v1.0.0-alpha
- v1.0.0-beta
- v1.0.0-beta2
- v1.0.0-rc1
- v1.0.0-rc2
- v1.0.0-rc3
- v1.0.0-rc4
- v1.0.0-rc5
- v1.0.0-rc6
- v1.0.1
- v1.0.2
- v1.0.3
- v1.0.4
- v1.0.5
- Affected ranges
- ECOSYSTEM: < 1.0.6
Update to 1.0.6
Original sources
- https://github.com/amphp/artax/commit/25668b891d2bced567bd69611c7d18b6a93d5fc4
- https://github.com/amphp/artax/commit/accdadaf78f7a43305c3a97d6a964bbc550a555d
- https://github.com/FriendsOfPHP/security-advisories/blob/master/amphp/artax/2017-05-09.yaml
- https://github.com/amphp/artax
- https://github.com/amphp/artax/releases/tag/v2.0.6
- https://osv.dev/vulnerability/GHSA-gm98-g2wf-7c68