Lucene search

K
githubGitHub Advisory DatabaseGHSA-H7V2-2QWG-H829
HistoryMay 30, 2024 - 12:41 a.m.

Symfony has a security issue when parsing the Authorization header

2024-05-3000:41:16
CWE-20
GitHub Advisory Database
github.com
1
symfony
httpfoundation
security issue
http
patch
authentication

6.8 Medium

AI Score

Confidence

Low

0 Low

EPSS

Percentile

0.0%

All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpFoundation component are affected by this security issue.

This issue has been fixed in Symfony 2.3.19, 2.4.9, and 2.5.4. Note that no fixes are provided for Symfony 2.0, 2.1, and 2.2 as they are not maintained anymore.

Description

When an application uses an HTTP basic or digest authentication, Symfony does not parse the Authorization header properly, which could be exploited in some server setups (no exploits have been demonstrated though.)

Resolution

The parsing of the Authorization header has been fixed to comply to the HTTP specification.

The patch for this issue is available here: https://github.com/symfony/symfony/pull/11829

Affected configurations

Vulners
Node
symfonytwigRange<2.5.4
OR
symfonytwigRange<2.4.9
OR
symfonytwigRange<2.3.19
OR
symfonytwigRange<2.5.4
OR
symfonytwigRange<2.4.9
OR
symfonytwigRange<2.3.19

6.8 Medium

AI Score

Confidence

Low

0 Low

EPSS

Percentile

0.0%