Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3622?format=api",
    "vulnerability_id": "VCID-811b-x31n-tfch",
    "summary": "Permissions on a function called by a trigger are not properly checked.more details",
    "aliases": [
        {
            "alias": "CVE-2012-0866"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72082?format=api",
            "purl": "pkg:ebuild/dev-db/postgresql-server@9.1.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-db/postgresql-server@9.1.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/437?format=api",
            "purl": "pkg:generic/postgresql@8.3.18",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.3.18"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/436?format=api",
            "purl": "pkg:generic/postgresql@8.4.11",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.4.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/435?format=api",
            "purl": "pkg:generic/postgresql@9.0.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.0.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/434?format=api",
            "purl": "pkg:generic/postgresql@9.1.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.1.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/334?format=api",
            "purl": "pkg:generic/postgresql@8.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1qsp-wvwq-j3f5"
                },
                {
                    "vulnerability": "VCID-1uzm-h9m3-akge"
                },
                {
                    "vulnerability": "VCID-2nve-471m-17h6"
                },
                {
                    "vulnerability": "VCID-35a3-5eq3-8bep"
                },
                {
                    "vulnerability": "VCID-666x-ret3-xufr"
                },
                {
                    "vulnerability": "VCID-6dmy-t1qp-nuf3"
                },
                {
                    "vulnerability": "VCID-6mck-xykx-yuba"
                },
                {
                    "vulnerability": "VCID-721k-9zdg-buhv"
                },
                {
                    "vulnerability": "VCID-7jb6-q4x1-cfbw"
                },
                {
                    "vulnerability": "VCID-7q99-jk4u-1fen"
                },
                {
                    "vulnerability": "VCID-811b-x31n-tfch"
                },
                {
                    "vulnerability": "VCID-bdq4-br3j-7kb8"
                },
                {
                    "vulnerability": "VCID-c8ch-zd9x-kufn"
                },
                {
                    "vulnerability": "VCID-cffd-gdpc-uqeb"
                },
                {
                    "vulnerability": "VCID-quqr-bg9k-7yb5"
                },
                {
                    "vulnerability": "VCID-s8a2-wbb4-dyda"
                },
                {
                    "vulnerability": "VCID-u5h4-4p6j-wbay"
                },
                {
                    "vulnerability": "VCID-v69z-cmag-xfaf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/335?format=api",
            "purl": "pkg:generic/postgresql@8.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1uzm-h9m3-akge"
                },
                {
                    "vulnerability": "VCID-2nve-471m-17h6"
                },
                {
                    "vulnerability": "VCID-35a3-5eq3-8bep"
                },
                {
                    "vulnerability": "VCID-666x-ret3-xufr"
                },
                {
                    "vulnerability": "VCID-6mck-xykx-yuba"
                },
                {
                    "vulnerability": "VCID-721k-9zdg-buhv"
                },
                {
                    "vulnerability": "VCID-7jb6-q4x1-cfbw"
                },
                {
                    "vulnerability": "VCID-7q99-jk4u-1fen"
                },
                {
                    "vulnerability": "VCID-811b-x31n-tfch"
                },
                {
                    "vulnerability": "VCID-8cbh-gwwy-n3eq"
                },
                {
                    "vulnerability": "VCID-8j4f-u2tq-1qev"
                },
                {
                    "vulnerability": "VCID-bdq4-br3j-7kb8"
                },
                {
                    "vulnerability": "VCID-c8ch-zd9x-kufn"
                },
                {
                    "vulnerability": "VCID-cffd-gdpc-uqeb"
                },
                {
                    "vulnerability": "VCID-g4tm-8zhw-a7hn"
                },
                {
                    "vulnerability": "VCID-kbgc-w2jw-auh8"
                },
                {
                    "vulnerability": "VCID-nz16-gzhk-h3c1"
                },
                {
                    "vulnerability": "VCID-pvxg-byvu-pbec"
                },
                {
                    "vulnerability": "VCID-quqr-bg9k-7yb5"
                },
                {
                    "vulnerability": "VCID-reab-s9cu-yudn"
                },
                {
                    "vulnerability": "VCID-s8a2-wbb4-dyda"
                },
                {
                    "vulnerability": "VCID-u5h4-4p6j-wbay"
                },
                {
                    "vulnerability": "VCID-ux6m-dn6j-37dc"
                },
                {
                    "vulnerability": "VCID-v69z-cmag-xfaf"
                },
                {
                    "vulnerability": "VCID-w518-wkek-97ag"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/267?format=api",
            "purl": "pkg:generic/postgresql@9.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1qap-rdxz-4uer"
                },
                {
                    "vulnerability": "VCID-2nve-471m-17h6"
                },
                {
                    "vulnerability": "VCID-35a3-5eq3-8bep"
                },
                {
                    "vulnerability": "VCID-625c-amyd-dybm"
                },
                {
                    "vulnerability": "VCID-666x-ret3-xufr"
                },
                {
                    "vulnerability": "VCID-6mck-xykx-yuba"
                },
                {
                    "vulnerability": "VCID-7jb6-q4x1-cfbw"
                },
                {
                    "vulnerability": "VCID-7q99-jk4u-1fen"
                },
                {
                    "vulnerability": "VCID-811b-x31n-tfch"
                },
                {
                    "vulnerability": "VCID-8cbh-gwwy-n3eq"
                },
                {
                    "vulnerability": "VCID-8j4f-u2tq-1qev"
                },
                {
                    "vulnerability": "VCID-a3sh-4t1e-tbh4"
                },
                {
                    "vulnerability": "VCID-bdq4-br3j-7kb8"
                },
                {
                    "vulnerability": "VCID-bqag-mh3g-fqe7"
                },
                {
                    "vulnerability": "VCID-f976-dd3s-fuc8"
                },
                {
                    "vulnerability": "VCID-fd5z-bj21-m3a5"
                },
                {
                    "vulnerability": "VCID-g4tm-8zhw-a7hn"
                },
                {
                    "vulnerability": "VCID-k38h-5crc-u3hr"
                },
                {
                    "vulnerability": "VCID-kbgc-w2jw-auh8"
                },
                {
                    "vulnerability": "VCID-mebz-9qb7-5bd2"
                },
                {
                    "vulnerability": "VCID-n3ka-63rx-5fgk"
                },
                {
                    "vulnerability": "VCID-nz16-gzhk-h3c1"
                },
                {
                    "vulnerability": "VCID-pvxg-byvu-pbec"
                },
                {
                    "vulnerability": "VCID-quqr-bg9k-7yb5"
                },
                {
                    "vulnerability": "VCID-raqj-ezua-skeb"
                },
                {
                    "vulnerability": "VCID-reab-s9cu-yudn"
                },
                {
                    "vulnerability": "VCID-ux6m-dn6j-37dc"
                },
                {
                    "vulnerability": "VCID-w518-wkek-97ag"
                },
                {
                    "vulnerability": "VCID-zbj3-7xug-43f6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/249?format=api",
            "purl": "pkg:generic/postgresql@9.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1qap-rdxz-4uer"
                },
                {
                    "vulnerability": "VCID-2nve-471m-17h6"
                },
                {
                    "vulnerability": "VCID-35a3-5eq3-8bep"
                },
                {
                    "vulnerability": "VCID-625c-amyd-dybm"
                },
                {
                    "vulnerability": "VCID-6mck-xykx-yuba"
                },
                {
                    "vulnerability": "VCID-7jb6-q4x1-cfbw"
                },
                {
                    "vulnerability": "VCID-811b-x31n-tfch"
                },
                {
                    "vulnerability": "VCID-8bu8-zpfv-8bgg"
                },
                {
                    "vulnerability": "VCID-8cbh-gwwy-n3eq"
                },
                {
                    "vulnerability": "VCID-8j4f-u2tq-1qev"
                },
                {
                    "vulnerability": "VCID-9b6v-1bt1-dfgy"
                },
                {
                    "vulnerability": "VCID-a3sh-4t1e-tbh4"
                },
                {
                    "vulnerability": "VCID-bdq4-br3j-7kb8"
                },
                {
                    "vulnerability": "VCID-bqag-mh3g-fqe7"
                },
                {
                    "vulnerability": "VCID-f976-dd3s-fuc8"
                },
                {
                    "vulnerability": "VCID-fd5z-bj21-m3a5"
                },
                {
                    "vulnerability": "VCID-g4tm-8zhw-a7hn"
                },
                {
                    "vulnerability": "VCID-k38h-5crc-u3hr"
                },
                {
                    "vulnerability": "VCID-kbgc-w2jw-auh8"
                },
                {
                    "vulnerability": "VCID-mebz-9qb7-5bd2"
                },
                {
                    "vulnerability": "VCID-n3ka-63rx-5fgk"
                },
                {
                    "vulnerability": "VCID-nz16-gzhk-h3c1"
                },
                {
                    "vulnerability": "VCID-pvxg-byvu-pbec"
                },
                {
                    "vulnerability": "VCID-quqr-bg9k-7yb5"
                },
                {
                    "vulnerability": "VCID-raqj-ezua-skeb"
                },
                {
                    "vulnerability": "VCID-reab-s9cu-yudn"
                },
                {
                    "vulnerability": "VCID-skb5-eeak-v7hz"
                },
                {
                    "vulnerability": "VCID-t864-ytjh-nyg1"
                },
                {
                    "vulnerability": "VCID-ux6m-dn6j-37dc"
                },
                {
                    "vulnerability": "VCID-w518-wkek-97ag"
                },
                {
                    "vulnerability": "VCID-z4t8-c8vc-ayhd"
                },
                {
                    "vulnerability": "VCID-zbj3-7xug-43f6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@9.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/126136?format=api",
            "purl": "pkg:rpm/redhat/postgresql@8.1.23-4?arch=el5_8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-811b-x31n-tfch"
                },
                {
                    "vulnerability": "VCID-quqr-bg9k-7yb5"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/postgresql@8.1.23-4%3Farch=el5_8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/126135?format=api",
            "purl": "pkg:rpm/redhat/postgresql@8.4.11-1?arch=el6_2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-811b-x31n-tfch"
                },
                {
                    "vulnerability": "VCID-quqr-bg9k-7yb5"
                },
                {
                    "vulnerability": "VCID-ux6m-dn6j-37dc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/postgresql@8.4.11-1%3Farch=el6_2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/126137?format=api",
            "purl": "pkg:rpm/redhat/postgresql84@8.4.11-1?arch=el5_8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-811b-x31n-tfch"
                },
                {
                    "vulnerability": "VCID-quqr-bg9k-7yb5"
                },
                {
                    "vulnerability": "VCID-ux6m-dn6j-37dc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/postgresql84@8.4.11-1%3Farch=el5_8"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0866.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0866.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0866",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00905",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75678",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00905",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75681",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00905",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75711",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77655",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77683",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77688",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77715",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77698",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77697",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77734",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77733",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77727",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77758",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77768",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77783",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77795",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77825",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77844",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77832",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77851",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.01067",
                    "scoring_system": "epss",
                    "scoring_elements": "0.77895",
                    "published_at": "2026-05-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0866"
        },
        {
            "reference_url": "https://www.postgresql.org/support/security/CVE-2012-0866/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.postgresql.org/support/security/CVE-2012-0866/"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=797222",
            "reference_id": "797222",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=797222"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/201209-24",
            "reference_id": "GLSA-201209-24",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/201209-24"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2012:0677",
            "reference_id": "RHSA-2012:0677",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2012:0677"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2012:0678",
            "reference_id": "RHSA-2012:0678",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2012:0678"
        },
        {
            "reference_url": "https://usn.ubuntu.com/1378-1/",
            "reference_id": "USN-1378-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/1378-1/"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-811b-x31n-tfch"
}