Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/339403?format=api",
    "purl": "pkg:apk/alpine/xen@4.15.0-r1?arch=s390x&distroversion=v3.22&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "xen",
    "version": "4.15.0-r1",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.22",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.15.0-r2",
    "latest_non_vulnerable_version": "4.20.3-r3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/413?format=api",
            "vulnerability_id": "VCID-27gb-az3s-5bhb",
            "summary": "x86: TSX Async Abort protections not restored after S3",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28690",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.58247",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28690"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202107-30",
                    "reference_id": "GLSA-202107-30",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202107-30"
                },
                {
                    "reference_url": "https://xenbits.xen.org/xsa/advisory-377.html",
                    "reference_id": "XSA-377",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://xenbits.xen.org/xsa/advisory-377.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/339403?format=api",
                    "purl": "pkg:apk/alpine/xen@4.15.0-r1?arch=s390x&distroversion=v3.22&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/xen@4.15.0-r1%3Farch=s390x&distroversion=v3.22&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-28690",
                "XSA-377"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-27gb-az3s-5bhb"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/408?format=api",
            "vulnerability_id": "VCID-nc3a-79sk-7qb9",
            "summary": "xen/arm: Boot modules are not scrubbed",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28693",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0006",
                            "scoring_system": "epss",
                            "scoring_elements": "0.18941",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28693"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202107-30",
                    "reference_id": "GLSA-202107-30",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202107-30"
                },
                {
                    "reference_url": "https://xenbits.xen.org/xsa/advisory-372.html",
                    "reference_id": "XSA-372",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://xenbits.xen.org/xsa/advisory-372.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/339403?format=api",
                    "purl": "pkg:apk/alpine/xen@4.15.0-r1?arch=s390x&distroversion=v3.22&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/xen@4.15.0-r1%3Farch=s390x&distroversion=v3.22&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-28693",
                "XSA-372"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nc3a-79sk-7qb9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/xen@4.15.0-r1%3Farch=s390x&distroversion=v3.22&reponame=main"
}