# CVE-2016-5431: PHP JOSE Library by Gree Inc. Uses a Broken or Risky Cryptographic Algorithm

Source: https://junglewise.ai/threats/cve-2016-5431-php-jose-library-by-gree-inc-uses-a-broken-or-risky-cryptographic  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2016-5431 · Severity: low · CVSS 3.1 · Published 2022-05-24

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

Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2016-5431 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2016-5431 being exploited in the wild.

**How severe is CVE-2016-5431?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** gree/jose (Packagist) ECOSYSTEM:introduced=0,fixed=2.2.1.

**Is there a fix for CVE-2016-5431?** Yes. gree/jose (Packagist): upgrade to 2.2.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2016-5431?** Check whether you run gree/jose (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- gree/jose (Packagist): upgrade to 2.2.1 or later

  ```sh
  composer require gree/jose:^2.2.1
  ```


## Affected products

- gree/jose (Packagist) ECOSYSTEM:introduced=0,fixed=2.2.1

## Identifiers

- CVE-2016-5431
- GHSA-xm5f-hc9r-76f3

## Related threats

- [gree jose signature bypass via none algorithm](https://junglewise.ai/threats/gree-jose-signature-bypass-via-none-algorithm-cad29c66)
