Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/60099?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/60099?format=api", "purl": "pkg:npm/markdown-it@12.3.2", "type": "npm", "namespace": "", "name": "markdown-it", "version": "12.3.2", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "12.3.2", "latest_non_vulnerable_version": "14.1.1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42022?format=api", "vulnerability_id": "VCID-111r-n144-cyf5", "summary": "Uncontrolled Resource Consumption in markdown-it\nmarkdown-it is a Markdown parser. special patterns with length greater than thousand characterss could slow down the parser significantly. Users should upgrade to to receive a patch. There are no known workarounds aside from upgrading.", "references": [ { "reference_url": "https://github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986101", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/markdown-it/markdown-it/commit/ffc49ab46b5b751cd2be0aabb146f2ef84986101" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21670", "reference_id": "CVE-2022-21670", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21670" }, { "reference_url": "https://github.com/advisories/GHSA-6vfc-qv3f-vr6c", "reference_id": "GHSA-6vfc-qv3f-vr6c", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-6vfc-qv3f-vr6c" }, { "reference_url": "https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6vfc-qv3f-vr6c", "reference_id": "GHSA-6vfc-qv3f-vr6c", "reference_type": "", "scores": [], "url": "https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6vfc-qv3f-vr6c" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/60099?format=api", "purl": "pkg:npm/markdown-it@12.3.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/markdown-it@12.3.2" } ], "aliases": [ "CVE-2022-21670", "GHSA-6vfc-qv3f-vr6c" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-111r-n144-cyf5" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/markdown-it@12.3.2" }