Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53090?format=api",
    "vulnerability_id": "VCID-ej86-jpcj-hqav",
    "summary": "Git LFS can execute a Git binary from the current directory on Windows\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 is the result of an incomplete fix for CVE-2020-27955.\n\nThis issue occurs because on Windows, [Go includes (and prefers) the current directory when the name of a command run does not contain a directory separator](https://github.com/golang/go/issues/38736).\n\n### Patches\nThis version should be patched in v2.13.2, which will be released in coordination with this security advisory.\n\n### Workarounds\nOther than avoiding untrusted repositories or using a different operating system, there is no workaround.\n\n### References\n_Are there any links users can visit to find out more?_\n\n### For more information\nIf you have any questions or comments about this advisory:\n\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`.",
    "aliases": [
        {
            "alias": "CVE-2021-21237"
        },
        {
            "alias": "GHSA-cx3w-xqmc-84g5"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/372224?format=api",
            "purl": "pkg:alpm/archlinux/git-lfs@2.13.2-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/git-lfs@2.13.2-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923242?format=api",
            "purl": "pkg:deb/debian/git-lfs@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923243?format=api",
            "purl": "pkg:deb/debian/git-lfs@2.13.2-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3954-3k4u-xbhr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@2.13.2-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923241?format=api",
            "purl": "pkg:deb/debian/git-lfs@3.3.0-1%2Bdeb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3954-3k4u-xbhr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.3.0-1%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923245?format=api",
            "purl": "pkg:deb/debian/git-lfs@3.6.1-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3954-3k4u-xbhr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.6.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/923244?format=api",
            "purl": "pkg:deb/debian/git-lfs@3.7.1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/git-lfs@3.7.1-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/372223?format=api",
            "purl": "pkg:alpm/archlinux/git-lfs@2.13.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ej86-jpcj-hqav"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/git-lfs@2.13.1-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21237",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4146",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4175",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41778",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41706",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41756",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41765",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41788",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41754",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4174",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41787",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41761",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41687",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41613",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41611",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41533",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41391",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00197",
                    "scoring_system": "epss",
                    "scoring_elements": "0.41685",
                    "published_at": "2026-04-01T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21237"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27955",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27955"
        },
        {
            "reference_url": "https://github.com/git-lfs/git-lfs",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/git-lfs/git-lfs"
        },
        {
            "reference_url": "https://github.com/git-lfs/git-lfs/commit/fc664697ed2c2081ee9633010de0a7f9debea72a",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/git-lfs/git-lfs/commit/fc664697ed2c2081ee9633010de0a7f9debea72a"
        },
        {
            "reference_url": "https://github.com/git-lfs/git-lfs/releases/tag/v2.13.2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/git-lfs/git-lfs/releases/tag/v2.13.2"
        },
        {
            "reference_url": "https://github.com/git-lfs/git-lfs/security/advisories/GHSA-cx3w-xqmc-84g5",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/git-lfs/git-lfs/security/advisories/GHSA-cx3w-xqmc-84g5"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21237",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21237"
        },
        {
            "reference_url": "https://pkg.go.dev/vuln/GO-2021-0098",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://pkg.go.dev/vuln/GO-2021-0098"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-1458",
            "reference_id": "AVG-1458",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-1458"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 426,
            "name": "Untrusted Search Path",
            "description": "The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control."
        },
        {
            "cwe_id": 94,
            "name": "Improper Control of Generation of Code ('Code Injection')",
            "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ej86-jpcj-hqav"
}