Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80325?format=api",
    "vulnerability_id": "VCID-azma-9b5q-57b3",
    "summary": "cups: insecure permissions of /var/log/cups allows for symlink attacks",
    "aliases": [
        {
            "alias": "CVE-2021-25317"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582876?format=api",
            "purl": "pkg:deb/debian/cups@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582113?format=api",
            "purl": "pkg:deb/debian/cups@2.3.3op2-3%2Bdeb11u8?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63fa-a4pr-wqh3"
                },
                {
                    "vulnerability": "VCID-b1yf-xuc1-ykak"
                },
                {
                    "vulnerability": "VCID-dx89-e1nn-w7gz"
                },
                {
                    "vulnerability": "VCID-gwcb-nhpk-2kca"
                },
                {
                    "vulnerability": "VCID-hc4t-becn-rkcc"
                },
                {
                    "vulnerability": "VCID-jy1y-e1nk-p3b4"
                },
                {
                    "vulnerability": "VCID-r1q4-2dq2-33ca"
                },
                {
                    "vulnerability": "VCID-ry9y-z4e4-yfdh"
                },
                {
                    "vulnerability": "VCID-vgtp-sjtt-73e9"
                },
                {
                    "vulnerability": "VCID-wr17-e776-bqh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.3.3op2-3%252Bdeb11u8%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582114?format=api",
            "purl": "pkg:deb/debian/cups@2.4.2-3%2Bdeb12u9?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63fa-a4pr-wqh3"
                },
                {
                    "vulnerability": "VCID-b1yf-xuc1-ykak"
                },
                {
                    "vulnerability": "VCID-dx89-e1nn-w7gz"
                },
                {
                    "vulnerability": "VCID-gwcb-nhpk-2kca"
                },
                {
                    "vulnerability": "VCID-hc4t-becn-rkcc"
                },
                {
                    "vulnerability": "VCID-jy1y-e1nk-p3b4"
                },
                {
                    "vulnerability": "VCID-r1q4-2dq2-33ca"
                },
                {
                    "vulnerability": "VCID-ry9y-z4e4-yfdh"
                },
                {
                    "vulnerability": "VCID-vgtp-sjtt-73e9"
                },
                {
                    "vulnerability": "VCID-wr17-e776-bqh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.4.2-3%252Bdeb12u9%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582115?format=api",
            "purl": "pkg:deb/debian/cups@2.4.10-3%2Bdeb13u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63fa-a4pr-wqh3"
                },
                {
                    "vulnerability": "VCID-b1yf-xuc1-ykak"
                },
                {
                    "vulnerability": "VCID-dx89-e1nn-w7gz"
                },
                {
                    "vulnerability": "VCID-gwcb-nhpk-2kca"
                },
                {
                    "vulnerability": "VCID-hc4t-becn-rkcc"
                },
                {
                    "vulnerability": "VCID-jy1y-e1nk-p3b4"
                },
                {
                    "vulnerability": "VCID-r1q4-2dq2-33ca"
                },
                {
                    "vulnerability": "VCID-ry9y-z4e4-yfdh"
                },
                {
                    "vulnerability": "VCID-vgtp-sjtt-73e9"
                },
                {
                    "vulnerability": "VCID-wr17-e776-bqh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.4.10-3%252Bdeb13u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/582116?format=api",
            "purl": "pkg:deb/debian/cups@2.4.16-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63fa-a4pr-wqh3"
                },
                {
                    "vulnerability": "VCID-b1yf-xuc1-ykak"
                },
                {
                    "vulnerability": "VCID-dx89-e1nn-w7gz"
                },
                {
                    "vulnerability": "VCID-gwcb-nhpk-2kca"
                },
                {
                    "vulnerability": "VCID-hc4t-becn-rkcc"
                },
                {
                    "vulnerability": "VCID-r1q4-2dq2-33ca"
                },
                {
                    "vulnerability": "VCID-ry9y-z4e4-yfdh"
                },
                {
                    "vulnerability": "VCID-vgtp-sjtt-73e9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.4.16-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1072608?format=api",
            "purl": "pkg:deb/debian/cups@2.4.17-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.4.17-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1081509?format=api",
            "purl": "pkg:deb/debian/cups@2.4.18-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/cups@2.4.18-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25317.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.0",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25317.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25317",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27748",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27788",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27827",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27618",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27684",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27727",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27732",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27688",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2763",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2764",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27614",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27575",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27533",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27427",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2735",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27181",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27242",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27263",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27179",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27193",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.001",
                    "scoring_system": "epss",
                    "scoring_elements": "0.27271",
                    "published_at": "2026-05-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25317"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1949119",
            "reference_id": "1949119",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1949119"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 276,
            "name": "Incorrect Default Permissions",
            "description": "During installation, installed file permissions are set to allow anyone to modify those files."
        }
    ],
    "exploits": [],
    "severity_range_score": "2.0 - 3.3",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-azma-9b5q-57b3"
}