CVE-2021-46743

Source
https://cve.org/CVERecord?id=CVE-2021-46743
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46743.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-46743
Aliases
Published
2022-03-29T07:15:07.017Z
Modified
2026-03-14T11:18:41.514488Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/firebase/php-jwt

Affected ranges

Type
GIT
Repo
https://github.com/firebase/php-jwt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "6.0.0"
        }
    ]
}

Affected versions

v0.*
v0.0.0
v1.*
v1.0.0
v2.*
v2.0.0
v2.1.0
v2.2.0
v3.*
v3.0.0
v4.*
v4.0.0
v5.*
v5.0.0
v5.1.0
v5.2.0
v5.2.1
v5.3.0
v5.4.0
v5.5.0
v5.5.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46743.json"