Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80057?format=api",
    "vulnerability_id": "VCID-muwk-vv23-8ybu",
    "summary": "gnome-shell: locking protection bypass allow unauthorized user to kill existing applications or start new ones",
    "aliases": [
        {
            "alias": "CVE-2021-20315"
        }
    ],
    "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-20315.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-20315.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20315",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08323",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08378",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.0843",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08353",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08424",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08441",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08434",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08414",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08398",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08291",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08275",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08403",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08368",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08334",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08288",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08513",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08491",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08518",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00029",
                    "scoring_system": "epss",
                    "scoring_elements": "0.08574",
                    "published_at": "2026-05-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-20315"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.7",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:H/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=2006285",
            "reference_id": "2006285",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2006285"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 667,
            "name": "Improper Locking",
            "description": "The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.7 - 5.7",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-muwk-vv23-8ybu"
}