Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/938931?format=api",
    "purl": "pkg:deb/debian/rustc@1.27.1%2Bdfsg1-1~exp1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "rustc",
    "version": "1.27.1+dfsg1-1~exp1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.29.0+dfsg1-1",
    "latest_non_vulnerable_version": "1.94.1+dfsg1-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56586?format=api",
            "vulnerability_id": "VCID-14pa-2rzz-kfg7",
            "summary": "Multiple vulnerabilities have been found in Rust, the worst which\n    may allow local attackers to execute arbitrary code.",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1000622.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1000622.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000622",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74017",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74147",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74104",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7414",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74148",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74024",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7405",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74021",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74054",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74069",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74091",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74072",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74065",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74105",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00801",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74113",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000622"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000622",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000622"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#%21topic/rustlang-security-announcements/4ybxYLTtXuM",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#%21topic/rustlang-security-announcements/4ybxYLTtXuM"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1597063",
                    "reference_id": "1597063",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1597063"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000622",
                    "reference_id": "CVE-2018-1000622",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000622"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201812-11",
                    "reference_id": "GLSA-201812-11",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201812-11"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938931?format=api",
                    "purl": "pkg:deb/debian/rustc@1.27.1%2Bdfsg1-1~exp1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rustc@1.27.1%252Bdfsg1-1~exp1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938927?format=api",
                    "purl": "pkg:deb/debian/rustc@1.48.0%2Bdfsg1-2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-4khp-kevq-xff5"
                        },
                        {
                            "vulnerability": "VCID-69zd-gcvx-fuhr"
                        },
                        {
                            "vulnerability": "VCID-7ap9-xghv-dbdy"
                        },
                        {
                            "vulnerability": "VCID-d8yv-ngej-1kf7"
                        },
                        {
                            "vulnerability": "VCID-ehdy-7aak-r3bt"
                        },
                        {
                            "vulnerability": "VCID-f4bw-5erp-4uc6"
                        },
                        {
                            "vulnerability": "VCID-fu46-5dhv-ckdt"
                        },
                        {
                            "vulnerability": "VCID-j9kg-rd4y-y7by"
                        },
                        {
                            "vulnerability": "VCID-pbjz-th4w-tqgb"
                        },
                        {
                            "vulnerability": "VCID-pvm9-wtbx-1ubx"
                        },
                        {
                            "vulnerability": "VCID-qj1y-b8m1-hyfm"
                        },
                        {
                            "vulnerability": "VCID-wdu6-3vph-aqb7"
                        },
                        {
                            "vulnerability": "VCID-wpe1-jr23-duhh"
                        },
                        {
                            "vulnerability": "VCID-y25s-c64z-57a6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rustc@1.48.0%252Bdfsg1-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938925?format=api",
                    "purl": "pkg:deb/debian/rustc@1.63.0%2Bdfsg1-2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ehdy-7aak-r3bt"
                        },
                        {
                            "vulnerability": "VCID-qj1y-b8m1-hyfm"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rustc@1.63.0%252Bdfsg1-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938929?format=api",
                    "purl": "pkg:deb/debian/rustc@1.85.0%2Bdfsg3-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ehdy-7aak-r3bt"
                        },
                        {
                            "vulnerability": "VCID-qj1y-b8m1-hyfm"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rustc@1.85.0%252Bdfsg3-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938928?format=api",
                    "purl": "pkg:deb/debian/rustc@1.92.0%2Bdfsg1-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rustc@1.92.0%252Bdfsg1-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1059655?format=api",
                    "purl": "pkg:deb/debian/rustc@1.93.1%2Bdfsg1-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rustc@1.93.1%252Bdfsg1-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1067629?format=api",
                    "purl": "pkg:deb/debian/rustc@1.94.1%2Bdfsg1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rustc@1.94.1%252Bdfsg1-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2018-1000622"
            ],
            "risk_score": 3.5,
            "exploitability": "0.5",
            "weighted_severity": "7.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-14pa-2rzz-kfg7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rustc@1.27.1%252Bdfsg1-1~exp1%3Fdistro=trixie"
}