CVE-2021-46743
CVE-2021-46743
This page contains facts from public vulnerability sources. Check the original advisory before updating.
In Firebase PHP-JWT before 6.0.0, an algorithm-confusion issue (e.g., RS256 / HS256) exists via the kid (aka Key ID) header, when multiple types of keys are loaded in a key ring. This allows an attacker to forge tokens that validate under the incorrect key. NOTE: this provides a straightforward way to use the PHP-JWT library unsafely, but might not be considered a vulnerability in the library itself.
CVSS 9.1 · Critical · EPSS 0.9% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
firebase/php-jwt Packagist
- Versions
- 1.0.0
- 2.0.0
- v2.1.0
- v2.2.0
- v3.0.0
- v4.0.0
- v5.0.0
- v5.1.0
- v5.2.0
- v5.2.1
- v5.3.0
- v5.4.0
- v5.5.0
- v5.5.1
- Affected ranges
- ECOSYSTEM: < 6.0.0
Update to 6.0.0