Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/230010?format=api",
    "purl": "pkg:apk/alpine/webkit2gtk@2.34.3-r0?arch=aarch64&distroversion=v3.18&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "webkit2gtk",
    "version": "2.34.3-r0",
    "qualifiers": {
        "arch": "aarch64",
        "distroversion": "v3.18",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.34.4-r0",
    "latest_non_vulnerable_version": "2.36.5-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9451?format=api",
            "vulnerability_id": "VCID-4j9k-wxma-gber",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-30887.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-30887.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30887",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01217",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79431",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.01217",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79498",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30887"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30887",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30887"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30890",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30890"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/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=2034381",
                    "reference_id": "2034381",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2034381"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202202-01",
                    "reference_id": "GLSA-202202-01",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202202-01"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:1777",
                    "reference_id": "RHSA-2022:1777",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:1777"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:10364",
                    "reference_id": "RHSA-2025:10364",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:10364"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5213-1/",
                    "reference_id": "USN-5213-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5213-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/230010?format=api",
                    "purl": "pkg:apk/alpine/webkit2gtk@2.34.3-r0?arch=aarch64&distroversion=v3.18&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/webkit2gtk@2.34.3-r0%3Farch=aarch64&distroversion=v3.18&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2021-30887"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4j9k-wxma-gber"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9454?format=api",
            "vulnerability_id": "VCID-v158-pkrf-1qbq",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-30890.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-30890.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30890",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0077",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7397",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.0077",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74043",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-30890"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30887",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30887"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30890",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30890"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/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=2034389",
                    "reference_id": "2034389",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2034389"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202202-01",
                    "reference_id": "GLSA-202202-01",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202202-01"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:1777",
                    "reference_id": "RHSA-2022:1777",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:1777"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:10364",
                    "reference_id": "RHSA-2025:10364",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:10364"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5213-1/",
                    "reference_id": "USN-5213-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5213-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/230010?format=api",
                    "purl": "pkg:apk/alpine/webkit2gtk@2.34.3-r0?arch=aarch64&distroversion=v3.18&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/webkit2gtk@2.34.3-r0%3Farch=aarch64&distroversion=v3.18&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2021-30890"
            ],
            "risk_score": 2.8,
            "exploitability": "0.5",
            "weighted_severity": "5.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v158-pkrf-1qbq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/webkit2gtk@2.34.3-r0%3Farch=aarch64&distroversion=v3.18&reponame=community"
}