Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/60538?format=api",
    "purl": "pkg:gem/actionview@6.1.5.1",
    "type": "gem",
    "namespace": "",
    "name": "actionview",
    "version": "6.1.5.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.3.11",
    "latest_non_vulnerable_version": "7.0.4.3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15625?format=api",
            "vulnerability_id": "VCID-x6wm-6c84-2qdw",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in actionview.",
            "references": [
                {
                    "reference_url": "https://github.com/rails/rails/commit/649516ce0feb699ae06a8c5e81df75d460cc9a85",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rails/rails/commit/649516ce0feb699ae06a8c5e81df75d460cc9a85"
                },
                {
                    "reference_url": "https://groups.google.com/g/ruby-security-ann/c/9wJPEDv-iRw",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/g/ruby-security-ann/c/9wJPEDv-iRw"
                },
                {
                    "reference_url": "https://rubyonrails.org/2022/4/26/Rails-7-0-2-4-6-1-5-1-6-0-4-8-and-5-2-7-1-have-been-released",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://rubyonrails.org/2022/4/26/Rails-7-0-2-4-6-1-5-1-6-0-4-8-and-5-2-7-1-have-been-released"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27777",
                    "reference_id": "CVE-2022-27777",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27777"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2022-27777.yml",
                    "reference_id": "CVE-2022-27777.YML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2022-27777.yml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-ch3h-j2vf-95pv",
                    "reference_id": "GHSA-ch3h-j2vf-95pv",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-ch3h-j2vf-95pv"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60536?format=api",
                    "purl": "pkg:gem/actionview@5.2.7.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@5.2.7.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60537?format=api",
                    "purl": "pkg:gem/actionview@6.0.4.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.0.4.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60538?format=api",
                    "purl": "pkg:gem/actionview@6.1.5.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.1.5.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60539?format=api",
                    "purl": "pkg:gem/actionview@7.0.2.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@7.0.2.4"
                }
            ],
            "aliases": [
                "CVE-2022-27777",
                "GHSA-ch3h-j2vf-95pv",
                "GMS-2022-1138"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x6wm-6c84-2qdw"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.1.5.1"
}