{"id":"GHSA-xm5f-hc9r-76f3","summary":"PHP JOSE Library by Gree Inc. Uses a Broken or Risky Cryptographic Algorithm","details":"The PHP JOSE Library by Gree Inc. prior to 2.2.1 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens.","aliases":["CVE-2016-5431"],"modified":"2023-11-08T03:58:31.448438Z","published":"2022-05-24T16:52:44Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-03-03T23:14:26Z","nvd_published_at":"2019-08-07T15:15:00Z","cwe_ids":["CWE-327"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-5431"},{"type":"WEB","url":"https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b"},{"type":"PACKAGE","url":"https://github.com/nov/jose-php"}],"affected":[{"package":{"name":"gree/jose","ecosystem":"Packagist","purl":"pkg:composer/gree/jose"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.1"}]}],"versions":["0.1.0","0.1.1","0.1.3","0.1.4","0.1.5","1.0.0","1.0.1","2.0.0","2.0.1","2.1.0","2.2.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xm5f-hc9r-76f3/GHSA-xm5f-hc9r-76f3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}