CVE-2021-38511
Links in archive can create arbitrary directories
7.5
HIGH
CVSS 3.1
EPSS 0.34%
Description
An issue was discovered in the tar crate before 0.4.36 for Rust. When symlinks are present in a TAR archive, extraction can create arbitrary directories via .. traversal.
How to fix CVE-2021-38511
To remediate CVE-2021-38511, upgrade the affected package to a fixed version below.
- crates.io/tar—upgrade to 0.4.36 or later
- —upgrade to 0.4.36 or later
- —no fix listed
Is CVE-2021-38511 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 0.4.36
- >= 0.0.0-0, < 0.4.36
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |