7.5high

CVE-2016-5431

PHP JOSE Library by Gree Inc. Uses a Broken or Risky Cryptographic Algorithm

Also known as GHSA-xm5f-hc9r-76f3

Published 7 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.0%
percentile 62%
Public exploits
0
none known

Summary

The PHP JOSE Library by Gree Inc. before version 2.2.1 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens.

Exploit prediction (EPSS)

0.95% probability of exploitation in the next 30 days, higher than 62% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
packagistgree/jose
<2.2.1
2.2.1

Affected products

  • n/a jose-php

Classification

Weakness
  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm

References

  • github.com /nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-5431 · advisory
  • github.com /nov/jose-php · package

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.