VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2021-46743

⇱ NVD - CVE-2021-46743


  1. Vulnerabilities

CVE-2021-46743 Detail

Modified After Enrichment

This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.

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.


Metrics

 
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://github.com/firebase/php-jwt/issues/351 CVE, MITRE Exploit  Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') πŸ‘ cwe source acceptance level
NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

4 change records found show changes

CVE Modified by MITRE 6/17/2026 12:15:25 AM

Action Type Old Value New Value
Added Affected
[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]


CVE Modified by CVE 11/21/2024 1:34:37 AM

Action Type Old Value New Value
Added Reference
https://github.com/firebase/php-jwt/issues/351


CVE Modified by MITRE 5/14/2024 5:45:38 AM

Action Type Old Value New Value

Initial Analysis by NIST 4/08/2022 11:14:50 AM

Action Type Old Value New Value
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N


Added CVSS V2
NIST (AV:N/AC:M/Au:N/C:P/I:P/A:N)


Added CWE
NIST CWE-843


Added CPE Configuration
OR
 *cpe:2.3:a:google:firebase_php-jwt:*:*:*:*:*:*:*:* versions up to (excluding) 6.0.0


Changed Reference Type
https://github.com/firebase/php-jwt/issues/351 No Types Assigned


https://github.com/firebase/php-jwt/issues/351 Exploit, Third Party Advisory


Quick Info

CVE Dictionary Entry:
CVE-2021-46743
NVD Published Date:
03/29/2022
NVD Last Modified:
06/17/2026
Source:
MITRE