{"id":"GO-2021-0098","revision":"86644e0e65924b3fb5d0ad82cb5fa9a8","records":[{"revision":"86644e0e65924b3fb5d0ad82cb5fa9a8","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2021-0098","aliases":["BIT-git-lfs-2021-21237","CVE-2021-21237","GHSA-cx3w-xqmc-84g5"],"title":"Arbitrary code execution on Windows in github.com/git-lfs/git-lfs","description":"Due to the standard library behavior of exec.LookPath on Windows a number of methods may result in arbitrary code execution when cloning or operating on untrusted Git repositories.","state":0,"publishedAt":"2021-04-14T20:04:52+00:00","modifiedAt":"2024-05-20T16:03:47+00:00","affected":[{"ecosystem":"Go","name":"github.com/git-lfs/git-lfs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.5.1-0.20210113180018-fc664697ed2c"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/git-lfs/git-lfs/commit/fc664697ed2c2081ee9633010de0a7f9debea72a"],"sourceUrl":"https://osv.dev/vulnerability/GO-2021-0098","license":"OSV · upstream source license applies","key":"osv:GO-2021-0098","identifiers":["GO-2021-0098","BIT-git-lfs-2021-21237","CVE-2021-21237","GHSA-cx3w-xqmc-84g5"]},"retained":false,"historicalAffected":[]}],"coverage":[]}