Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3154?format=api",
    "vulnerability_id": "VCID-51dk-kwjz-33h8",
    "summary": "",
    "aliases": [
        {
            "alias": "CVE-2017-16942"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56313?format=api",
            "purl": "pkg:deb/debian/libsndfile@1.0.27-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libsndfile@1.0.27-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56302?format=api",
            "purl": "pkg:deb/debian/libsndfile@1.0.31-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libsndfile@1.0.31-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56300?format=api",
            "purl": "pkg:deb/debian/libsndfile@1.2.0-1%2Bdeb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8hud-r6g5-5bhj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libsndfile@1.2.0-1%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56304?format=api",
            "purl": "pkg:deb/debian/libsndfile@1.2.2-2%2Bdeb13u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libsndfile@1.2.2-2%252Bdeb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56303?format=api",
            "purl": "pkg:deb/debian/libsndfile@1.2.2-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libsndfile@1.2.2-4%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-16942.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-16942.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16942",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00151",
                    "scoring_system": "epss",
                    "scoring_elements": "0.35561",
                    "published_at": "2026-06-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16942"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16942",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16942"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.9",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:L/AC:L/Au:N/C:N/I:N/A:C"
                },
                {
                    "value": "6.2",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/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=1517902",
            "reference_id": "1517902",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1517902"
        },
        {
            "reference_url": "https://usn.ubuntu.com/4013-1/",
            "reference_id": "USN-4013-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/4013-1/"
        },
        {
            "reference_url": "https://usn.ubuntu.com/4704-1/",
            "reference_id": "USN-4704-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/4704-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 369,
            "name": "Divide By Zero",
            "description": "The product divides a value by zero."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.3 - 6.2",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-51dk-kwjz-33h8"
}