Symfony: OidcTokenHandler Accepts JWTs Missing aud/iss/exp Claims
symfony · symfony security-http
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symfony/security-http Packagist |
|
|
| symfony/symfony Packagist |
symfony · symfony security-http
| Product | Affected | Fixed in |
|---|---|---|
| symfony/security-http Packagist |
|
|
| symfony/symfony Packagist |
≥ 6.3.0 · < 6.4.40≥ 7.4.0 · < 7.4.12≥ 8.0.0 · < 8.0.12
|
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.
From the CVE record · GitHub_M
Symfony's OidcTokenHandler can accept a validly signed JWT that omits mandatory audience, issuer, or expiry claims. An attacker who can supply such a token may pass claim verification; the input does not specify whether authentication or user interaction is required.
Check applications using symfony/security-http or symfony/symfony versions >=6.3.0 <6.4.40, >=7.4.0 <7.4.12, or >=8.0.0 <8.0.12.