Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/87024?format=api",
    "vulnerability_id": "VCID-euh3-n21v-8yh3",
    "summary": "sudo: insecure temporary file use in RPM %postun script",
    "aliases": [
        {
            "alias": "CVE-2012-3440"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940182?format=api",
            "purl": "pkg:deb/debian/sudo@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940179?format=api",
            "purl": "pkg:deb/debian/sudo@1.9.5p2-3%2Bdeb11u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-e9ra-cfnz-m3hg"
                },
                {
                    "vulnerability": "VCID-m9xh-9ac2-eycq"
                },
                {
                    "vulnerability": "VCID-pwmy-f5qe-s3d1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.9.5p2-3%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940177?format=api",
            "purl": "pkg:deb/debian/sudo@1.9.13p3-1%2Bdeb12u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-m9xh-9ac2-eycq"
                },
                {
                    "vulnerability": "VCID-pwmy-f5qe-s3d1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.9.13p3-1%252Bdeb12u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940181?format=api",
            "purl": "pkg:deb/debian/sudo@1.9.16p2-3%2Bdeb13u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pwmy-f5qe-s3d1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.9.16p2-3%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/940180?format=api",
            "purl": "pkg:deb/debian/sudo@1.9.17p2-5?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/sudo@1.9.17p2-5%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/125867?format=api",
            "purl": "pkg:rpm/redhat/sudo@1.7.2p1-14.el5_8?arch=2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-euh3-n21v-8yh3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/sudo@1.7.2p1-14.el5_8%3Farch=2"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-3440.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-3440.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-3440",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25956",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2582",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25878",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25934",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25862",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25879",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2619",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26198",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26153",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26094",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26099",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26076",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26041",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2598",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25976",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00093",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25928",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00121",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31149",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00121",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31197",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00121",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31016",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00121",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31072",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00121",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31024",
                    "published_at": "2026-04-01T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-3440"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=844442",
            "reference_id": "844442",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=844442"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2012:1149",
            "reference_id": "RHSA-2012:1149",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2012:1149"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 367,
            "name": "Time-of-check Time-of-use (TOCTOU) Race Condition",
            "description": "The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-euh3-n21v-8yh3"
}