Advisory

GHSA-gm98-g2wf-7c68

Also known as: None

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-15 17:52 UTC
Modified
2024-11-29 05:25 UTC

Affected packages and fixes

amphp/artax

Packagist · All systems

Affected

  • introduced 2, fixed 2.0.6 (ecosystem)

Fixed versions

2.0.6

Fix

The export has no generic command for this ecosystem.

amphp/artax

Packagist · All systems

Affected

  • introduced 0, fixed 1.0.6 (ecosystem)

Fixed versions

1.0.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences