Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41229?format=api",
    "vulnerability_id": "VCID-gabj-syb9-c7ff",
    "summary": "Uncontrolled Search Path Element in sharkdp/bat\nbat on windows before 0.18.2 executes programs named less.exe from the current working directory. This can lead to unintended code execution.",
    "aliases": [
        {
            "alias": "CVE-2021-36753"
        },
        {
            "alias": "GHSA-p24j-h477-76q3"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373622?format=api",
            "purl": "pkg:alpm/archlinux/bat@0.18.2-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/bat@0.18.2-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/581101?format=api",
            "purl": "pkg:cargo/bat@0.18.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:cargo/bat@0.18.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373621?format=api",
            "purl": "pkg:alpm/archlinux/bat@0.18.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-gabj-syb9-c7ff"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/bat@0.18.1-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-36753",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41388",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41463",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4142",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41435",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41467",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41446",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4134",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41438",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41432",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00195",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41461",
                    "published_at": "2026-04-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-36753"
        },
        {
            "reference_url": "https://github.com/sharkdp/bat",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/sharkdp/bat"
        },
        {
            "reference_url": "https://github.com/sharkdp/bat/commit/bf2b2df9c9e218e35e5a38ce3d03cffb7c363956",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/sharkdp/bat/commit/bf2b2df9c9e218e35e5a38ce3d03cffb7c363956"
        },
        {
            "reference_url": "https://github.com/sharkdp/bat/pull/1724",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/sharkdp/bat/pull/1724"
        },
        {
            "reference_url": "https://github.com/sharkdp/bat/releases/tag/v0.18.2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/sharkdp/bat/releases/tag/v0.18.2"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36753",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36753"
        },
        {
            "reference_url": "https://rustsec.org/advisories/RUSTSEC-2021-0106.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://rustsec.org/advisories/RUSTSEC-2021-0106.html"
        },
        {
            "reference_url": "https://vuln.ryotak.me/advisories/53",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://vuln.ryotak.me/advisories/53"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2165",
            "reference_id": "AVG-2165",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2165"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-p24j-h477-76q3",
            "reference_id": "GHSA-p24j-h477-76q3",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-p24j-h477-76q3"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 427,
            "name": "Uncontrolled Search Path Element",
            "description": "The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gabj-syb9-c7ff"
}