CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NHigh (7.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in tar-fs 1.16.4, 2.1.2, 3.0.7.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Ntar-fs (npm): fixed in 1.16.4, 2.1.2, 3.0.7Explain CVE-2024-12905 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-12905?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-12905?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-12905 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-pq67-2wwv-3xjx | npm | tar-fs | <1.16.4 | 1.16.4 |
| GHSA-pq67-2wwv-3xjx | npm | tar-fs | >=2.0.0 <2.1.2 | 2.1.2 |
| GHSA-pq67-2wwv-3xjx | npm | tar-fs | >=3.0.0 <3.0.7 | 3.0.7 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | node-tar-fs | 2.1.3-0+deb11u1 | DLA-4214-1 |
| Debian | 12 | node-tar-fs | 2.1.3-0+deb12u1 | DEBIAN-CVE-2024-12905 |
| Debian | 13, 14 | node-tar-fs | 3.0.8+~cs2.0.4-1 | DEBIAN-CVE-2024-12905 |
| Ubuntu | 25.10 | node-tar-fs | 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1 | USN-8367-1 |
| Ubuntu | Pro:22.04:LTS | node-tar-fs | 2.1.1-6ubuntu0.22.04.1~esm1 | UBUNTU-CVE-2024-12905 USN-8367-1 |
| Ubuntu | Pro:24.04:LTS | node-tar-fs | 2.1.1-6ubuntu0.24.04.1~esm1 | UBUNTU-CVE-2024-12905 USN-8367-1 |
| Azure Linux | 2 | reaper | 3.1.1-18 | AZL-59367 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
This vulnerability is rated as an important severity because it allows attackers to extract a malicious tar file that can write or overwrite files outside the intended directory. This occurs due to improper handling of link resolution and pathname limitations. The risk is high for systems that automatically extract tar files, as it can lead to data corruption or unauthorized file modifications without user interaction.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/pluginregistry-rhel9:3.20-6 | Fixed 2025-04-16 | RHSA-2025:3932 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/code-rhel9:3.21-5 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/configbump-rhel9:3.21-5 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/dashboard-rhel9:3.21-12 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/devspaces-operator-bundle:3.21-25 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/devspaces-rhel9-operator:3.21-6 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/imagepuller-rhel9:3.21-2 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/machineexec-rhel9:3.21-4 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/pluginregistry-rhel9:3.21-7 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/server-rhel9:3.21-11 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces-tech-preview/idea-rhel9:3.21-1 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces-tech-preview/jetbrains-ide-rhel9:3.21-3 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/traefik-rhel9:3.21-1 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/udi-base-rhel9:3.21-2 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat OpenShift Dev Spaces 3 Containers | devspaces/udi-rhel9:3.21-6 | Fixed 2025-05-28 | RHSA-2025:8244 |
| Red Hat Ceph Storage 7.1 | rhceph/rhceph-7-rhel9:1781863705 | Fixed 2026-06-29 | RHSA-2026:33154 |
| Red Hat Developer Hub 1.5 | rhdh/rhdh-hub-rhel9:1.5.2-1748495853 | Fixed 2025-06-04 | RHSA-2025:8540 |
| Red Hat Ceph Storage 7 | ceph | Affected | |
| Red Hat Ceph Storage 8 | ceph | Affected | |
| Red Hat Ceph Storage 9 | ceph | Affected | |
| 1 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-12905.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.