Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/324188?format=api",
    "purl": "pkg:apk/alpine/cloud-init@22.2.2-r0?arch=ppc64le&distroversion=v3.23&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "cloud-init",
    "version": "22.2.2-r0",
    "qualifiers": {
        "arch": "ppc64le",
        "distroversion": "v3.23",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "23.1.2-r0",
    "latest_non_vulnerable_version": "23.1.2-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/174245?format=api",
            "vulnerability_id": "VCID-h3b2-c9uf-6ya9",
            "summary": "Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-2084.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-2084.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-2084",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00026",
                            "scoring_system": "epss",
                            "scoring_elements": "0.07783",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.00026",
                            "scoring_system": "epss",
                            "scoring_elements": "0.07747",
                            "published_at": "2026-06-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-2084"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014247",
                    "reference_id": "1014247",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014247"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2188198",
                    "reference_id": "2188198",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2188198"
                },
                {
                    "reference_url": "https://github.com/canonical/cloud-init/commit/4d467b14363d800b2185b89790d57871f11ea88c",
                    "reference_id": "4d467b14363d800b2185b89790d57871f11ea88c",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-05T14:41:29Z/"
                        }
                    ],
                    "url": "https://github.com/canonical/cloud-init/commit/4d467b14363d800b2185b89790d57871f11ea88c"
                },
                {
                    "reference_url": "https://ubuntu.com/security/notices/USN-5496-1",
                    "reference_id": "USN-5496-1",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-02-05T14:41:29Z/"
                        }
                    ],
                    "url": "https://ubuntu.com/security/notices/USN-5496-1"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5496-1/",
                    "reference_id": "USN-5496-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5496-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/324188?format=api",
                    "purl": "pkg:apk/alpine/cloud-init@22.2.2-r0?arch=ppc64le&distroversion=v3.23&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/cloud-init@22.2.2-r0%3Farch=ppc64le&distroversion=v3.23&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2022-2084"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h3b2-c9uf-6ya9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/cloud-init@22.2.2-r0%3Farch=ppc64le&distroversion=v3.23&reponame=community"
}