{"id":"DHI-pmm6-glfn-gfi4-ve5m","summary":"tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive…","details":"tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root. This issue has been fixed in version 0.4.45.","modified":"2026-11-16T02:36:03.254233608Z","published":"2026-11-11T15:37:37Z","upstream":["CVE-2026-33056"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-pmm6-glfn-gfi4-ve5m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33056"},{"type":"ADVISORY","url":"https://github.com/alexcrichton/tar-rs/security/advisories/GHSA-j4xf-2g29-59ph"},{"type":"FIX","url":"https://github.com/alexcrichton/tar-rs/commit/17b1fd84e632071cb8eef9d3709bf347bd266446"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-33056"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3246.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33056"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-33055"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-0810"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1565.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1566.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1567.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-1568.html"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-33056"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j4xf-2g29-59ph"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0067.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-33056"},{"type":"FIX","url":"https://www.cve.org/CVERecord?id=CVE-2026-33056"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0067"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-33056"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-33056"}],"affected":[{"package":{"name":"rust","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/rust"},"versions":["1.91.1-r0","1.91.1-r2","1.91.1-r3","1.91.1-r4","1.93.1-r0","1.93.1-r1","1.94.0-r0","1.94.0-r1","1.94.1-r0","1.94.1-r1","1.95.0-r0","1.96.0-r0","1.96.1-r0","1.97.0-r0","1.97.0-r1","1.98.1-r0","1.99.0-r2","1.99.1-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pmm6-glfn-gfi4-ve5m.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}