googleapis/php-jwt

googleapis/php-jwt

Releases41
Frequency4 months 2 weeks
Last Release
Stars9.81K
PHP package for JWT

CVE History

CVEPublishedCVSS v3CVSS v2
6.5 MEDIUM

php-jwt v6.11.0 was discovered to contain weak encryption. NOTE: this issue has been disputed on the basis that key lengths are expected to be set by an application, not by this library. This dispute is subject to review under CNA rules 4.1.4, 4.1.14, and other rules; the dispute tagging is not meant to recommend an outcome for this CVE Record.

9.1 CRITICAL5.8 MEDIUM

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.