Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/79901?format=api",
    "vulnerability_id": "VCID-m82g-jdnb-ekas",
    "summary": "gnome-shell: Distributions using CAP_SYS_NICE in gnome-shell may be exposed to privilege escalation",
    "aliases": [
        {
            "alias": "CVE-2021-3982"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923626?format=api",
            "purl": "pkg:deb/debian/gnome-shell@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnome-shell@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923616?format=api",
            "purl": "pkg:deb/debian/gnome-shell@3.38.6-1~deb11u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nq2k-cj2q-g7dc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnome-shell@3.38.6-1~deb11u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923614?format=api",
            "purl": "pkg:deb/debian/gnome-shell@43.9-0%2Bdeb12u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nq2k-cj2q-g7dc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnome-shell@43.9-0%252Bdeb12u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923618?format=api",
            "purl": "pkg:deb/debian/gnome-shell@48.7-0%2Bdeb13u2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnome-shell@48.7-0%252Bdeb13u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923617?format=api",
            "purl": "pkg:deb/debian/gnome-shell@49.5-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/gnome-shell@49.5-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3982.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3982.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3982",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09846",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09938",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09986",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09883",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09959",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.10008",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.10024",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09983",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09962",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09838",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09807",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09957",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09952",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09897",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09821",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.09985",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.10054",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.10028",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00034",
                    "scoring_system": "epss",
                    "scoring_elements": "0.10067",
                    "published_at": "2026-05-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3982"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/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=2024174",
            "reference_id": "2024174",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2024174"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 273,
            "name": "Improper Check for Dropped Privileges",
            "description": "The product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.5 - 5.5",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m82g-jdnb-ekas"
}