Lookup for vulnerabilities affecting packages.

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

{
    "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.",
    "aliases": [
        {
            "alias": "CVE-2018-1000622"
        }
    ],
    "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83115?format=api",
            "purl": "pkg:ebuild/dev-lang/rust@1.29.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/rust@1.29.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83116?format=api",
            "purl": "pkg:ebuild/dev-lang/rust-bin@1.29.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/rust-bin@1.29.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/108231?format=api",
            "purl": "pkg:rpm/redhat/rust-toolset-1.29@1.29.2-1?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-14pa-2rzz-kfg7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rust-toolset-1.29@1.29.2-1%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/108230?format=api",
            "purl": "pkg:rpm/redhat/rust-toolset-1.29-cargo-vendor@0.1.17-1?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-14pa-2rzz-kfg7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rust-toolset-1.29-cargo-vendor@0.1.17-1%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/108229?format=api",
            "purl": "pkg:rpm/redhat/rust-toolset-1.29-rust@1.29.2-1?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-14pa-2rzz-kfg7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rust-toolset-1.29-rust@1.29.2-1%3Farch=el7"
        }
    ],
    "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.74168",
                    "published_at": "2026-05-07T12: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.74147",
                    "published_at": "2026-04-29T12: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"
                },
                {
                    "value": "0.00801",
                    "scoring_system": "epss",
                    "scoring_elements": "0.74104",
                    "published_at": "2026-04-21T12: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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 426,
            "name": "Untrusted Search Path",
            "description": "The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control."
        },
        {
            "cwe_id": 427,
            "name": "Uncontrolled Search Path Element",
            "description": "The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.3 - 7.8",
    "exploitability": "0.5",
    "weighted_severity": "7.0",
    "risk_score": 3.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-14pa-2rzz-kfg7"
}