Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/54934?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54934?format=api",
    "vulnerability_id": "VCID-vwx5-vvkf-97c1",
    "summary": "namshi/jose - Verification bypass\nSeveral widely-used JSON Web Token (JWT) libraries, including node-jsonwebtoken, pyjwt, namshi/jose, php-jwt, and jsjwt, are affected by critical vulnerabilities that could allow attackers to bypass the verification step when using asymmetric keys (RS256, RS384, RS512, ES256, ES384, ES512).",
    "aliases": [
        {
            "alias": "GHSA-4rr6-gf59-ggw5"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52208?format=api",
            "purl": "pkg:composer/namshi/jose@2.2.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.2.0"
        }
    ],
    "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/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/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/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/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/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/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"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52229?format=api",
            "purl": "pkg:composer/namshi/jose@2.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-gh79-gw1t-j7ar"
                },
                {
                    "vulnerability": "VCID-vwx5-vvkf-97c1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.1.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/740409?format=api",
            "purl": "pkg:composer/namshi/jose@2.1.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vwx5-vvkf-97c1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/namshi/jose@2.1.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries"
        },
        {
            "reference_url": "https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries"
        },
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/namshi/jose/2015-03-10.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/namshi/jose/2015-03-10.yaml"
        },
        {
            "reference_url": "https://github.com/namshi/jose",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/namshi/jose"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4rr6-gf59-ggw5",
            "reference_id": "GHSA-4rr6-gf59-ggw5",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-4rr6-gf59-ggw5"
        }
    ],
    "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": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vwx5-vvkf-97c1"
}