Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40652?format=api",
    "vulnerability_id": "VCID-agk3-q1p7-bkb7",
    "summary": "Out-of-bounds Read\nA buffer over-read exists in the function crc64ib in crc64.c in nasmlib in Netwide Assembler (NASM) rc16. A crafted asm input can cause segmentation faults, leading to denial-of-service.",
    "aliases": [
        {
            "alias": "CVE-2019-7147"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/117541?format=api",
            "purl": "pkg:deb/debian/nasm@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nasm@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/117517?format=api",
            "purl": "pkg:deb/debian/nasm@2.15.05-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2v9x-hpwq-8ycr"
                },
                {
                    "vulnerability": "VCID-4hpr-3pe3-e3ak"
                },
                {
                    "vulnerability": "VCID-hyx6-n61r-7qem"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nasm@2.15.05-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/117515?format=api",
            "purl": "pkg:deb/debian/nasm@2.16.01-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nasm@2.16.01-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/117519?format=api",
            "purl": "pkg:deb/debian/nasm@2.16.03-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nasm@2.16.03-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/117518?format=api",
            "purl": "pkg:deb/debian/nasm@3.01-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nasm@3.01-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53708?format=api",
            "purl": "pkg:nuget/nasm@2.14.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-11p2-zbuv-13gy"
                },
                {
                    "vulnerability": "VCID-2m25-r9n5-e3cx"
                },
                {
                    "vulnerability": "VCID-4d33-n3b8-syc5"
                },
                {
                    "vulnerability": "VCID-88sf-35rq-zkav"
                },
                {
                    "vulnerability": "VCID-agk3-q1p7-bkb7"
                },
                {
                    "vulnerability": "VCID-c3x9-gwbv-7keh"
                },
                {
                    "vulnerability": "VCID-drn8-b7p7-tqc8"
                },
                {
                    "vulnerability": "VCID-dtyu-u8sc-q7a4"
                },
                {
                    "vulnerability": "VCID-eznc-tbwf-zyh8"
                },
                {
                    "vulnerability": "VCID-hntb-je1p-v3dj"
                },
                {
                    "vulnerability": "VCID-m35n-kbax-yuds"
                },
                {
                    "vulnerability": "VCID-m8kc-xzgu-fyfh"
                },
                {
                    "vulnerability": "VCID-mbcq-hctd-zye9"
                },
                {
                    "vulnerability": "VCID-mc7p-6e6r-eqdm"
                },
                {
                    "vulnerability": "VCID-ptzu-snj4-gfc2"
                },
                {
                    "vulnerability": "VCID-qg3e-7rn4-mueu"
                },
                {
                    "vulnerability": "VCID-qwcx-98py-6qg5"
                },
                {
                    "vulnerability": "VCID-r4af-f3yb-6yb7"
                },
                {
                    "vulnerability": "VCID-tsab-bkcw-j3gy"
                },
                {
                    "vulnerability": "VCID-tvtj-uyfs-5kdn"
                },
                {
                    "vulnerability": "VCID-xzcj-np5b-67d7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/nasm@2.14.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-7147.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-7147.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-7147",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.33503",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-7147"
        },
        {
            "reference_url": "https://bugzilla.nasm.us/show_bug.cgi?id=3392544",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.nasm.us/show_bug.cgi?id=3392544"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.4",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1670704",
            "reference_id": "1670704",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1670704"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-7147",
            "reference_id": "CVE-2019-7147",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-7147"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 125,
            "name": "Out-of-bounds Read",
            "description": "The product reads data past the end, or before the beginning, of the intended buffer."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.4 - 5.5",
    "exploitability": "0.5",
    "weighted_severity": "5.0",
    "risk_score": 2.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-agk3-q1p7-bkb7"
}