Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/84498?format=api",
    "vulnerability_id": "VCID-xmq8-39wj-fqgp",
    "summary": "pcs: Improper node name field validation when creating clusters leads to XSS",
    "aliases": [
        {
            "alias": "CVE-2017-2661"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934578?format=api",
            "purl": "pkg:deb/debian/pcs@0.9.155%2Bdfsg-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcs@0.9.155%252Bdfsg-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1037165?format=api",
            "purl": "pkg:deb/debian/pcs@0.9.155%2Bdfsg-2%2Bdeb9u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-au19-kepf-pyhe"
                },
                {
                    "vulnerability": "VCID-hjzc-ca2p-pyf8"
                },
                {
                    "vulnerability": "VCID-jmq9-4ac2-c7de"
                },
                {
                    "vulnerability": "VCID-wrhk-ya3a-bbfz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcs@0.9.155%252Bdfsg-2%252Bdeb9u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934574?format=api",
            "purl": "pkg:deb/debian/pcs@0.10.8-1%2Bdeb11u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcs@0.10.8-1%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934572?format=api",
            "purl": "pkg:deb/debian/pcs@0.11.5-1%2Bdeb12u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcs@0.11.5-1%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934576?format=api",
            "purl": "pkg:deb/debian/pcs@0.12.0.2-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcs@0.12.0.2-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934575?format=api",
            "purl": "pkg:deb/debian/pcs@0.12.2-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcs@0.12.2-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1037164?format=api",
            "purl": "pkg:deb/debian/pcs@0.9.155%2Bdfsg-2~bpo8%2B1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-au19-kepf-pyhe"
                },
                {
                    "vulnerability": "VCID-hjzc-ca2p-pyf8"
                },
                {
                    "vulnerability": "VCID-jmq9-4ac2-c7de"
                },
                {
                    "vulnerability": "VCID-wrhk-ya3a-bbfz"
                },
                {
                    "vulnerability": "VCID-xmq8-39wj-fqgp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcs@0.9.155%252Bdfsg-2~bpo8%252B1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-2661.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-2661.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-2661",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51301",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51353",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5138",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51339",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51393",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51391",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51434",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51413",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51399",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51442",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5145",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51429",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51378",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51385",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51345",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51291",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51341",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51384",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51344",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51372",
                    "published_at": "2026-05-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-2661"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2661",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-2661"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1428948",
            "reference_id": "1428948",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1428948"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858379",
            "reference_id": "858379",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858379"
        },
        {
            "reference_url": "https://usn.ubuntu.com/7614-1/",
            "reference_id": "USN-7614-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/7614-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.1 - 6.1",
    "exploitability": "0.5",
    "weighted_severity": "5.5",
    "risk_score": 2.8,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xmq8-39wj-fqgp"
}