Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/312308?format=api",
    "purl": "pkg:nuget/System.Drawing.Common@4.5.0",
    "type": "nuget",
    "namespace": "",
    "name": "System.Drawing.Common",
    "version": "4.5.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.7.2",
    "latest_non_vulnerable_version": "5.0.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55037?format=api",
            "vulnerability_id": "VCID-1uqg-c7j6-wkag",
            "summary": ".NET Core Remote Code Execution Vulnerability\nA remote code execution vulnerability exists when parsing certain types of graphics files. This vulnerability only exists on systems running on MacOS or Linux. This CVE ID is unique from CVE-2021-26701.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-24112.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-24112.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-24112",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00817",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74336",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00817",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74304",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78225",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78105",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7814",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78139",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78132",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78166",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78172",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78186",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78199",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7805",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78058",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78087",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.781",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78126",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01107",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78109",
                            "published_at": "2026-04-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-24112"
                },
                {
                    "reference_url": "https://github.com/dotnet/announcements/issues/176",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dotnet/announcements/issues/176"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-24112",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-24112"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-24112",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-24112"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1933741",
                    "reference_id": "1933741",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1933741"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202103-16",
                    "reference_id": "ASA-202103-16",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202103-16"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202103-17",
                    "reference_id": "ASA-202103-17",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202103-17"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1449",
                    "reference_id": "AVG-1449",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1449"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rxg9-xrhp-64gj",
                    "reference_id": "GHSA-rxg9-xrhp-64gj",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-rxg9-xrhp-64gj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/82218?format=api",
                    "purl": "pkg:nuget/System.Drawing.Common@4.7.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.Drawing.Common@4.7.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/82219?format=api",
                    "purl": "pkg:nuget/System.Drawing.Common@5.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.Drawing.Common@5.0.3"
                }
            ],
            "aliases": [
                "CVE-2021-24112",
                "GHSA-rxg9-xrhp-64gj"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1uqg-c7j6-wkag"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.Drawing.Common@4.5.0"
}