Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37836?format=api",
    "vulnerability_id": "VCID-54h7-2gp7-1yb9",
    "summary": "JWT Verification bypass with \"none\" algorithm\nIt is possible for an attacker to create his own signed token with any payload he wants and have it considered valid using the \"none\" algorithm.",
    "aliases": [
        {
            "alias": "GMS-2015-4"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52231?format=api",
            "purl": "pkg:npm/jsonwebtoken@4.2.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@4.2.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200822?format=api",
            "purl": "pkg:npm/jsonwebtoken@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200823?format=api",
            "purl": "pkg:npm/jsonwebtoken@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200824?format=api",
            "purl": "pkg:npm/jsonwebtoken@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200825?format=api",
            "purl": "pkg:npm/jsonwebtoken@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@0.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200826?format=api",
            "purl": "pkg:npm/jsonwebtoken@0.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@0.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200827?format=api",
            "purl": "pkg:npm/jsonwebtoken@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200828?format=api",
            "purl": "pkg:npm/jsonwebtoken@1.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@1.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200829?format=api",
            "purl": "pkg:npm/jsonwebtoken@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200830?format=api",
            "purl": "pkg:npm/jsonwebtoken@1.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@1.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200831?format=api",
            "purl": "pkg:npm/jsonwebtoken@1.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@1.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200832?format=api",
            "purl": "pkg:npm/jsonwebtoken@1.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@1.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200833?format=api",
            "purl": "pkg:npm/jsonwebtoken@1.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@1.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200834?format=api",
            "purl": "pkg:npm/jsonwebtoken@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200835?format=api",
            "purl": "pkg:npm/jsonwebtoken@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200836?format=api",
            "purl": "pkg:npm/jsonwebtoken@3.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@3.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200837?format=api",
            "purl": "pkg:npm/jsonwebtoken@3.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@3.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200838?format=api",
            "purl": "pkg:npm/jsonwebtoken@3.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@3.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200839?format=api",
            "purl": "pkg:npm/jsonwebtoken@3.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@3.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200840?format=api",
            "purl": "pkg:npm/jsonwebtoken@3.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@3.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200841?format=api",
            "purl": "pkg:npm/jsonwebtoken@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200842?format=api",
            "purl": "pkg:npm/jsonwebtoken@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@4.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200843?format=api",
            "purl": "pkg:npm/jsonwebtoken@4.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@4.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/200844?format=api",
            "purl": "pkg:npm/jsonwebtoken@4.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-54h7-2gp7-1yb9"
                },
                {
                    "vulnerability": "VCID-5n9u-avux-mbhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@4.2.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/"
        },
        {
            "reference_url": "https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687"
        },
        {
            "reference_url": "https://www.timmclean.net/2015/02/25/jwt-alg-none.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.timmclean.net/2015/02/25/jwt-alg-none.html"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-54h7-2gp7-1yb9"
}