Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/71912?format=api",
    "vulnerability_id": "VCID-evq7-jzj3-6bhu",
    "summary": "cmd/go: Arbitrary code execution during build on darwin in cmd/go",
    "aliases": [
        {
            "alias": "CVE-2025-22867"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923838?format=api",
            "purl": "pkg:deb/debian/golang-1.24@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-1.24@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923837?format=api",
            "purl": "pkg:deb/debian/golang-1.24@1.24.4-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1aty-87pz-5yb8"
                },
                {
                    "vulnerability": "VCID-254d-pjst-c7hx"
                },
                {
                    "vulnerability": "VCID-3nqb-6mna-jyb4"
                },
                {
                    "vulnerability": "VCID-5n8q-zcds-gyen"
                },
                {
                    "vulnerability": "VCID-5q9b-a7c4-1yht"
                },
                {
                    "vulnerability": "VCID-7n3z-vwk2-3ydr"
                },
                {
                    "vulnerability": "VCID-9ky3-s2vk-cuge"
                },
                {
                    "vulnerability": "VCID-br2f-7ux9-hkhg"
                },
                {
                    "vulnerability": "VCID-bv1f-bee8-cbek"
                },
                {
                    "vulnerability": "VCID-csmt-e61b-tued"
                },
                {
                    "vulnerability": "VCID-dp1t-v58b-43du"
                },
                {
                    "vulnerability": "VCID-dtt9-gmqf-nbaf"
                },
                {
                    "vulnerability": "VCID-eyev-qpgs-hfbx"
                },
                {
                    "vulnerability": "VCID-hay4-q9m3-ekdj"
                },
                {
                    "vulnerability": "VCID-je6z-v5qw-ufew"
                },
                {
                    "vulnerability": "VCID-mvsr-c2yh-mbdq"
                },
                {
                    "vulnerability": "VCID-q9yj-ze4x-qyfr"
                },
                {
                    "vulnerability": "VCID-rvbr-nser-sfe7"
                },
                {
                    "vulnerability": "VCID-sb3w-x3yv-ffft"
                },
                {
                    "vulnerability": "VCID-t2dr-6dz3-7qgt"
                },
                {
                    "vulnerability": "VCID-usyf-s559-pkgx"
                },
                {
                    "vulnerability": "VCID-wchc-as62-1fae"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-1.24@1.24.4-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923835?format=api",
            "purl": "pkg:deb/debian/golang-1.24@1.24.13-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/golang-1.24@1.24.13-2%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-22867.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-22867.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-22867",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60843",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60922",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60872",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60835",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60884",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.609",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60909",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6089",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60932",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60937",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60921",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60912",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00403",
                    "scoring_system": "epss",
                    "scoring_elements": "0.60925",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00411",
                    "scoring_system": "epss",
                    "scoring_elements": "0.61513",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00411",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6141",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00411",
                    "scoring_system": "epss",
                    "scoring_elements": "0.61363",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00411",
                    "scoring_system": "epss",
                    "scoring_elements": "0.61412",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00411",
                    "scoring_system": "epss",
                    "scoring_elements": "0.61471",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00411",
                    "scoring_system": "epss",
                    "scoring_elements": "0.61433",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00411",
                    "scoring_system": "epss",
                    "scoring_elements": "0.61461",
                    "published_at": "2026-05-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-22867"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2344234",
            "reference_id": "2344234",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2344234"
        },
        {
            "reference_url": "https://go.dev/cl/646996",
            "reference_id": "646996",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-02-06T20:06:49Z/"
                }
            ],
            "url": "https://go.dev/cl/646996"
        },
        {
            "reference_url": "https://go.dev/issue/71476",
            "reference_id": "71476",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-02-06T20:06:49Z/"
                }
            ],
            "url": "https://go.dev/issue/71476"
        },
        {
            "reference_url": "https://pkg.go.dev/vuln/GO-2025-3428",
            "reference_id": "GO-2025-3428",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-02-06T20:06:49Z/"
                }
            ],
            "url": "https://pkg.go.dev/vuln/GO-2025-3428"
        },
        {
            "reference_url": "https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y",
            "reference_id": "TYzikTgHK6Y",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-02-06T20:06:49Z/"
                }
            ],
            "url": "https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y"
        }
    ],
    "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."
        },
        {
            "cwe_id": 77,
            "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')",
            "description": "The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.8 - 7.5",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-evq7-jzj3-6bhu"
}