Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/327?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/327?format=api", "purl": "pkg:generic/postgresql@10.6.0", "type": "generic", "namespace": "", "name": "postgresql", "version": "10.6.0", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "10.8.0", "latest_non_vulnerable_version": "18.2.0", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3567?format=api", "vulnerability_id": "VCID-1rgq-t3wa-2fck", "summary": "SQL injection in pg_upgrade and pg_dump, via CREATE TRIGGER ... REFERENCING.more details", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16850.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.0", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16850.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16850", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79805", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79813", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79834", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79822", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79851", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79859", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.7988", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79863", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79856", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79884", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79885", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79888", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79916", "published_at": "2026-04-24T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.79923", "published_at": "2026-04-26T12:55:00Z" }, { "value": "0.01317", "scoring_system": "epss", "scoring_elements": "0.7994", "published_at": "2026-04-29T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16850" }, { "reference_url": "https://www.postgresql.org/about/news/postgresql-111-106-9611-9515-9420-and-9325-released-1905/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.postgresql.org/about/news/postgresql-111-106-9611-9515-9420-and-9325-released-1905/" }, { "reference_url": "https://www.postgresql.org/support/security/CVE-2018-16850/", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3", "scoring_elements": "['AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H']" } ], "url": "https://www.postgresql.org/support/security/CVE-2018-16850/" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1645937", "reference_id": "1645937", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1645937" }, { "reference_url": "https://security.gentoo.org/glsa/201811-24", "reference_id": "GLSA-201811-24", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/201811-24" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2018:3757", "reference_id": "RHSA-2018:3757", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2018:3757" }, { "reference_url": "https://usn.ubuntu.com/3818-1/", "reference_id": "USN-3818-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/3818-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/327?format=api", "purl": "pkg:generic/postgresql@10.6.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@10.6.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/326?format=api", "purl": "pkg:generic/postgresql@11.1.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@11.1.0" } ], "aliases": [ "CVE-2018-16850" ], "risk_score": 3.6, "exploitability": "0.5", "weighted_severity": "7.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1rgq-t3wa-2fck" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:generic/postgresql@10.6.0" }