Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/59994?format=api",
    "purl": "pkg:maven/org.typelevel/jawn-parser_3.0.0-RC3@None",
    "type": "maven",
    "namespace": "org.typelevel",
    "name": "jawn-parser_3.0.0-RC3",
    "version": "None",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41966?format=api",
            "vulnerability_id": "VCID-hh75-nhsu-pba8",
            "summary": "Hash collision in typelevel jawn\nExtenders of the `org.typelevel.jawn.SimpleFacade` and `org.typelevel.jawn.MutableFacade` who don't override `objectContext()` are vulnerable to a hash collision attack.  Most applications do not implement these traits directly, but inherit from a library:\n\nAffected implementations include:\n* `org.http4s` :: `http4s-play-json`\n* `org.typelevel :: jawn-ast` (< 0.8.0)\n* `org.typelevel :: jawn-play` (discontinued)\n* `org.typelevel :: jawn-rojoma` (discontinued)\n* `org.typelevel :: jawn-spray` (discontinued)\n\nUnaffected implementations include:\n* `io.argonaut :: argonaut-jawn`\n* `io.circe :: circe-parser`\n* `org.typelevel :: jawn-ast` (>= 0.8.0)\n* `org.typelevel :: jawn-json4s` (discontinued)\n* `org.typelevel :: jawn-argonaut` (discontinued)",
            "references": [
                {
                    "reference_url": "https://github.com/typelevel/jawn",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/typelevel/jawn"
                },
                {
                    "reference_url": "https://github.com/typelevel/jawn/pull/390",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/typelevel/jawn/pull/390"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21653",
                    "reference_id": "CVE-2022-21653",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-21653"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vc89-hccf-rq55",
                    "reference_id": "GHSA-vc89-hccf-rq55",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vc89-hccf-rq55"
                },
                {
                    "reference_url": "https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55",
                    "reference_id": "GHSA-vc89-hccf-rq55",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/typelevel/jawn/security/advisories/GHSA-vc89-hccf-rq55"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2022-21653",
                "GHSA-vc89-hccf-rq55"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hh75-nhsu-pba8"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.typelevel/jawn-parser_3.0.0-RC3@None"
}