Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/42248?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42248?format=api", "vulnerability_id": "VCID-419s-kngy-wfdn", "summary": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')\nThe package object-path-set is vulnerable to Prototype Pollution via the setPath method, as it allows an attacker to merge object prototypes into it. *Note:* This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-OBJECTPATHSET-607908", "aliases": [ { "alias": "CVE-2021-23507" }, { "alias": "GHSA-h6pr-c536-6rjg" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/60374?format=api", "purl": "pkg:npm/object-path-set@1.0.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/object-path-set@1.0.2" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/552941?format=api", "purl": "pkg:npm/object-path-set@0.0.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-419s-kngy-wfdn" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/object-path-set@0.0.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/552942?format=api", "purl": "pkg:npm/object-path-set@0.0.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-419s-kngy-wfdn" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/object-path-set@0.0.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/552943?format=api", "purl": "pkg:npm/object-path-set@1.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-419s-kngy-wfdn" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/object-path-set@1.0.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/552944?format=api", "purl": "pkg:npm/object-path-set@1.0.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-419s-kngy-wfdn" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/object-path-set@1.0.1" } ], "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23507", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00502", "scoring_system": "epss", "scoring_elements": "0.66413", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.00502", "scoring_system": "epss", "scoring_elements": "0.66449", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.00502", "scoring_system": "epss", "scoring_elements": "0.66431", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.00502", "scoring_system": "epss", "scoring_elements": "0.66445", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.00502", "scoring_system": "epss", "scoring_elements": "0.66462", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00502", "scoring_system": "epss", "scoring_elements": "0.66453", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23507" }, { "reference_url": "https://github.com/skratchdot/object-path-set", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/skratchdot/object-path-set" }, { "reference_url": "https://github.com/skratchdot/object-path-set/blob/577f5299fed15bb9edd11c940ff3cf0b9f4748d5/index.js%23L8", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/skratchdot/object-path-set/blob/577f5299fed15bb9edd11c940ff3cf0b9f4748d5/index.js%23L8" }, { "reference_url": "https://github.com/skratchdot/object-path-set/commit/2d67a714159c4099589b6661fa84e6d2adc31761", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/skratchdot/object-path-set/commit/2d67a714159c4099589b6661fa84e6d2adc31761" }, { "reference_url": "https://snyk.io/blog/remediate-javascript-type-confusion-bypassed-input-validation", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://snyk.io/blog/remediate-javascript-type-confusion-bypassed-input-validation" }, { "reference_url": "https://snyk.io/blog/remediate-javascript-type-confusion-bypassed-input-validation/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://snyk.io/blog/remediate-javascript-type-confusion-bypassed-input-validation/" }, { "reference_url": "https://snyk.io/vuln/SNYK-JS-OBJECTPATHSET-2388576", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://snyk.io/vuln/SNYK-JS-OBJECTPATHSET-2388576" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23507", "reference_id": "CVE-2021-23507", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23507" }, { "reference_url": "https://github.com/advisories/GHSA-h6pr-c536-6rjg", "reference_id": "GHSA-h6pr-c536-6rjg", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-h6pr-c536-6rjg" } ], "weaknesses": [ { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." }, { "cwe_id": 1321, "name": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')", "description": "The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." } ], "exploits": [], "severity_range_score": "7.0 - 8.9", "exploitability": "0.5", "weighted_severity": "8.0", "risk_score": 4.0, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-419s-kngy-wfdn" }