Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-29fc-p6c4-24cg

Опубликовано: 27 мая 2026
Источник: github
Github: Прошло ревью
CVSS4: 4.9

Описание

Symfony's OidcTokenHandler Accepts JWTs Missing aud/iss/exp Claims

Description

OidcTokenHandler is Symfony's built-in access-token handler for OpenID Connect: it validates a bearer JWT and returns the authenticated user identity. It delegates claim validation to the web-token/jwt-checker library's ClaimCheckerManager.

OidcTokenHandler::verifyClaims() registers audience (aud), issuer (iss), and expiry (exp) checkers, but never passes the $mandatoryClaims argument to ClaimCheckerManager::check(). That method only validates claims that are present in the token: a checker for an absent claim is silently skipped. A validly-signed JWT that simply omits aud, iss, and exp therefore passes verification.

Resolution

The OidcTokenHandler now calls the ClaimCheckerManager with the list of mandatory claims so that tokens missing aud, iss, or exp are rejected.

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

Credits

Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.

Пакеты

Наименование

symfony/security-http

composer
Затронутые версииВерсия исправления

>= 6.3.0, < 6.4.40

6.4.40

Наименование

symfony/security-http

composer
Затронутые версииВерсия исправления

>= 7.4.0, < 7.4.12

7.4.12

Наименование

symfony/security-http

composer
Затронутые версииВерсия исправления

>= 8.0.0, < 8.0.12

8.0.12

Наименование

symfony/symfony

composer
Затронутые версииВерсия исправления

>= 6.3.0, < 6.4.40

6.4.40

Наименование

symfony/symfony

composer
Затронутые версииВерсия исправления

>= 7.4.0, < 7.4.12

7.4.12

Наименование

symfony/symfony

composer
Затронутые версииВерсия исправления

>= 8.0.0, < 8.0.12

8.0.12

EPSS

Процентиль: 15%
0.00237
Низкий

4.9 Medium

CVSS4

Дефекты

CWE-1287
CWE-345

Связанные уязвимости

CVSS3: 9.1
ubuntu
16 дней назад

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 6.4.40, 7.4.12, and 8.0.12, OidcTokenHandler::verifyClaims() registered audience (aud), issuer (iss), and expiry (exp) checkers but did not pass the mandatory claims list to ClaimCheckerManager::check(), so a validly signed JWT that omitted those claims could pass verification. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12.

CVSS3: 9.1
nvd
16 дней назад

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 6.4.40, 7.4.12, and 8.0.12, OidcTokenHandler::verifyClaims() registered audience (aud), issuer (iss), and expiry (exp) checkers but did not pass the mandatory claims list to ClaimCheckerManager::check(), so a validly signed JWT that omitted those claims could pass verification. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12.

CVSS3: 9.1
debian
16 дней назад

Symfony is a PHP framework for web and console applications and a set ...

EPSS

Процентиль: 15%
0.00237
Низкий

4.9 Medium

CVSS4

Дефекты

CWE-1287
CWE-345