Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/54931?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54931?format=api", "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=api", "purl": "pkg:composer/namshi/jose@1.1.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-gh79-gw1t-j7ar" }, { "vulnerability": "VCID-u53s-286x-1uax" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.1.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/52186?format=api", "purl": "pkg:composer/namshi/jose@1.2.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-gh79-gw1t-j7ar" }, { "vulnerability": "VCID-u53s-286x-1uax" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.2.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/52187?format=api", "purl": "pkg:composer/namshi/jose@2.0.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-gh79-gw1t-j7ar" }, { "vulnerability": "VCID-u53s-286x-1uax" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.0.3" }, { "url": "http://public2.vulnerablecode.io/api/packages/52188?format=api", "purl": "pkg:composer/namshi/jose@2.1.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-gh79-gw1t-j7ar" }, { "vulnerability": "VCID-u53s-286x-1uax" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.1.2" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/200640?format=api", "purl": "pkg:composer/namshi/jose@1.0.0-beta1", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.0.0-beta1" }, { "url": "http://public2.vulnerablecode.io/api/packages/200641?format=api", "purl": "pkg:composer/namshi/jose@1.0.0-rc1", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.0.0-rc1" }, { "url": "http://public2.vulnerablecode.io/api/packages/200642?format=api", "purl": "pkg:composer/namshi/jose@1.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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.0.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/200643?format=api", "purl": "pkg:composer/namshi/jose@1.0.1", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.0.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/200644?format=api", "purl": "pkg:composer/namshi/jose@1.0.2", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.0.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/200645?format=api", "purl": "pkg:composer/namshi/jose@1.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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.1.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/200646?format=api", "purl": "pkg:composer/namshi/jose@1.1.1", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.1.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/52182?format=api", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.2.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/200647?format=api", "purl": "pkg:composer/namshi/jose@1.2.1", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@1.2.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/52183?format=api", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.0.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/200648?format=api", "purl": "pkg:composer/namshi/jose@2.0.1", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.0.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/200649?format=api", "purl": "pkg:composer/namshi/jose@2.0.2", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.0.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/52184?format=api", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.1.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/200650?format=api", "purl": "pkg:composer/namshi/jose@2.1.1", "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" }, { "vulnerability": "VCID-vwx5-vvkf-97c1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.1.1" } ], "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": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "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" }