GHSA-gm98-g2wf-7c68
JSON

medium

amphp/artax Cookie leakage to wrong origins and non-restricted cookie acceptance

Severity
medium rating by GitHub
Published
Last changed

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.

Affected

Product or packageVersionsReported by
amphp/artax (Packagist)from 2 before 2.0.6, before 1.0.6GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-gm98-g2wf-7c68 changed 2024-11-29CC-BY-4.0