Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/385?format=api",
    "purl": "pkg:generic/postgresql@8.1.4",
    "type": "generic",
    "namespace": "",
    "name": "postgresql",
    "version": "8.1.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.1.5",
    "latest_non_vulnerable_version": "18.2.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3589?format=api",
            "vulnerability_id": "VCID-8z74-udgw-kue3",
            "summary": "The widely-used practice of escaping ASCII single quote \"'\" by turning it into \"\\'\" is unsafe when operating in multibyte encodings that allow 0x5c (ASCII code for backslash) as the trailing byte of a multibyte character.more details",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-2314.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-2314.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2006-2314",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02162",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84308",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.02162",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84309",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.02162",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84312",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.02162",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84338",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.02168",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84298",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02168",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84303",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02168",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84243",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.02168",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84315",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02168",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84311",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02168",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84321",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02168",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84255",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02168",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84274",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.02168",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84276",
                            "published_at": "2026-04-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2006-2314"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2314",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2314"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2006-2314/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/support/security/CVE-2006-2314/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1618101",
                    "reference_id": "1618101",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1618101"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200607-04",
                    "reference_id": "GLSA-200607-04",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200607-04"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2006:0526",
                    "reference_id": "RHSA-2006:0526",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2006:0526"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/288-1/",
                    "reference_id": "USN-288-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/288-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/288-2/",
                    "reference_id": "USN-288-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/288-2/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/288-3/",
                    "reference_id": "USN-288-3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/288-3/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/388?format=api",
                    "purl": "pkg:generic/postgresql@7.3.15",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@7.3.15"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/387?format=api",
                    "purl": "pkg:generic/postgresql@7.4.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@7.4.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/386?format=api",
                    "purl": "pkg:generic/postgresql@8.0.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.0.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/385?format=api",
                    "purl": "pkg:generic/postgresql@8.1.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.1.4"
                }
            ],
            "aliases": [
                "CVE-2006-2314"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8z74-udgw-kue3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3590?format=api",
            "vulnerability_id": "VCID-dema-khb4-d7c3",
            "summary": "An attacker able to submit crafted strings to an application that will embed those strings in SQL commands can use invalidly-encoded multibyte characters to bypass standard string-escaping methods, resulting in possible SQL injection.more details",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-2313.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2006-2313.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2006-2313",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01496",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81146",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01496",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81147",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01496",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81144",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01496",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81167",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.02022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83753",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83759",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83698",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.02022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83769",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83765",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83775",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83712",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83726",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.02022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83729",
                            "published_at": "2026-04-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2006-2313"
                },
                {
                    "reference_url": "https://www.postgresql.org/support/security/CVE-2006-2313/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.postgresql.org/support/security/CVE-2006-2313/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1618100",
                    "reference_id": "1618100",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1618100"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200607-04",
                    "reference_id": "GLSA-200607-04",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200607-04"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2006:0526",
                    "reference_id": "RHSA-2006:0526",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2006:0526"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/288-1/",
                    "reference_id": "USN-288-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/288-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/288-2/",
                    "reference_id": "USN-288-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/288-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/388?format=api",
                    "purl": "pkg:generic/postgresql@7.3.15",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@7.3.15"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/387?format=api",
                    "purl": "pkg:generic/postgresql@7.4.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@7.4.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/386?format=api",
                    "purl": "pkg:generic/postgresql@8.0.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.0.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/385?format=api",
                    "purl": "pkg:generic/postgresql@8.1.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.1.4"
                }
            ],
            "aliases": [
                "CVE-2006-2313"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dema-khb4-d7c3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@8.1.4"
}