Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3874?format=api",
    "vulnerability_id": "VCID-99q3-5g9b-xkc3",
    "summary": "Plan cache might use wrong role context for RLS policymore details",
    "aliases": [
        {
            "alias": "CVE-2016-2193"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/571?format=api",
            "purl": "pkg:generic/postgresql@9.5.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.5.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/197?format=api",
            "purl": "pkg:generic/postgresql@9.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-235z-6mm1-ryc1"
                },
                {
                    "vulnerability": "VCID-36gv-m96w-47db"
                },
                {
                    "vulnerability": "VCID-3qrq-rc38-13ep"
                },
                {
                    "vulnerability": "VCID-45vk-2xsq-cffk"
                },
                {
                    "vulnerability": "VCID-723y-bsbd-6kfd"
                },
                {
                    "vulnerability": "VCID-7xfn-1fv3-1bgv"
                },
                {
                    "vulnerability": "VCID-8bu8-zpfv-8bgg"
                },
                {
                    "vulnerability": "VCID-99q3-5g9b-xkc3"
                },
                {
                    "vulnerability": "VCID-9b6v-1bt1-dfgy"
                },
                {
                    "vulnerability": "VCID-bb5j-e9vw-mbd1"
                },
                {
                    "vulnerability": "VCID-bdw5-v87c-zyfj"
                },
                {
                    "vulnerability": "VCID-bq8t-8q8q-dkb6"
                },
                {
                    "vulnerability": "VCID-csfh-831q-rqfv"
                },
                {
                    "vulnerability": "VCID-d362-bmcf-3kdz"
                },
                {
                    "vulnerability": "VCID-ne9g-k8fz-dkgb"
                },
                {
                    "vulnerability": "VCID-pg5v-ux6b-3qdn"
                },
                {
                    "vulnerability": "VCID-qn5k-y64c-7ffc"
                },
                {
                    "vulnerability": "VCID-qnt9-qr7p-wkhy"
                },
                {
                    "vulnerability": "VCID-sq2s-cvrs-7uhh"
                },
                {
                    "vulnerability": "VCID-t864-ytjh-nyg1"
                },
                {
                    "vulnerability": "VCID-um7d-pzhb-n3c9"
                },
                {
                    "vulnerability": "VCID-umaz-62cm-bqfe"
                },
                {
                    "vulnerability": "VCID-wcsh-zz5q-qqbf"
                },
                {
                    "vulnerability": "VCID-xjv3-x91m-qqhn"
                },
                {
                    "vulnerability": "VCID-z4t8-c8vc-ayhd"
                },
                {
                    "vulnerability": "VCID-zrcc-w98g-gfhk"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.5.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=db69e58a0642ef7fa46d62f6c4cf2460c3a1b41b",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=db69e58a0642ef7fa46d62f6c4cf2460c3a1b41b"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-2193.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-2193.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2193",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81392",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8122",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81344",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81352",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81356",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81372",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81229",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81252",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81251",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81279",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81284",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81305",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81291",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81283",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81321",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.01526",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81322",
                    "published_at": "2026-04-21T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-2193"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.6",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:H/Au:S/C:P/I:P/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://www.postgresql.org/about/news/2016-03-31-security-update-release-1656/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.postgresql.org/about/news/2016-03-31-security-update-release-1656/"
        },
        {
            "reference_url": "https://www.postgresql.org/support/security/CVE-2016-2193/",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.2",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "['AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N']"
                }
            ],
            "url": "https://www.postgresql.org/support/security/CVE-2016-2193/"
        },
        {
            "reference_url": "http://www.postgresql.org/about/news/1656/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.postgresql.org/about/news/1656/"
        },
        {
            "reference_url": "http://www.postgresql.org/docs/current/static/release-9-5-2.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.postgresql.org/docs/current/static/release-9-5-2.html"
        },
        {
            "reference_url": "http://www.securitytracker.com/id/1035468",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securitytracker.com/id/1035468"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1319806",
            "reference_id": "1319806",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1319806"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2193",
            "reference_id": "CVE-2016-2193",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.0",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:P/A:N"
                },
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-2193"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 254,
            "name": "7PK - Security Features",
            "description": "Software security is not security software. Here we're concerned with topics like authentication, access control, confidentiality, cryptography, and privilege management."
        }
    ],
    "exploits": [],
    "severity_range_score": "3.6 - 7.5",
    "exploitability": "0.5",
    "weighted_severity": "6.8",
    "risk_score": 3.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-99q3-5g9b-xkc3"
}