CVE-2021-46743
CVE-2021-46743 is a critical-severity vulnerability in Google Firebase Php-jwt with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-843.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- CVSS v2: 5.8
- EPSS exploit prediction: 1% (54th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-843
- Affected product: Google Firebase Php-jwt
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-46743?
- 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.
- How severe is CVE-2021-46743?
- CVE-2021-46743 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2021-46743 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-46743?
- CVE-2021-46743 affects Google Firebase Php-jwt. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-46743?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2021-46743 published?
- CVE-2021-46743 was published on 2022-03-29 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:google:firebase_php-jwt:*:*:*:*:*:*:*:*
More vulnerabilities in Google Firebase Php-jwt
- CVE-2025-45769 — Medium (CVSS 6.5): php-jwt v6.11.0 was discovered to contain weak encryption. NOTE: this issue has been disputed on the basis that key…
All CVEs affecting Google Firebase Php-jwt →
Other CWE-843 vulnerabilities
- CVE-2021-33970 — Critical (CVSS 10.0): Buffer Overflow vulnerability in Qihoo 360 Chrome v13.0.2170.0 allows attacker to escalate priveleges.
- CVE-2010-2299 — Critical (CVSS 10.0): The Clipboard::DispatchObject function in app/clipboard/clipboard.cc in Google Chrome before 5.0.375.70 does not…
- CVE-2023-22579 — Critical (CVSS 9.9): Due to improper parameter filtering in the sequalize js library, can a attacker peform injection.
- CVE-2026-16919 — Critical (CVSS 9.8): IBM AIX 7.2, and 7.3 and IBM PowerVM VIOS 4.1 could allow a remote attacker to execute arbitrary code due to improper…
- CVE-2026-71558 — Critical (CVSS 9.8): Heap type confusion vulnerability in Apache Fory C++ deserialization. This issue affects Apache Fory C++ versions from…
- CVE-2026-64727 — Critical (CVSS 9.8): A type confusion issue was addressed with improved memory handling. This issue is fixed in macOS Tahoe 26.6, tvOS 26.6.…