CVE-2021-46743
CRITICALDescription
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 to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 51% of all known CVEs.
References
Related Vulnerabilities
Other CWE-843 (Type Confusion) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2011-0611 | High | 8.8 | 99% | KEV | Fix |
| CVE-2012-0507 | Critical | 9.8 | 98% | KEV + Ransom | - |
| CVE-2017-8291 | High | 7.8 | 97% | KEV | Fix |
| CVE-2019-0752 | High | 7.5 | 82% | KEV + Ransom | - |
| CVE-2017-0037 | High | 8.1 | 80% | KEV | - |
| CVE-2016-7201 | High | 8.8 | 80% | KEV | - |
Embed a live status badge for CVE-2021-46743
Markdown
[](https://tridentstack.com/cve/CVE-2021-46743)HTML
<a href="https://tridentstack.com/cve/CVE-2021-46743"><img src="https://tridentstack.com/cve/badge/CVE-2021-46743.svg" alt="CVE-2021-46743"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.