Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/500044?format=api",
    "purl": "pkg:apk/alpine/git-lfs@0?arch=aarch64&distroversion=v3.16&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "git-lfs",
    "version": "0",
    "qualifiers": {
        "arch": "aarch64",
        "distroversion": "v3.16",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.1.2-r3",
    "latest_non_vulnerable_version": "3.1.2-r4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53103?format=api",
            "vulnerability_id": "VCID-9dw1-pfyv-67hq",
            "summary": "Git LFS can execute a Git binary from the current directory\n### Impact\nOn Windows, if Git LFS operates on a malicious repository with a `git.bat` or `git.exe` file in the current directory, that program would be executed, permitting the attacker to execute arbitrary code.  This does not affect Unix systems.\n\nThis occurs because on Windows, Go includes (and prefers) the current directory when the name of a command run does not contain a directory separator.\n\n### Patches\nThis version should be patched in v2.12.1, which will be released in coordination with this security advisory.\n\n### Workarounds\nOther than avoiding untrusted repositories, there is no workaround.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Start a discussion in [the Git LFS discussion page](https://github.com/git-lfs/git-lfs/discussions).\n* If you cannot open a discussion, please email the core team using their usernames at `github.com`.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27955",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.93606",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99835",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.93606",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99839",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.93606",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99838",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.93606",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99837",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.93606",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99836",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.93606",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99834",
                            "published_at": "2026-04-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-27955"
                },
                {
                    "reference_url": "http://seclists.org/fulldisclosure/2020/Nov/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://seclists.org/fulldisclosure/2020/Nov/1"
                },
                {
                    "reference_url": "https://github.com/git-lfs/git-lfs",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/git-lfs/git-lfs"
                },
                {
                    "reference_url": "https://github.com/git-lfs/git-lfs/releases",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/git-lfs/git-lfs/releases"
                },
                {
                    "reference_url": "https://github.com/git-lfs/git-lfs/security/advisories/GHSA-4g4p-42wc-9f3m",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/git-lfs/git-lfs/security/advisories/GHSA-4g4p-42wc-9f3m"
                },
                {
                    "reference_url": "https://legalhackers.com/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://legalhackers.com/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27955",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27955"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/500044?format=api",
                    "purl": "pkg:apk/alpine/git-lfs@0?arch=aarch64&distroversion=v3.16&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/git-lfs@0%3Farch=aarch64&distroversion=v3.16&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2020-27955",
                "GHSA-4g4p-42wc-9f3m"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9dw1-pfyv-67hq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/git-lfs@0%3Farch=aarch64&distroversion=v3.16&reponame=community"
}