Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/945153?format=api",
    "purl": "pkg:apk/alpine/samba@4.14.2-r0?arch=s390x&distroversion=v3.14&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "samba",
    "version": "4.14.2-r0",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.14",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.14.4-r0",
    "latest_non_vulnerable_version": "4.14.14-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45505?format=api",
            "vulnerability_id": "VCID-28rq-1d68-4bfz",
            "summary": "Multiple vulnerabilities have been found in Samba, the worst of\n    which could result in a Denial of Service condition.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-27840.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-27840.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27840",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94417",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94478",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94469",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94474",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94477",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94424",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94435",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94437",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94447",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9445",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94453",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.14523",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94455",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27840"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1941400",
                    "reference_id": "1941400",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1941400"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985936",
                    "reference_id": "985936",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985936"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1732",
                    "reference_id": "AVG-1732",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1732"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1734",
                    "reference_id": "AVG-1734",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1734"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202105-22",
                    "reference_id": "GLSA-202105-22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202105-22"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4888-1/",
                    "reference_id": "USN-4888-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4888-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4888-2/",
                    "reference_id": "USN-4888-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4888-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/945153?format=api",
                    "purl": "pkg:apk/alpine/samba@4.14.2-r0?arch=s390x&distroversion=v3.14&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.14.2-r0%3Farch=s390x&distroversion=v3.14&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2020-27840"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-28rq-1d68-4bfz"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45507?format=api",
            "vulnerability_id": "VCID-2w26-yjmn-k7an",
            "summary": "Multiple vulnerabilities have been found in Samba, the worst of\n    which could result in a Denial of Service condition.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20277.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20277.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20277",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92332",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92387",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9238",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92382",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92386",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92339",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92344",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92348",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92359",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92364",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92369",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92371",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.08492",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92381",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20277"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1941402",
                    "reference_id": "1941402",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1941402"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985935",
                    "reference_id": "985935",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985935"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1732",
                    "reference_id": "AVG-1732",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1732"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1734",
                    "reference_id": "AVG-1734",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1734"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202105-22",
                    "reference_id": "GLSA-202105-22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202105-22"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:1072",
                    "reference_id": "RHSA-2021:1072",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:1072"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:1197",
                    "reference_id": "RHSA-2021:1197",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:1197"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:1213",
                    "reference_id": "RHSA-2021:1213",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:1213"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:1214",
                    "reference_id": "RHSA-2021:1214",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:1214"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:2331",
                    "reference_id": "RHSA-2021:2331",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:2331"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2021:2786",
                    "reference_id": "RHSA-2021:2786",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2021:2786"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4888-1/",
                    "reference_id": "USN-4888-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4888-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4888-2/",
                    "reference_id": "USN-4888-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4888-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/945153?format=api",
                    "purl": "pkg:apk/alpine/samba@4.14.2-r0?arch=s390x&distroversion=v3.14&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.14.2-r0%3Farch=s390x&distroversion=v3.14&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-20277"
            ],
            "risk_score": 3.2,
            "exploitability": "0.5",
            "weighted_severity": "6.4",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2w26-yjmn-k7an"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.14.2-r0%3Farch=s390x&distroversion=v3.14&reponame=main"
}