Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/60728?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/60728?format=api", "purl": "pkg:maven/cn.hutool/hutool-http@5.7.19", "type": "maven", "namespace": "cn.hutool", "name": "hutool-http", "version": "5.7.19", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42467?format=api", "vulnerability_id": "VCID-2d5g-xbz3-3kha", "summary": "Improper Certificate Validation\nHutool v5.7.18's HttpRequest was discovered to ignore all TLS/SSL certificate validation.", "references": [ { "reference_url": "https://apidoc.gitee.com/dromara/hutool/cn/hutool/http/ssl/DefaultSSLInfo.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://apidoc.gitee.com/dromara/hutool/cn/hutool/http/ssl/DefaultSSLInfo.html" }, { "reference_url": "https://github.com/dromara/hutool/issues/2042", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/dromara/hutool/issues/2042" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22885", "reference_id": "CVE-2022-22885", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22885" }, { "reference_url": "https://github.com/advisories/GHSA-p7w9-8mxw-p3g7", "reference_id": "GHSA-p7w9-8mxw-p3g7", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-p7w9-8mxw-p3g7" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/60728?format=api", "purl": "pkg:maven/cn.hutool/hutool-http@5.7.19", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/cn.hutool/hutool-http@5.7.19" } ], "aliases": [ "CVE-2022-22885", "GHSA-p7w9-8mxw-p3g7" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2d5g-xbz3-3kha" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/cn.hutool/hutool-http@5.7.19" }