ghsa-62jx-8vmh-4mcw
Vulnerability from github
Published
2021-08-25 20:58
Modified
2023-06-13 22:04
Severity ?
VLAI Severity ?
Summary
Links in archive can create arbitrary directories
Details
When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point.
{ "affected": [ { "package": { "ecosystem": "crates.io", "name": "tar" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.4.36" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-38511" ], "database_specific": { "cwe_ids": [ "CWE-22" ], "github_reviewed": true, "github_reviewed_at": "2021-08-18T20:08:23Z", "nvd_published_at": "2021-08-10T23:15:00Z", "severity": "HIGH" }, "details": "When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it\u0027s supposed to unpack into. The function errors when it\u0027s trying to create a file, but the folders are already created at this point.", "id": "GHSA-62jx-8vmh-4mcw", "modified": "2023-06-13T22:04:07Z", "published": "2021-08-25T20:58:23Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-38511" }, { "type": "WEB", "url": "https://github.com/alexcrichton/tar-rs/issues/238" }, { "type": "WEB", "url": "https://github.com/alexcrichton/tar-rs/pull/259" }, { "type": "PACKAGE", "url": "https://github.com/alexcrichton/tar-rs" }, { "type": "WEB", "url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tar/RUSTSEC-2021-0080.md" }, { "type": "WEB", "url": "https://rustsec.org/advisories/RUSTSEC-2021-0080.html" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "type": "CVSS_V3" } ], "summary": "Links in archive can create arbitrary directories" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…