Skip to content

GHSA-gm98-g2wf-7c68 amphp/artax Cookie leakage to wrong origins and non-restricted cookie acceptance

Unknown
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
amphp/artax(Packagist) < 1.0.6; = 2.0.2; = v0.1.0; = v0.3.7 +29 more 1.0.6, 2.0.6 Fixed

Affected products

ProductAffected versionsFixed in
amphp/artax(Packagist) >= 2, < 2.0.6 2.0.6
amphp/artax(Packagist) = 2.0.2 No fix listed
amphp/artax(Packagist) = v2.0.0 No fix listed
amphp/artax(Packagist) = v2.0.1 No fix listed
amphp/artax(Packagist) = v2.0.3 No fix listed
amphp/artax(Packagist) = v2.0.4 No fix listed
amphp/artax(Packagist) = v2.0.5 No fix listed
amphp/artax(Packagist) < 1.0.6 1.0.6
amphp/artax(Packagist) = v0.1.0 No fix listed
amphp/artax(Packagist) = v0.3.7 No fix listed
amphp/artax(Packagist) = v0.4.0 No fix listed
amphp/artax(Packagist) = v0.5.0 No fix listed
amphp/artax(Packagist) = v0.5.1 No fix listed
amphp/artax(Packagist) = v0.6.0 No fix listed
amphp/artax(Packagist) = v0.6.1 No fix listed
amphp/artax(Packagist) = v0.6.2 No fix listed
amphp/artax(Packagist) = v0.7.0 No fix listed
amphp/artax(Packagist) = v0.7.1 No fix listed
amphp/artax(Packagist) = v1.0.0 No fix listed
amphp/artax(Packagist) = v1.0.0-alpha No fix listed
amphp/artax(Packagist) = v1.0.0-beta No fix listed
amphp/artax(Packagist) = v1.0.0-beta2 No fix listed
amphp/artax(Packagist) = v1.0.0-rc1 No fix listed
amphp/artax(Packagist) = v1.0.0-rc2 No fix listed
amphp/artax(Packagist) = v1.0.0-rc3 No fix listed
Show 8 more
ProductAffected versionsFixed in
amphp/artax(Packagist) = v1.0.0-rc4 No fix listed
amphp/artax(Packagist) = v1.0.0-rc5 No fix listed
amphp/artax(Packagist) = v1.0.0-rc6 No fix listed
amphp/artax(Packagist) = v1.0.1 No fix listed
amphp/artax(Packagist) = v1.0.2 No fix listed
amphp/artax(Packagist) = v1.0.3 No fix listed
amphp/artax(Packagist) = v1.0.4 No fix listed
amphp/artax(Packagist) = v1.0.5 No fix listed

References