Use of a Broken or Risky Cryptographic Algorithm Affecting gree/jose package, versions <2.2.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of a Broken or Risky Cryptographic Algorithm vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GREEJOSE-3358775
  • published12 Mar 2023
  • disclosed24 May 2022
  • creditUnknown

Introduced: 24 May 2022

CVE-2016-5431  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade gree/jose to version 2.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm due to key confusion/algorithm substitution in the JWS component, resulting in bypassing the signature verification via crafted tokens.

References

CVSS Scores

version 3.1