CVE-2021-21300
malicious repositories can execute remote code while cloning
02 Description
malicious repositories can execute remote code while cloning
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 88.53% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.7% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-03-09 00:00Z5 YR AGO
- Last updated
- 2024-08-03 18:09Z2 YR AGO
- Reserved
- 2020-12-22
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.0)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
- Weaknesses
- CWE-59Improper Link Resolution Before File Access ('Link Following')Base
- Data version
- 5.1
- Document digest
- 5903974082253a2057faacf28cb26e0f741866913f3160c614d16705e307a56d
05 Affected products
06 References
- github.comhttps://github.com/git/git/security/advisories/GHSA-8prw-h3cq-mghm
- lore.kernel.orghttps://lore.kernel.org/git/xmqqim6019yd.fsf%40gitster.c.googlers.com/
- git-scm.comhttps://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks
- git-scm.comhttps://git-scm.com/docs/gitattributes#_filter
- github.comhttps://github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592
- www.openwall.com[oss-security] 20210309 git: malicious repositories can execute remote code while cloninghttp://www.openwall.com/lists/oss-security/2021/03/09/3
- lists.fedoraproject.orgFEDORA-2021-63fcbd126ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LCLJJLKKMS5WRFO6C475AOUZTWQLIARX/
- lists.fedoraproject.orgFEDORA-2021-ffd0b2108dhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/
- lists.fedoraproject.orgFEDORA-2021-03e61a6647https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BBPNGLQSYJHLZZ37BO42YY6S5OTIF4L4/
- support.apple.comhttps://support.apple.com/kb/HT212320
- seclists.org20210427 APPLE-SA-2021-04-26-10 Xcode 12.5http://seclists.org/fulldisclosure/2021/Apr/60
- security.gentoo.orgGLSA-202104-01https://security.gentoo.org/glsa/202104-01
- packetstormsecurity.comhttp://packetstormsecurity.com/files/163978/Git-LFS-Clone-Command-Execution.html
- lists.debian.org[debian-lts-announce] 20221010 [SECURITY] [DLA 3145-1] git security updatehttps://lists.debian.org/debian-lts-announce/2022/10/msg00014.html
07 Fixed in
Arch Linux
- git Fixed in 2.30.2-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- git Fixed in 1:2.30.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- git Fixed in 1:2.30.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- git Fixed in 1:2.30.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- git Fixed in 1:2.7.4-0ubuntu1.10
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- git Fixed in 1:2.17.1-1ubuntu0.8
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- git Fixed in 1:2.25.1-1ubuntu3.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.