Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/226855?format=api",
    "purl": "pkg:apk/alpine/nodejs-current@9.2.1-r0?arch=armhf&distroversion=v3.15&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "nodejs-current",
    "version": "9.2.1-r0",
    "qualifiers": {
        "arch": "armhf",
        "distroversion": "v3.15",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.10.0-r0",
    "latest_non_vulnerable_version": "17.3.1-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3081?format=api",
            "vulnerability_id": "VCID-dr42-1rde-kyat",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-15896.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-15896.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-15896",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23698",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.0008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23894",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.0008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.23903",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.0008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.2388",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-15896"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.4",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:P/A:N"
                        },
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1525106",
                    "reference_id": "1525106",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1525106"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/226855?format=api",
                    "purl": "pkg:apk/alpine/nodejs-current@9.2.1-r0?arch=armhf&distroversion=v3.15&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nodejs-current@9.2.1-r0%3Farch=armhf&distroversion=v3.15&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2017-15896"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dr42-1rde-kyat"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/218610?format=api",
            "vulnerability_id": "VCID-e6cp-xr4s-tybf",
            "summary": "Node.js had a bug in versions 8.X and 9.X which caused buffers to not be initialized when the encoding for the fill value did not match the encoding specified. For example, 'Buffer.alloc(0x100, \"This is not correctly encoded\", \"hex\");' The buffer implementation was updated such that the buffer will be initialized to all zeros in these cases.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-15897.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-15897.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-15897",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00642",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71115",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00642",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71205",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00642",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71218",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.00642",
                            "scoring_system": "epss",
                            "scoring_elements": "0.71216",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-15897"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1532534",
                    "reference_id": "1532534",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1532534"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/226855?format=api",
                    "purl": "pkg:apk/alpine/nodejs-current@9.2.1-r0?arch=armhf&distroversion=v3.15&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nodejs-current@9.2.1-r0%3Farch=armhf&distroversion=v3.15&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2017-15897"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-e6cp-xr4s-tybf"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nodejs-current@9.2.1-r0%3Farch=armhf&distroversion=v3.15&reponame=community"
}