Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/79139?format=api",
    "vulnerability_id": "VCID-urf8-3h24-2fgu",
    "summary": "golang: os/exec: Code injection in Cmd.Start",
    "aliases": [
        {
            "alias": "CVE-2022-30580"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/434505?format=api",
            "purl": "pkg:apk/alpine/go@1.18.4-r0?arch=x86&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/go@1.18.4-r0%3Farch=x86&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/434500?format=api",
            "purl": "pkg:apk/alpine/go@1.18.4-r0?arch=aarch64&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/go@1.18.4-r0%3Farch=aarch64&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/434501?format=api",
            "purl": "pkg:apk/alpine/go@1.18.4-r0?arch=armhf&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/go@1.18.4-r0%3Farch=armhf&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/434504?format=api",
            "purl": "pkg:apk/alpine/go@1.18.4-r0?arch=s390x&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/go@1.18.4-r0%3Farch=s390x&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/434503?format=api",
            "purl": "pkg:apk/alpine/go@1.18.4-r0?arch=ppc64le&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/go@1.18.4-r0%3Farch=ppc64le&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/434506?format=api",
            "purl": "pkg:apk/alpine/go@1.18.4-r0?arch=x86_64&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/go@1.18.4-r0%3Farch=x86_64&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/434502?format=api",
            "purl": "pkg:apk/alpine/go@1.18.4-r0?arch=armv7&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/go@1.18.4-r0%3Farch=armv7&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923811?format=api",
            "purl": "pkg:deb/debian/golang-1.15@0?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-1.15@0%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923810?format=api",
            "purl": "pkg:deb/debian/golang-1.15@1.15.15-1~deb11u4?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-1.15@1.15.15-1~deb11u4%3Fdistro=bullseye"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-30580.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-30580.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-30580",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.1895",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18715",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18762",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18713",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18742",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18629",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18607",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18564",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18438",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18523",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18625",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18587",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18617",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19003",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18726",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18806",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18858",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18862",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.0006",
                    "scoring_system": "epss",
                    "scoring_elements": "0.18814",
                    "published_at": "2026-04-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-30580"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/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=2118605",
            "reference_id": "2118605",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2118605"
        },
        {
            "reference_url": "https://go.dev/cl/403759",
            "reference_id": "403759",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-24T20:37:17Z/"
                }
            ],
            "url": "https://go.dev/cl/403759"
        },
        {
            "reference_url": "https://go.dev/issue/52574",
            "reference_id": "52574",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-24T20:37:17Z/"
                }
            ],
            "url": "https://go.dev/issue/52574"
        },
        {
            "reference_url": "https://go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e",
            "reference_id": "960ffa98ce73ef2c2060c84c7ac28d37a83f345e",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-24T20:37:17Z/"
                }
            ],
            "url": "https://go.googlesource.com/go/+/960ffa98ce73ef2c2060c84c7ac28d37a83f345e"
        },
        {
            "reference_url": "https://pkg.go.dev/vuln/GO-2022-0532",
            "reference_id": "GO-2022-0532",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-24T20:37:17Z/"
                }
            ],
            "url": "https://pkg.go.dev/vuln/GO-2022-0532"
        },
        {
            "reference_url": "https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ",
            "reference_id": "IWz5T6x7AAAJ",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-24T20:37:17Z/"
                }
            ],
            "url": "https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 7.8",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-urf8-3h24-2fgu"
}