Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/358624?format=api",
    "purl": "pkg:apk/alpine/perl@5.24.3-r0?arch=x86&distroversion=v3.6&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "perl",
    "version": "5.24.3-r0",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.6",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.24.3-r1",
    "latest_non_vulnerable_version": "5.24.4-r2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/97835?format=api",
            "vulnerability_id": "VCID-6sya-vave-ckgn",
            "summary": "Heap-based buffer overflow in the S_regatom function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attackers to cause a denial of service (out-of-bounds write) via a regular expression with a '\\N{}' escape and the case-insensitive modifier.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-12837.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:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-12837.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12837",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0244",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85453",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.0244",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85477",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.0244",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85482",
                            "published_at": "2026-06-06T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12837"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12837",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12837"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12883",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12883"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "1.9",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:M/Au:N/C:P/I:N/A:N"
                        },
                        {
                            "value": "4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/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=1492091",
                    "reference_id": "1492091",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1492091"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875596",
                    "reference_id": "875596",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875596"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2026:6206",
                    "reference_id": "RHSA-2026:6206",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2026:6206"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3478-1/",
                    "reference_id": "USN-3478-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3478-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/358624?format=api",
                    "purl": "pkg:apk/alpine/perl@5.24.3-r0?arch=x86&distroversion=v3.6&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/perl@5.24.3-r0%3Farch=x86&distroversion=v3.6&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-12837"
            ],
            "risk_score": 2.6,
            "exploitability": "0.5",
            "weighted_severity": "5.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6sya-vave-ckgn"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6400?format=api",
            "vulnerability_id": "VCID-dx7d-j7be-93e7",
            "summary": "information disclosure",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-12883.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-12883.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12883",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04711",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89577",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.04711",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8956",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.04711",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89576",
                            "published_at": "2026-06-06T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12883"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12837",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12837"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12883",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12883"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.6",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:L/Au:N/C:P/I:N/A:P"
                        },
                        {
                            "value": "5.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1492093",
                    "reference_id": "1492093",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1492093"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875597",
                    "reference_id": "875597",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875597"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-500",
                    "reference_id": "AVG-500",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-500"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2026:6206",
                    "reference_id": "RHSA-2026:6206",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2026:6206"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3478-1/",
                    "reference_id": "USN-3478-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3478-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3478-2/",
                    "reference_id": "USN-3478-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3478-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/358624?format=api",
                    "purl": "pkg:apk/alpine/perl@5.24.3-r0?arch=x86&distroversion=v3.6&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/perl@5.24.3-r0%3Farch=x86&distroversion=v3.6&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2017-12883"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dx7d-j7be-93e7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/perl@5.24.3-r0%3Farch=x86&distroversion=v3.6&reponame=main"
}