Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/939436?format=api",
    "purl": "pkg:deb/debian/singularity-container@2.5.2-1?distro=sid",
    "type": "deb",
    "namespace": "debian",
    "name": "singularity-container",
    "version": "2.5.2-1",
    "qualifiers": {
        "distro": "sid"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.6.1-1",
    "latest_non_vulnerable_version": "4.1.5+ds4-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/57348?format=api",
            "vulnerability_id": "VCID-b2wt-5jwr-d7g7",
            "summary": "Singularity Incorrect Access Control\nSingularity 2.3.0 through 2.5.1 is affected by an incorrect access control on systems supporting overlay file system. When using the overlay option, a malicious user may access sensitive information by exploiting a few specific Singularity features.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-12021",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62444",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62381",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62398",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62417",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62407",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62385",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6243",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62437",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62421",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62432",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62448",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62277",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62334",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62365",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00427",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62331",
                            "published_at": "2026-04-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-12021"
                },
                {
                    "reference_url": "https://github.com/singularityware/singularity",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/singularityware/singularity"
                },
                {
                    "reference_url": "https://github.com/singularityware/singularity/releases/tag/2.5.2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/singularityware/singularity/releases/tag/2.5.2"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-12021",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:S/C:C/I:N/A:N"
                        },
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-12021"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2019/05/16/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2019/05/16/1"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:sylabs:singularity:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:sylabs:singularity:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:sylabs:singularity:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-4840-1/",
                    "reference_id": "USN-USN-4840-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-4840-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939436?format=api",
                    "purl": "pkg:deb/debian/singularity-container@2.5.2-1?distro=sid",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@2.5.2-1%3Fdistro=sid"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939435?format=api",
                    "purl": "pkg:deb/debian/singularity-container@4.1.5%2Bds4-1?distro=sid",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@4.1.5%252Bds4-1%3Fdistro=sid"
                }
            ],
            "aliases": [
                "CVE-2018-12021",
                "GHSA-4x32-h296-rg6j"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b2wt-5jwr-d7g7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/singularity-container@2.5.2-1%3Fdistro=sid"
}