Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/55235?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/55235?format=api", "purl": "pkg:composer/yiisoft/yii2@2.0.12%2B1", "type": "composer", "namespace": "yiisoft", "name": "yii2", "version": "2.0.12+1", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.0.13", "latest_non_vulnerable_version": "2.0.16", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39514?format=api", "vulnerability_id": "VCID-y165-fy8y-2fcc", "summary": "The `findByCondition` function in `framework/db/ActiveRecord.php` allows remote attackers to conduct SQL injection attacks via a `findOne()` or `findAll()à call, unless a developer recognizes an undocumented need to sanitize array input.", "references": [ { "reference_url": "https://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7269", "reference_id": "CVE-2018-7269", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7269" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/55235?format=api", "purl": "pkg:composer/yiisoft/yii2@2.0.12%2B1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/yiisoft/yii2@2.0.12%252B1" }, { "url": "http://public2.vulnerablecode.io/api/packages/55236?format=api", "purl": "pkg:composer/yiisoft/yii2@2.0.13%2B2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/yiisoft/yii2@2.0.13%252B2" }, { "url": "http://public2.vulnerablecode.io/api/packages/55237?format=api", "purl": "pkg:composer/yiisoft/yii2@2.0.15", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/yiisoft/yii2@2.0.15" } ], "aliases": [ "CVE-2018-7269" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-y165-fy8y-2fcc" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/yiisoft/yii2@2.0.12%252B1" }