Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/64005?format=api",
    "purl": "pkg:maven/org.jboss.resteasy/resteasy-core@6.2.3.Final",
    "type": "maven",
    "namespace": "org.jboss.resteasy",
    "name": "resteasy-core",
    "version": "6.2.3.Final",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.7.8.Final",
    "latest_non_vulnerable_version": "6.2.3.Final",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44487?format=api",
            "vulnerability_id": "VCID-ka7b-vp4z-d7bu",
            "summary": "Insecure Temporary File in RESTEasy\nIn RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround classes which creates temp files with insecure permissions that could be read by a local user.",
            "references": [
                {
                    "reference_url": "https://github.com/orgs/resteasy/discussions/3415",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/orgs/resteasy/discussions/3415"
                },
                {
                    "reference_url": "https://github.com/orgs/resteasy/discussions/3504",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/orgs/resteasy/discussions/3504"
                },
                {
                    "reference_url": "https://github.com/orgs/resteasy/discussions/3506",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/orgs/resteasy/discussions/3506"
                },
                {
                    "reference_url": "https://github.com/resteasy/Resteasy",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/resteasy/Resteasy"
                },
                {
                    "reference_url": "https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56"
                },
                {
                    "reference_url": "https://issues.redhat.com/browse/RESTEASY-3286",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.redhat.com/browse/RESTEASY-3286"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20230427-0001",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20230427-0001"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0482",
                    "reference_id": "CVE-2023-0482",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0482"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jrmh-v64j-mjm9",
                    "reference_id": "GHSA-jrmh-v64j-mjm9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jrmh-v64j-mjm9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64003?format=api",
                    "purl": "pkg:maven/org.jboss.resteasy/resteasy-core@4.7.8.Final",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-core@4.7.8.Final"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64004?format=api",
                    "purl": "pkg:maven/org.jboss.resteasy/resteasy-core@5.0.6.Final",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-core@5.0.6.Final"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64005?format=api",
                    "purl": "pkg:maven/org.jboss.resteasy/resteasy-core@6.2.3.Final",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-core@6.2.3.Final"
                }
            ],
            "aliases": [
                "CVE-2023-0482",
                "GHSA-jrmh-v64j-mjm9"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ka7b-vp4z-d7bu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jboss.resteasy/resteasy-core@6.2.3.Final"
}