Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37117?format=api",
    "vulnerability_id": "VCID-xgau-bn5a-t3cg",
    "summary": "In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.",
    "aliases": [
        {
            "alias": "CVE-2025-46149"
        },
        {
            "alias": "PYSEC-2025-199"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/46367?format=api",
            "purl": "pkg:pypi/torch@2.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3cvu-c3jj-yyhx"
                },
                {
                    "vulnerability": "VCID-dm2h-xssw-xqhb"
                },
                {
                    "vulnerability": "VCID-jqpq-n5zb-2ydh"
                },
                {
                    "vulnerability": "VCID-rr2u-g78b-yfev"
                },
                {
                    "vulnerability": "VCID-tw2j-udhp-nydv"
                },
                {
                    "vulnerability": "VCID-vy3e-sq4h-eybf"
                },
                {
                    "vulnerability": "VCID-x8ck-txve-s7gy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/torch@2.7.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/45018?format=api",
            "purl": "pkg:pypi/torch@2.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3cvu-c3jj-yyhx"
                },
                {
                    "vulnerability": "VCID-8u6v-jzkr-nkb4"
                },
                {
                    "vulnerability": "VCID-dm2h-xssw-xqhb"
                },
                {
                    "vulnerability": "VCID-fzd6-jxxp-h7c8"
                },
                {
                    "vulnerability": "VCID-jqpq-n5zb-2ydh"
                },
                {
                    "vulnerability": "VCID-rr2u-g78b-yfev"
                },
                {
                    "vulnerability": "VCID-tw2j-udhp-nydv"
                },
                {
                    "vulnerability": "VCID-vy3e-sq4h-eybf"
                },
                {
                    "vulnerability": "VCID-w8cd-83qu-uygf"
                },
                {
                    "vulnerability": "VCID-x8ck-txve-s7gy"
                },
                {
                    "vulnerability": "VCID-xgau-bn5a-t3cg"
                },
                {
                    "vulnerability": "VCID-z22a-fyhr-bbg4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/torch@2.6.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                }
            ],
            "url": "https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a"
        },
        {
            "reference_url": "https://github.com/pytorch/pytorch/issues/147848",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                }
            ],
            "url": "https://github.com/pytorch/pytorch/issues/147848"
        },
        {
            "reference_url": "https://github.com/pytorch/pytorch/pull/147961",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                }
            ],
            "url": "https://github.com/pytorch/pytorch/pull/147961"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "5.3 - 5.3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xgau-bn5a-t3cg"
}