Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| BINGOS | Archive::Tar | unaffected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Bingos | Archive::tar |
|
Vendor Solution
Upgrade to Archive::Tar 3.08 or later.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4821-1 | perl security update |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.473% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Archive\
Archive\ \ |
|
| CPEs | cpe:2.3:a:archive\:\:tar_project:archive\:\:tar:*:*:*:*:*:perl:*:* | |
| Vendors & Products |
Archive\
Archive\ \ |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Bingos
Bingos archive::tar |
|
| Vendors & Products |
Bingos
Bingos archive::tar |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory. _make_special_file() passes the tar header's linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file's inode. A subsequent write through the extracted name modifies the victim file, and the post-extraction chmod, chown, and utime block in _extract_file() (guarded only against symlinks via -l) applies the tar header's mode, owner, and timestamps to the shared inode during extraction alone. | |
| Title | Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory | |
| Weaknesses | CWE-59 CWE-732 |
|
| References |
|