原始 OSV JSON{
"id": "GHSA-62jx-8vmh-4mcw",
"aliases": [
"CVE-2021-38511"
],
"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.",
"summary": "Links in archive can create arbitrary directories",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.4.36"
}
]
}
],
"package": {
"name": "tar",
"ecosystem": "crates.io"
}
}
],
"modified": "2023-06-13T22:04:07Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"published": "2021-08-25T20:58:23Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-38511",
"type": "ADVISORY"
},
{
"url": "https://github.com/alexcrichton/tar-rs/issues/238",
"type": "WEB"
},
{
"url": "https://github.com/alexcrichton/tar-rs/pull/259",
"type": "WEB"
},
{
"url": "https://github.com/alexcrichton/tar-rs",
"type": "PACKAGE"
},
{
"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",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-08-10T23:15:00Z",
"github_reviewed_at": "2021-08-18T20:08:23Z"
}
}