Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/2065?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/2065?format=api", "purl": "pkg:alpm/archlinux/python-django@4.0.5-1", "type": "alpm", "namespace": "archlinux", "name": "python-django", "version": "4.0.5-1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "4.0.7-1", "latest_non_vulnerable_version": "5.1.9-1", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4934?format=api", "vulnerability_id": "VCID-2n2n-1fq2-7bbs", "summary": "sql injection", "references": [ { "reference_url": "https://docs.djangoproject.com/en/4.0/releases/security/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://docs.djangoproject.com/en/4.0/releases/security/" }, { "reference_url": "https://github.com/advisories/GHSA-p64x-8rxx-wf6q", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-p64x-8rxx-wf6q" }, { "reference_url": "https://groups.google.com/forum/#!forum/django-announce", "reference_id": "", "reference_type": "", "scores": [], "url": "https://groups.google.com/forum/#!forum/django-announce" }, { "reference_url": "https://www.djangoproject.com/weblog/2022/jul/04/security-releases/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.djangoproject.com/weblog/2022/jul/04/security-releases/" }, { "reference_url": "https://security.archlinux.org/AVG-2788", "reference_id": "AVG-2788", "reference_type": "", "scores": [ { "value": "High", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-2788" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/1423?format=api", "purl": "pkg:alpm/archlinux/python-django@4.0.6-1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-29qk-rv5n-efbm" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-django@4.0.6-1" } ], "aliases": [ "CVE-2022-34265", "GHSA-p64x-8rxx-wf6q", "PYSEC-2022-213" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2n2n-1fq2-7bbs" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/python-django@4.0.5-1" }