Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/201554?format=api",
    "vulnerability_id": "VCID-g53a-t6tk-buh6",
    "summary": "Cryptographically Weak PRNG in randomatic",
    "aliases": [
        {
            "alias": "CVE-2017-16028"
        },
        {
            "alias": "GHSA-6g33-f262-xjp4"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13700?format=api",
            "purl": "pkg:npm/randomatic@3.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@3.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423392?format=api",
            "purl": "pkg:npm/randomatic@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423393?format=api",
            "purl": "pkg:npm/randomatic@0.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@0.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423394?format=api",
            "purl": "pkg:npm/randomatic@0.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@0.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423395?format=api",
            "purl": "pkg:npm/randomatic@0.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@0.1.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423396?format=api",
            "purl": "pkg:npm/randomatic@0.1.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@0.1.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423397?format=api",
            "purl": "pkg:npm/randomatic@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423398?format=api",
            "purl": "pkg:npm/randomatic@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423399?format=api",
            "purl": "pkg:npm/randomatic@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423400?format=api",
            "purl": "pkg:npm/randomatic@1.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423401?format=api",
            "purl": "pkg:npm/randomatic@1.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423402?format=api",
            "purl": "pkg:npm/randomatic@1.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.1.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423403?format=api",
            "purl": "pkg:npm/randomatic@1.1.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.1.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423404?format=api",
            "purl": "pkg:npm/randomatic@1.1.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.1.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423405?format=api",
            "purl": "pkg:npm/randomatic@1.1.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.1.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423406?format=api",
            "purl": "pkg:npm/randomatic@1.1.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@1.1.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423407?format=api",
            "purl": "pkg:npm/randomatic@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g53a-t6tk-buh6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/randomatic@2.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16028",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00232",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46262",
                    "published_at": "2026-06-11T12:55:00Z"
                },
                {
                    "value": "0.00232",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46404",
                    "published_at": "2026-06-14T12:55:00Z"
                },
                {
                    "value": "0.00232",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46418",
                    "published_at": "2026-06-13T12:55:00Z"
                },
                {
                    "value": "0.00232",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46408",
                    "published_at": "2026-06-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16028"
        },
        {
            "reference_url": "https://github.com/jonschlinkert/randomatic/commit/4a526959b3a246ae8e4a82f9c182180907227fe1#diff-b9cfc7f2cdf78a7f4b91a753d10865a2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jonschlinkert/randomatic/commit/4a526959b3a246ae8e4a82f9c182180907227fe1#diff-b9cfc7f2cdf78a7f4b91a753d10865a2"
        },
        {
            "reference_url": "https://github.com/tableflip/react-native-meteor-oauth/blob/a7eb738b74c469f5db20296b44b7cae4e2337435/src/meteor-oauth.js#L66",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/tableflip/react-native-meteor-oauth/blob/a7eb738b74c469f5db20296b44b7cae4e2337435/src/meteor-oauth.js#L66"
        },
        {
            "reference_url": "https://www.npmjs.com/advisories/157",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/advisories/157"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16028",
            "reference_id": "CVE-2017-16028",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16028"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6g33-f262-xjp4",
            "reference_id": "GHSA-6g33-f262-xjp4",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-6g33-f262-xjp4"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 330,
            "name": "Use of Insufficiently Random Values",
            "description": "The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers."
        },
        {
            "cwe_id": 338,
            "name": "Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)",
            "description": "The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong."
        },
        {
            "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-g53a-t6tk-buh6"
}