Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/179806?format=api",
    "purl": "pkg:maven/org.postgresql/pgjdbc-aggregate@9.4.1211",
    "type": "maven",
    "namespace": "org.postgresql",
    "name": "pgjdbc-aggregate",
    "version": "9.4.1211",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "42.2.5",
    "latest_non_vulnerable_version": "42.2.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4803?format=api",
            "vulnerability_id": "VCID-6z5w-j6xv-fffz",
            "summary": "A weakness was found in postgresql-jdbc before version 42.2.5. It was possible to provide an SSL Factory and not check the host name if a host name verifier was not provided to the driver. This could lead to a condition where a man-in-the-middle attacker could masquerade as a trusted server by providing a certificate for the wrong host, as long as it was signed by a trusted CA.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-10936.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-10936.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-10936",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74855",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7478",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74813",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74827",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74851",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7483",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74821",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74857",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74864",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74777",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74779",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00846",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74807",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-10936"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10936",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10936"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10936",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10936"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://github.com/pgjdbc/pgjdbc/commit/cdeeaca47dc3bc6f727c79a582c9e4123099526e",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pgjdbc/pgjdbc/commit/cdeeaca47dc3bc6f727c79a582c9e4123099526e"
                },
                {
                    "reference_url": "https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/1883",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.postgresql.org/about/news/1883"
                },
                {
                    "reference_url": "https://www.postgresql.org/about/news/1883/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/about/news/1883/"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/105220",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://www.securityfocus.com/bid/105220"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1622225",
                    "reference_id": "1622225",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1622225"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-10936",
                    "reference_id": "CVE-2018-10936",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-10936"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-568q-9fw5-28wf",
                    "reference_id": "GHSA-568q-9fw5-28wf",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-568q-9fw5-28wf"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/32622?format=api",
                    "purl": "pkg:maven/org.postgresql/pgjdbc-aggregate@42.2.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/pgjdbc-aggregate@42.2.5"
                }
            ],
            "aliases": [
                "CVE-2018-10936",
                "GHSA-568q-9fw5-28wf"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6z5w-j6xv-fffz"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.6",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/pgjdbc-aggregate@9.4.1211"
}