{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/54931?format=json","vulnerability_id":"VCID-862b-xqfw-bya5","summary":"namshi/jose insecure JSON Web Signatures (JWS)\nnamshi/jose allows the acceptance of unsecure JSON Web Signatures (JWS) by default. The vulnerability arises from the $allowUnsecure flag, which, when set to true during the loading of JWSes, permits tokens signed with 'none' algorithms to be processed. This behavior poses a significant security risk as it could allow an attacker to impersonate users by crafting a valid jwt token.","aliases":[{"alias":"GHSA-hxhc-wmg8-xrqf"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/52185?format=json","purl":"pkg:composer/namshi/jose@1.1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-gh79-gw1t-j7ar"},{"vulnerability":"VCID-u53s-286x-1uax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.1.2"},{"url":"http://public2.vulnerablecode.io/api/packages/52186?format=json","purl":"pkg:composer/namshi/jose@1.2.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-gh79-gw1t-j7ar"},{"vulnerability":"VCID-u53s-286x-1uax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.2.2"},{"url":"http://public2.vulnerablecode.io/api/packages/52187?format=json","purl":"pkg:composer/namshi/jose@2.0.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-gh79-gw1t-j7ar"},{"vulnerability":"VCID-u53s-286x-1uax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.0.3"},{"url":"http://public2.vulnerablecode.io/api/packages/52188?format=json","purl":"pkg:composer/namshi/jose@2.1.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-gh79-gw1t-j7ar"},{"vulnerability":"VCID-u53s-286x-1uax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.1.2"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/52182?format=json","purl":"pkg:composer/namshi/jose@1.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-48zd-34ep-cua1"},{"vulnerability":"VCID-862b-xqfw-bya5"},{"vulnerability":"VCID-gh79-gw1t-j7ar"},{"vulnerability":"VCID-u53s-286x-1uax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/52183?format=json","purl":"pkg:composer/namshi/jose@2.0.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-48zd-34ep-cua1"},{"vulnerability":"VCID-862b-xqfw-bya5"},{"vulnerability":"VCID-gh79-gw1t-j7ar"},{"vulnerability":"VCID-u53s-286x-1uax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.0.0"},{"url":"http://public2.vulnerablecode.io/api/packages/52184?format=json","purl":"pkg:composer/namshi/jose@2.1.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-48zd-34ep-cua1"},{"vulnerability":"VCID-862b-xqfw-bya5"},{"vulnerability":"VCID-gh79-gw1t-j7ar"},{"vulnerability":"VCID-u53s-286x-1uax"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.1.0"}],"references":[{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/namshi/jose/2015-02-19.yaml","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/namshi/jose/2015-02-19.yaml"},{"reference_url":"https://github.com/namshi/jose","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/namshi/jose"},{"reference_url":"https://github.com/namshi/jose/commit/009f86d6ced000b806b2f602c0b7393060ebb34e","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/namshi/jose/commit/009f86d6ced000b806b2f602c0b7393060ebb34e"},{"reference_url":"https://github.com/advisories/GHSA-hxhc-wmg8-xrqf","reference_id":"GHSA-hxhc-wmg8-xrqf","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-hxhc-wmg8-xrqf"}],"weaknesses":[{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"7.0 - 8.9","exploitability":"0.5","weighted_severity":"8.0","risk_score":4.0,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-862b-xqfw-bya5"}