{"id":"GHSA-xm5f-hc9r-76f3","aliases":["CVE-2016-5431"],"title":"PHP JOSE Library by Gree Inc. Uses a Broken or Risky Cryptographic Algorithm","description":"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.","severity":"high","score":7.5,"published":"2022-05-24T16:52:44.000Z","modified":"2023-11-08T03:58:31.448Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"gree/jose","ranges":[{"events":[{"introduced":"0"},{"fixed":"2.2.1"}],"type":"ECOSYSTEM"}],"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"],"fixed":["2.2.1"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2016-5431","https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b","https://github.com/nov/jose-php"],"sources":[{"name":"OSV","id":"GHSA-xm5f-hc9r-76f3","modified":"2023-11-08T03:58:31.448438Z","url":"https://osv.dev/vulnerability/GHSA-xm5f-hc9r-76f3"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5}]}