Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/13037?format=api",
    "purl": "pkg:pypi/webargs@1.1.0",
    "type": "pypi",
    "namespace": "",
    "name": "webargs",
    "version": "1.1.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.5.3",
    "latest_non_vulnerable_version": "5.5.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35328?format=api",
            "vulnerability_id": "VCID-97cu-3bp8-cfhk",
            "summary": "An issue was discovered in webargs before 5.1.3, as used with marshmallow and other products. JSON parsing uses a short-lived cache to store the parsed JSON body. This cache is not thread-safe, meaning that incorrect JSON payloads could have been parsed for concurrent requests.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-8554-jxcw-454q",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8554-jxcw-454q"
                },
                {
                    "reference_url": "https://github.com/marshmallow-code/webargs",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/marshmallow-code/webargs"
                },
                {
                    "reference_url": "https://github.com/marshmallow-code/webargs/commit/716bd8d1f24c84aaf99170efaa17d1d34206f6c0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/marshmallow-code/webargs/commit/716bd8d1f24c84aaf99170efaa17d1d34206f6c0"
                },
                {
                    "reference_url": "https://github.com/marshmallow-code/webargs/issues/371",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/marshmallow-code/webargs/issues/371"
                },
                {
                    "reference_url": "https://github.com/marshmallow-code/webargs/pull/373",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/marshmallow-code/webargs/pull/373"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/webargs/PYSEC-2019-139.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/webargs/PYSEC-2019-139.yaml"
                },
                {
                    "reference_url": "https://webargs.readthedocs.io/en/latest/changelog.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://webargs.readthedocs.io/en/latest/changelog.html"
                },
                {
                    "reference_url": "https://webargs.readthedocs.io/en/latest/changelog.html#id24",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://webargs.readthedocs.io/en/latest/changelog.html#id24"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-9710",
                    "reference_id": "CVE-2019-9710",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-9710"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/13079?format=api",
                    "purl": "pkg:pypi/webargs@5.1.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-11rq-guar-cudu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/webargs@5.1.3"
                }
            ],
            "aliases": [
                "CVE-2019-9710",
                "GHSA-8554-jxcw-454q",
                "PYSEC-2019-139"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-97cu-3bp8-cfhk"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/webargs@1.1.0"
}