p PatchFirst

PatchFirst · Latest vulnerabilities

web-token/jwt-bundle vulnerabilities

Vulnerabilities published for web-token/jwt-bundle in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerability: 1

  1. GHSA-jc38-x7x8-2xc8

    Critical · CVSS 9.1Fix available

    PHP JWT Framework: JWSVerifier uses algorithm from unprotected header, enabling algorithm confusion attacks

    ## Summary `JWSVerifier::getAlgorithm()` in `src/Library/Signature/JWSVerifier.php` (line 144) merges protected and unprotected headers using PHP's spread operator: ```php $completeHeader = [...$signature->getProtectedHeader(), ...$signature->getHeader()]; ``` In PHP, when spreading arrays with duplicate string keys, the **last array's values take precedence**. Since the unprotected header (`getHeader()`) is spread second, an attacker can override the integrity-protected `alg` parameter by placing a different value in the unprotected header. This creates a Time-of-Check/Time-of-Use (TOCTOU) vulnerability: 1. `HeaderCheckerManager` validat

    • Update to 3.4.10
    • Update to 4.0.7
    • Update to 4.1.7
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →