CVE-2021-46743: google firebase_php-jwt Type Confusion
Vulnerability summary
CVE-2021-46743 is a critical (CVSS 9.1) Type Confusion vulnerability in google firebase_php-jwt. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 55.7% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 29-03-2022PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versions- wordfenceSource9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.79%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
0.00 pp
From 0.79% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPhp Jwt
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Google1 product
- firebase_php-jwt< 6.0.0
Wordpress1 product
- jwt-auth≤ 2.1.0 (fixed in 2.1.1)
2 vendors · 2 products