Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. gree/jose
  4. ›
  5. CVE-2016-5431

CVE-2016-5431: Key confusion attack

August 7, 2019 (updated October 9, 2019)

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

References

  • github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b
  • nvd.nist.gov/vuln/detail/CVE-2016-5431

Code Behaviors & Features

Detect and mitigate CVE-2016-5431 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.2.1

Fixed versions

  • 2.2.1

Solution

Update to the fixed version

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-310

Source file

packagist/gree/jose/CVE-2016-5431.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:02 +0000.