Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/83132?format=api",
    "vulnerability_id": "VCID-men2-fjjg-2kee",
    "summary": "gnulib: heap-based buffer overflow in convert_to_decimal function in vasnprintf.c",
    "aliases": [
        {
            "alias": "CVE-2018-17942"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923670?format=api",
            "purl": "pkg:deb/debian/gnulib@20140202%2Bstable-3.1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20140202%252Bstable-3.1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1057235?format=api",
            "purl": "pkg:deb/debian/gnulib@20140202%2Bstable-4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20140202%252Bstable-4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923666?format=api",
            "purl": "pkg:deb/debian/gnulib@20210102~ebaa53c-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20210102~ebaa53c-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923664?format=api",
            "purl": "pkg:deb/debian/gnulib@20230209%2Bstable-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20230209%252Bstable-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923668?format=api",
            "purl": "pkg:deb/debian/gnulib@20250303-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20250303-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923667?format=api",
            "purl": "pkg:deb/debian/gnulib@20260109-1~exp1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20260109-1~exp1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1057228?format=api",
            "purl": "pkg:deb/debian/gnulib@0.0.20050203-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-evbv-ckb4-yybq"
                },
                {
                    "vulnerability": "VCID-men2-fjjg-2kee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@0.0.20050203-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1057229?format=api",
            "purl": "pkg:deb/debian/gnulib@20061201%2Bdfsg-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-evbv-ckb4-yybq"
                },
                {
                    "vulnerability": "VCID-men2-fjjg-2kee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20061201%252Bdfsg-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1057230?format=api",
            "purl": "pkg:deb/debian/gnulib@20080701-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-evbv-ckb4-yybq"
                },
                {
                    "vulnerability": "VCID-men2-fjjg-2kee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20080701-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1057231?format=api",
            "purl": "pkg:deb/debian/gnulib@20100704%2Bstable-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-evbv-ckb4-yybq"
                },
                {
                    "vulnerability": "VCID-men2-fjjg-2kee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20100704%252Bstable-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1057232?format=api",
            "purl": "pkg:deb/debian/gnulib@20120404%2Bstable-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-evbv-ckb4-yybq"
                },
                {
                    "vulnerability": "VCID-men2-fjjg-2kee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20120404%252Bstable-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1057233?format=api",
            "purl": "pkg:deb/debian/gnulib@20140202%2Bstable-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-evbv-ckb4-yybq"
                },
                {
                    "vulnerability": "VCID-men2-fjjg-2kee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20140202%252Bstable-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1057234?format=api",
            "purl": "pkg:deb/debian/gnulib@20140202%2Bstable-2%2Bdeb9u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-evbv-ckb4-yybq"
                },
                {
                    "vulnerability": "VCID-men2-fjjg-2kee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnulib@20140202%252Bstable-2%252Bdeb9u1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-17942.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-17942.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17942",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82881",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82897",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8291",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82906",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82932",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82939",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82955",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82949",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82946",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01838",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82984",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17942"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17942",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17942"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1635896",
            "reference_id": "1635896",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1635896"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910757",
            "reference_id": "910757",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910757"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 122,
            "name": "Heap-based Buffer Overflow",
            "description": "A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc()."
        }
    ],
    "exploits": [],
    "severity_range_score": "3.3 - 3.3",
    "exploitability": "0.5",
    "weighted_severity": "3.0",
    "risk_score": 1.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-men2-fjjg-2kee"
}