Advisory

GHSA-mrqx-rp3w-jpjp

Also known as: CVE-2024-50345

Summary

Symfony vulnerable to open redirect via browser-sanitized URLs

Details

Description

The Request class, does not parse URI with special characters the same way browsers do. As a result, an attacker can trick a validator relying on the Request class to redirect users to another domain.

Resolution

The Request::create methods now assert the URI does not contain invalid characters as defined by https://url.spec.whatwg.org/

The patch for this issue is available here for branch 5.4.

Credits

We would like to thank Sam Mush - IPASSLab && ZGC Lab for reporting the issue and Nicolas Grekas for providing the fix.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-11-06 15:22 UTC
Modified
2025-11-03 23:05 UTC

Affected packages and fixes

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 0, fixed 5.4.46 (ecosystem)

Fixed versions

5.4.46

Fix

The export has no generic command for this ecosystem.

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 6.0.0, fixed 6.4.14 (ecosystem)

Fixed versions

6.4.14

Fix

The export has no generic command for this ecosystem.

symfony/http-foundation

Packagist · All systems

Affected

  • introduced 7.0.0, fixed 7.1.7 (ecosystem)

Fixed versions

7.1.7

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