Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61185?format=api",
    "purl": "pkg:composer/joomla/input@2.0.2",
    "type": "composer",
    "namespace": "joomla",
    "name": "input",
    "version": "2.0.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.0.2",
    "latest_non_vulnerable_version": "2.0.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42815?format=api",
            "vulnerability_id": "VCID-u7me-7rfh-ayaa",
            "summary": "Variable Tampering within joomla/input class\nAn issue was discovered in Joomla! 4.0.0 through 4.1.0. Under specific circumstances, JInput pollutes method-specific input bags with $_REQUEST data.",
            "references": [
                {
                    "reference_url": "https://developer.joomla.org/security-centre/876-20220307-core-variable-tampering-on-jinput-request-data.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://developer.joomla.org/security-centre/876-20220307-core-variable-tampering-on-jinput-request-data.html"
                },
                {
                    "reference_url": "https://github.com/joomla-framework/input",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/joomla-framework/input"
                },
                {
                    "reference_url": "https://github.com/joomla-framework/input/commit/2086df5860a2edccd77c329ee7cbd118cfe93514",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/joomla-framework/input/commit/2086df5860a2edccd77c329ee7cbd118cfe93514"
                },
                {
                    "reference_url": "https://github.com/joomla/joomla-cms/issues/35541",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/joomla/joomla-cms/issues/35541"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23799",
                    "reference_id": "CVE-2022-23799",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23799"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/joomla/input/CVE-2022-23799.yaml",
                    "reference_id": "CVE-2022-23799.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/joomla/input/CVE-2022-23799.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-49fj-qp6p-q544",
                    "reference_id": "GHSA-49fj-qp6p-q544",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-49fj-qp6p-q544"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61185?format=api",
                    "purl": "pkg:composer/joomla/input@2.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/joomla/input@2.0.2"
                }
            ],
            "aliases": [
                "CVE-2022-23799",
                "GHSA-49fj-qp6p-q544"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u7me-7rfh-ayaa"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/joomla/input@2.0.2"
}