Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/169587?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/169587?format=api", "purl": "pkg:npm/hoek@3.0.3", "type": "npm", "namespace": "", "name": "hoek", "version": "3.0.3", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52439?format=api", "vulnerability_id": "VCID-f9fx-rs6v-x7d4", "summary": "hoek subject to prototype pollution via the clone function.\nhoek versions prior to 8.5.1, and 9.x prior to 9.0.3 are vulnerable to prototype pollution in the clone function. If an object with the __proto__ key is passed to clone() the key is converted to a prototype. This issue has been patched in version 9.0.3, and backported to 8.5.1.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-36604.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/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-2020-36604.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-36604", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77536", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.7753", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77547", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77508", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77485", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77465", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77495", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77505", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77511", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77453", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.7746", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.01047", "scoring_system": "epss", "scoring_elements": "0.77544", "published_at": "2026-04-18T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-36604" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36604", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-36604" }, { "reference_url": "https://github.com/hapijs/hoek/commit/4d0804bc6135ad72afdc5e1ec002b935b2f5216a", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/hapijs/hoek/commit/4d0804bc6135ad72afdc5e1ec002b935b2f5216a" }, { "reference_url": "https://github.com/hapijs/hoek/commit/948baf98634a5c206875b67d11368f133034fa90", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/hapijs/hoek/commit/948baf98634a5c206875b67d11368f133034fa90" }, { "reference_url": "https://github.com/hapijs/hoek/issues/352", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-05-27T14:47:45Z/" } ], "url": "https://github.com/hapijs/hoek/issues/352" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36604", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36604" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2129802", "reference_id": "2129802", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2129802" }, { "reference_url": "https://github.com/advisories/GHSA-c429-5p7v-vgjp", "reference_id": "GHSA-c429-5p7v-vgjp", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-c429-5p7v-vgjp" }, { "reference_url": "https://security.snyk.io/vuln/SNYK-JS-HAPIHOEK-548452%29", "reference_id": "SNYK-JS-HAPIHOEK-548452%29", "reference_type": "", "scores": [ { "value": "8.1", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-05-27T14:47:45Z/" } ], "url": "https://security.snyk.io/vuln/SNYK-JS-HAPIHOEK-548452%29" } ], "fixed_packages": [], "aliases": [ "CVE-2020-36604", "GHSA-c429-5p7v-vgjp" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-f9fx-rs6v-x7d4" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8998?format=api", "vulnerability_id": "VCID-yk3z-5fjt-q7gb", "summary": "Prototype Pollution in hoek\nVersions of `hoek` prior to 4.2.1 and 5.0.3 are vulnerable to prototype pollution.\n\nThe `merge` function, and the `applyToDefaults` and `applyToDefaultsWithShallow` functions which leverage `merge` behind the scenes, are vulnerable to a prototype pollution attack when provided an _unvalidated_ payload created from a JSON string containing the `__proto__` property.\n\nThis can be demonstrated like so:\n\n```javascript\nvar Hoek = require('hoek');\nvar malicious_payload = '{\"__proto__\":{\"oops\":\"It works !\"}}';\n\nvar a = {};\nconsole.log(\"Before : \" + a.oops);\nHoek.merge({}, JSON.parse(malicious_payload));\nconsole.log(\"After : \" + a.oops);\n```\n\nThis type of attack can be used to overwrite existing properties causing a potential denial of service.", "references": [ { "reference_url": "https://access.redhat.com/errata/RHSA-2018:1263", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://access.redhat.com/errata/RHSA-2018:1263" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2018:1264", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://access.redhat.com/errata/RHSA-2018:1264" }, { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-3728.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "2.9", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-3728.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-3728", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82143", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82188", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82185", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82148", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82153", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82162", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.8208", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82092", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82112", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82109", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.01675", "scoring_system": "epss", "scoring_elements": "0.82135", "published_at": "2026-04-08T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-3728" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3728", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3728" }, { "reference_url": "https://github.com/hapijs/hoek", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/hapijs/hoek" }, { "reference_url": "https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/hapijs/hoek/commit/32ed5c9413321fbc37da5ca81a7cbab693786dee" }, { "reference_url": "https://github.com/hapijs/hoek/commit/5aed1a8c4a3d55722d1c799f2368857bf418d6df", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/hapijs/hoek/commit/5aed1a8c4a3d55722d1c799f2368857bf418d6df" }, { "reference_url": "https://hackerone.com/reports/310439", "reference_id": "", "reference_type": "", "scores": [ { "value": "2.5", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://hackerone.com/reports/310439" }, { "reference_url": "https://snyk.io/vuln/npm:hoek:20180212", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://snyk.io/vuln/npm:hoek:20180212" }, { "reference_url": "https://web.archive.org/web/20200227131737/https://www.securityfocus.com/bid/103108", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://web.archive.org/web/20200227131737/https://www.securityfocus.com/bid/103108" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1545893", "reference_id": "1545893", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1545893" }, { "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/367.json", "reference_id": "367", "reference_type": "", "scores": [ { "value": "2.5", "scoring_system": "cvssv3", "scoring_elements": "" } ], "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/367.json" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3728", "reference_id": "CVE-2018-3728", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3728" }, { "reference_url": "https://github.com/advisories/GHSA-jp4x-w63m-7wgm", "reference_id": "GHSA-jp4x-w63m-7wgm", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-jp4x-w63m-7wgm" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:3917", "reference_id": "RHSA-2021:3917", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:3917" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/27579?format=api", "purl": "pkg:npm/hoek@4.2.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-f9fx-rs6v-x7d4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/hoek@4.2.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/27578?format=api", "purl": "pkg:npm/hoek@5.0.3", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-f9fx-rs6v-x7d4" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/hoek@5.0.3" } ], "aliases": [ "CVE-2018-3728", "GHSA-jp4x-w63m-7wgm" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yk3z-5fjt-q7gb" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/hoek@3.0.3" }