GHSA-gm98-g2wf-7c68
amphp/artax Cookie leakage to wrong origins and non-restricted cookie acceptance
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.
What each source reports
GitHub AdvisoriesNo score
amphp/artax Cookie leakage to wrong origins and non-restricted cookie acceptance
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.
- Record
GHSA-gm98-g2wf-7c68- Updated
- 2026-11-02
OSVNo score
amphp/artax Cookie leakage to wrong origins and non-restricted cookie acceptance
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.
- Record
GHSA-gm98-g2wf-7c68- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
amphp/artaxPackagist | 2 up to 2.0.6 | 2.0.6 |
amphp/artaxPackagist | before 1.0.6 | 1.0.6 |
amphp/artaxPackagist | 2 up to 2.0.6, plus listed versions 2.0.2v2.0.0v2.0.1v2.0.3v2.0.4v2.0.5 | 2.0.6 |
amphp/artaxPackagist | before 1.0.6, plus listed versions v0.1.0v0.3.7v0.4.0v0.5.0v0.5.1 Show 20 moreShow lessv0.6.0v0.6.1v0.6.2v0.7.0v0.7.1v1.0.0v1.0.0-alphav1.0.0-betav1.0.0-beta2v1.0.0-rc1v1.0.0-rc2v1.0.0-rc3v1.0.0-rc4v1.0.0-rc5v1.0.0-rc6v1.0.1v1.0.2v1.0.3v1.0.4v1.0.5 | 1.0.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-gm98-g2wf-7c68 is a vulnerability with no CVSS score yet in amphp/artax, published May 15, 2024. No source lists public exploit code. Fixed in amphp/artax 2.0.6.
References
github.com/amphp/artax/commit/25668b891d2bced567bd69611c7d18b6a93d5fc4
github.com/amphp/artax/commit/accdadaf78f7a43305c3a97d6a964bbc550a555d
github.com/FriendsOfPHP/security-advisories/blob/master/amphp/artax/2017-05-09.yaml
github.com/amphp/artax/releases/tag/v2.0.6
github.com/advisories/GHSA-gm98-g2wf-7c68
github.com/amphp/artax