Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/59640?format=api",
    "purl": "pkg:composer/ec-cube/ec-cube@2.17.1",
    "type": "composer",
    "namespace": "ec-cube",
    "name": "ec-cube",
    "version": "2.17.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.0.17",
    "latest_non_vulnerable_version": "4.2.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41764?format=api",
            "vulnerability_id": "VCID-6nr6-xn62-v3dj",
            "summary": "Incorrect Authorization\nImproper access control in Management screen of EC-CUBE 2 series allows a remote authenticated attacker to bypass access restriction and to alter System settings via unspecified vectors.",
            "references": [
                {
                    "reference_url": "https://jvn.jp/en/jp/JVN75444925/index.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jvn.jp/en/jp/JVN75444925/index.html"
                },
                {
                    "reference_url": "https://www.ec-cube.net/info/weakness/20211111/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.ec-cube.net/info/weakness/20211111/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20841",
                    "reference_id": "CVE-2021-20841",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20841"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56415?format=api",
                    "purl": "pkg:composer/ec-cube/ec-cube@3.0.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-c6vr-e9zn-cbaz"
                        },
                        {
                            "vulnerability": "VCID-fuus-wqhf-s3be"
                        },
                        {
                            "vulnerability": "VCID-he32-4cf1-akf5"
                        },
                        {
                            "vulnerability": "VCID-mr5c-68tz-nfbn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@3.0.0"
                }
            ],
            "aliases": [
                "CVE-2021-20841"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6nr6-xn62-v3dj"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41768?format=api",
            "vulnerability_id": "VCID-nw9p-g3hb-sqg4",
            "summary": "Cross-Site Request Forgery (CSRF)\nA Cross-site request forgery (CSRF) vulnerability in EC-CUBE 2 series to allows a remote attacker to hijack the authentication of Administrators and delete Administrators via a specially crafted web page.",
            "references": [
                {
                    "reference_url": "https://jvn.jp/en/jp/JVN75444925/index.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jvn.jp/en/jp/JVN75444925/index.html"
                },
                {
                    "reference_url": "https://www.ec-cube.net/info/weakness/20211111/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.ec-cube.net/info/weakness/20211111/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20842",
                    "reference_id": "CVE-2021-20842",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20842"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56415?format=api",
                    "purl": "pkg:composer/ec-cube/ec-cube@3.0.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-c6vr-e9zn-cbaz"
                        },
                        {
                            "vulnerability": "VCID-fuus-wqhf-s3be"
                        },
                        {
                            "vulnerability": "VCID-he32-4cf1-akf5"
                        },
                        {
                            "vulnerability": "VCID-mr5c-68tz-nfbn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@3.0.0"
                }
            ],
            "aliases": [
                "CVE-2021-20842"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nw9p-g3hb-sqg4"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@2.17.1"
}