Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/41296?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41296?format=api", "vulnerability_id": "VCID-6rub-m94d-jfct", "summary": "Use of Insufficiently Random Values\nyii2 is vulnerable to use of predictable algorithm in a random number generator", "aliases": [ { "alias": "CVE-2021-3689" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/58641?format=api", "purl": "pkg:composer/yiisoft/yii2-dev@2.0.43", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/yiisoft/yii2-dev@2.0.43" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/55243?format=api", "purl": "pkg:composer/yiisoft/yii2-dev@2.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-6rub-m94d-jfct" }, { "vulnerability": "VCID-gb9u-t143-vker" }, { "vulnerability": "VCID-vf2s-s6dr-nqhf" }, { "vulnerability": "VCID-vhy5-48ge-vyat" }, { "vulnerability": "VCID-xrgb-33bd-ckat" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/yiisoft/yii2-dev@2.0.0" } ], "references": [ { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3689", "reference_id": "CVE-2021-3689", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3689" } ], "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": 330, "name": "Use of Insufficiently Random Values", "description": "The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers." }, { "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": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6rub-m94d-jfct" }