CVE-2021-30483 Directory Traversal in isomorphic-git
Attackers can exploit directory traversal in isomorphic-git to read or modify files outside the intended directory via a crafted repository.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-30483?
CVE-2021-30483 is a medium-severity path traversal vulnerability in n/a, published on 27 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
isomorphic-git before 1.8.2 allows Directory Traversal via a crafted repository.
Weakness: CWE-22
Which versions are affected by CVE-2021-30483?
2 open source packages ship an affected version, including isomorphic-git. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
isomorphic-git npm | All versions | 1.8.2 |
isomorphic-git npm | All versions | 1.8.2 |
Products include Isomorphic-Git Isomorphic-Git.
How do I fix CVE-2021-30483?
Upgrade isomorphic-git to 1.8.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-30483 being exploited?
There is no known exploitation of CVE-2021-30483 in the wild and no public exploit code.
Sources
Also known as GHSA-fgxq-p49f-qw99.