Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/270870?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/270870?format=api", "purl": "pkg:npm/json-schema@0.2.0", "type": "npm", "namespace": "", "name": "json-schema", "version": "0.2.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "0.4.0", "latest_non_vulnerable_version": "0.4.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11608?format=api", "vulnerability_id": "VCID-hwk3-sg9p-wqe7", "summary": "json-schema is vulnerable to Prototype Pollution\njson-schema before version 0.4.0 is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3918.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3918.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3918", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79573", "published_at": "2026-05-09T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79384", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79391", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79413", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.794", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79428", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79437", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.7946", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79443", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79433", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79464", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79462", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79466", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79497", "published_at": "2026-04-24T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79504", "published_at": "2026-04-26T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.7952", "published_at": "2026-04-29T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79535", "published_at": "2026-05-05T12:55:00Z" }, { "value": "0.01262", "scoring_system": "epss", "scoring_elements": "0.79555", "published_at": "2026-05-07T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3918" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3918", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3918" }, { "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.1", "scoring_elements": "CVSS:3.1/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/kriszyp/json-schema", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/kriszyp/json-schema" }, { "reference_url": "https://github.com/kriszyp/json-schema/commit/22f146111f541d9737e832823699ad3528ca7741", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/kriszyp/json-schema/commit/22f146111f541d9737e832823699ad3528ca7741" }, { "reference_url": "https://github.com/kriszyp/json-schema/commit/b62f1da1ff5442f23443d6be6a92d00e65cba93a", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/kriszyp/json-schema/commit/b62f1da1ff5442f23443d6be6a92d00e65cba93a" }, { "reference_url": "https://github.com/kriszyp/json-schema/commit/f6f6a3b02d667aa4ba2d5d50cc19208c4462abfa", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/kriszyp/json-schema/commit/f6f6a3b02d667aa4ba2d5d50cc19208c4462abfa" }, { "reference_url": "https://huntr.dev/bounties/bb6ccd63-f505-4e3a-b55f-cd2662c261a9", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://huntr.dev/bounties/bb6ccd63-f505-4e3a-b55f-cd2662c261a9" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2022/12/msg00013.html", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://lists.debian.org/debian-lts-announce/2022/12/msg00013.html" }, { "reference_url": "https://security.netapp.com/advisory/ntap-20250117-0004", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://security.netapp.com/advisory/ntap-20250117-0004" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2024702", "reference_id": "2024702", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2024702" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999765", "reference_id": "999765", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999765" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3918", "reference_id": "CVE-2021-3918", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3918" }, { "reference_url": "https://github.com/advisories/GHSA-896r-f27r-55mw", "reference_id": "GHSA-896r-f27r-55mw", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-896r-f27r-55mw" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:5171", "reference_id": "RHSA-2021:5171", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:5171" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:0041", "reference_id": "RHSA-2022:0041", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:0041" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:0246", "reference_id": "RHSA-2022:0246", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:0246" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:0350", "reference_id": "RHSA-2022:0350", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:0350" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:4914", "reference_id": "RHSA-2022:4914", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:4914" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2022:4956", "reference_id": "RHSA-2022:4956", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2022:4956" }, { "reference_url": "https://usn.ubuntu.com/6103-1/", "reference_id": "USN-6103-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/6103-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/41782?format=api", "purl": "pkg:npm/json-schema@0.4.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/json-schema@0.4.0" } ], "aliases": [ "CVE-2021-3918", "GHSA-896r-f27r-55mw" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hwk3-sg9p-wqe7" } ], "fixing_vulnerabilities": [], "risk_score": "4.5", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/json-schema@0.2.0" }