Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/79170?format=api",
    "vulnerability_id": "VCID-rkw3-xz87-fke3",
    "summary": "wayland: libwayland-server wl_shm reference-count overflow",
    "aliases": [
        {
            "alias": "CVE-2021-3782"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942431?format=api",
            "purl": "pkg:deb/debian/wayland@1.21.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wayland@1.21.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1055918?format=api",
            "purl": "pkg:deb/debian/wayland@1.21.0-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wayland@1.21.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942435?format=api",
            "purl": "pkg:deb/debian/wayland@1.23.1-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wayland@1.23.1-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942434?format=api",
            "purl": "pkg:deb/debian/wayland@1.24.0-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wayland@1.24.0-2%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1055917?format=api",
            "purl": "pkg:deb/debian/wayland@1.18.0-2~exp1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rkw3-xz87-fke3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wayland@1.18.0-2~exp1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942433?format=api",
            "purl": "pkg:deb/debian/wayland@1.18.0-2~exp1.1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rkw3-xz87-fke3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wayland@1.18.0-2~exp1.1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/98075?format=api",
            "purl": "pkg:rpm/redhat/wayland@1.21.0-1?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-rkw3-xz87-fke3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/wayland@1.21.0-1%3Farch=el8"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3782.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3782.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3782",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.0695",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07056",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07111",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07086",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.0714",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07171",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07169",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07158",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07149",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07085",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07061",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07192",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07162",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.0717",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00026",
                    "scoring_system": "epss",
                    "scoring_elements": "0.07128",
                    "published_at": "2026-04-29T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3782"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3782",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3782"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/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=2002627",
            "reference_id": "2002627",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2002627"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:2786",
            "reference_id": "RHSA-2023:2786",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:2786"
        },
        {
            "reference_url": "https://usn.ubuntu.com/5614-1/",
            "reference_id": "USN-5614-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/5614-1/"
        },
        {
            "reference_url": "https://usn.ubuntu.com/5614-2/",
            "reference_id": "USN-5614-2",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/5614-2/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 190,
            "name": "Integer Overflow or Wraparound",
            "description": "The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control."
        },
        {
            "cwe_id": 911,
            "name": "Improper Update of Reference Count",
            "description": "The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count."
        },
        {
            "cwe_id": 416,
            "name": "Use After Free",
            "description": "Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.6 - 6.6",
    "exploitability": "0.5",
    "weighted_severity": "5.9",
    "risk_score": 3.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rkw3-xz87-fke3"
}