Lookup for vulnerable packages by Package URL.

GET /api/packages/12694?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/12694?format=api",
    "purl": "pkg:pypi/sqla-yaml-fixtures@0.6.0",
    "type": "pypi",
    "namespace": "",
    "name": "sqla-yaml-fixtures",
    "version": "0.6.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.0.0",
    "latest_non_vulnerable_version": "1.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35304?format=api",
            "vulnerability_id": "VCID-cgsy-znj2-cud5",
            "summary": "Sqla_yaml_fixtures 0.9.1 allows local users to execute arbitrary python code via the fixture_text argument in sqla_yaml_fixtures.load.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-2x54-j4m3-r6wx",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-2x54-j4m3-r6wx"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/sqla-yaml-fixtures/PYSEC-2019-122.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/sqla-yaml-fixtures/PYSEC-2019-122.yaml"
                },
                {
                    "reference_url": "https://github.com/schettino72/sqla_yaml_fixtures",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/schettino72/sqla_yaml_fixtures"
                },
                {
                    "reference_url": "https://github.com/schettino72/sqla_yaml_fixtures/issues/20",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/schettino72/sqla_yaml_fixtures/issues/20"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3575",
                    "reference_id": "CVE-2019-3575",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3575"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/12699?format=api",
                    "purl": "pkg:pypi/sqla-yaml-fixtures@1.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/sqla-yaml-fixtures@1.0.0"
                }
            ],
            "aliases": [
                "CVE-2019-3575",
                "GHSA-2x54-j4m3-r6wx",
                "PYSEC-2019-122"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cgsy-znj2-cud5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/sqla-yaml-fixtures@0.6.0"
}