Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/924722?format=api",
    "purl": "pkg:deb/debian/h2database@0?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "h2database",
    "version": "0",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.4.197-4+deb11u1",
    "latest_non_vulnerable_version": "2.2.220-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11846?format=api",
            "vulnerability_id": "VCID-furu-at6b-nbez",
            "summary": "Improper Restriction of XML External Entity Reference\nThe package com.h2database:h2 from 1.4.198 and before 2.0.202 are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulnerability.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-23463.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-23463.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23463",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73532",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73541",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73543",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73406",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73414",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73437",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73409",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73446",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73459",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73483",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73463",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73455",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73497",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73505",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73499",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23463"
                },
                {
                    "reference_url": "https://github.com/boris-unckel/h2database/commit/f9ad6aef2bfa59eba2b4d3e7c4c32d2cce8e8b05",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/boris-unckel/h2database/commit/f9ad6aef2bfa59eba2b4d3e7c4c32d2cce8e8b05"
                },
                {
                    "reference_url": "https://github.com/h2database/h2database",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/h2database/h2database"
                },
                {
                    "reference_url": "https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3"
                },
                {
                    "reference_url": "https://github.com/h2database/h2database/issues/3195",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/h2database/h2database/issues/3195"
                },
                {
                    "reference_url": "https://github.com/h2database/h2database/pull/3199",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/h2database/h2database/pull/3199"
                },
                {
                    "reference_url": "https://github.com/h2database/h2database/pull/3199#issuecomment-1002830390",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/h2database/h2database/pull/3199#issuecomment-1002830390"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20230818-0010",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20230818-0010"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20230818-0010/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20230818-0010/"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238"
                },
                {
                    "reference_url": "https://www.oracle.com/security-alerts/cpuapr2022.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2033392",
                    "reference_id": "2033392",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2033392"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23463",
                    "reference_id": "CVE-2021-23463",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23463"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-7rpj-hg47-cx62",
                    "reference_id": "GHSA-7rpj-hg47-cx62",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-7rpj-hg47-cx62"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924722?format=api",
                    "purl": "pkg:deb/debian/h2database@0?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/h2database@0%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924723?format=api",
                    "purl": "pkg:deb/debian/h2database@1.4.197-4%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/h2database@1.4.197-4%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924721?format=api",
                    "purl": "pkg:deb/debian/h2database@2.1.214-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/h2database@2.1.214-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924724?format=api",
                    "purl": "pkg:deb/debian/h2database@2.2.220-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/h2database@2.2.220-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2021-23463",
                "GHSA-7rpj-hg47-cx62"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-furu-at6b-nbez"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/h2database@0%3Fdistro=trixie"
}