Vulnerability Description
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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Firebase Php-Jwt | < 6.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/firebase/php-jwt/issues/351ExploitThird Party Advisory
- https://github.com/firebase/php-jwt/issues/351ExploitThird Party Advisory
FAQ
What is CVE-2021-46743?
CVE-2021-46743 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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 attack...
How severe is CVE-2021-46743?
CVE-2021-46743 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-46743?
Check the references section above for vendor advisories and patch information. Affected products include: Google Firebase Php-Jwt.