{"id":"CVE-2025-48387","aliases":["AZL-62236","DEBIAN-CVE-2025-48387","GHSA-8cj5-5rvv-wf4v","UBUNTU-CVE-2025-48387"],"summary":"tar-fs has issue where extract can write outside the specified dir with a specific tarball","published_at":"2025-06-02T19:20:18.22Z","modified_at":"2026-09-10T03:50:24.933003Z","products":[],"rating":{"severity":"high","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005789999850094318,"percentile":0.4844299852848053,"date":"2026-11-19T00:00:00Z"},"priority":10.7,"details":"tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.","affected_stack":[],"affected_other":[{"ecosystem":"Azure Linux:2","package":"reaper","purl":"pkg:rpm/azure-linux/reaper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-19"}]}],"fixed":["3.1.1-19"],"provider":"osv","source":"AZL-62236","relation":"self"},{"ecosystem":"CVE","package":"mafintosh/tar-fs","versions":["< 1.16.5",">= 2.0.0, < 2.1.3",">= 3.0.0, < 3.0.9"],"provider":"cvelistv5","source":"CVE-2025-48387","relation":"self"},{"ecosystem":"Debian:11","package":"node-tar-fs","purl":"pkg:deb/debian/node-tar-fs?arch=source&distro=bullseye","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.3-0+deb11u1"}]}],"versions":["2.1.1-2","2.1.1-3","2.1.1-4","2.1.1-6"],"fixed":["2.1.3-0+deb11u1"],"provider":"osv","source":"DLA-4214-1","relation":"upstream"},{"ecosystem":"Debian:12","package":"node-tar-fs","purl":"pkg:deb/debian/node-tar-fs?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.3-0+deb12u1"}]}],"versions":["2.1.1-6"],"fixed":["2.1.3-0+deb12u1"],"provider":"osv","source":"DEBIAN-CVE-2025-48387","relation":"self"},{"ecosystem":"Debian:13","package":"node-tar-fs","purl":"pkg:deb/debian/node-tar-fs?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.9+~cs2.0.4-1"}]}],"fixed":["3.0.9+~cs2.0.4-1"],"provider":"osv","source":"DEBIAN-CVE-2025-48387","relation":"self"},{"ecosystem":"Debian:14","package":"node-tar-fs","purl":"pkg:deb/debian/node-tar-fs?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.9+~cs2.0.4-1"}]}],"fixed":["3.0.9+~cs2.0.4-1"],"provider":"osv","source":"DEBIAN-CVE-2025-48387","relation":"self"},{"ecosystem":"TuxCare:npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.1-tuxcare.0"},{"fixed":"1.5.1-tuxcare.1"}]}],"versions":["1.5.1"],"fixed":["1.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1774484497","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.4-tuxcare.0"},{"fixed":"3.0.4-tuxcare.1"}]}],"versions":["3.0.4"],"fixed":["3.0.4-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1788560472","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.1-tuxcare.0"},{"fixed":"2.1.1-tuxcare.1"}]}],"versions":["2.1.1"],"fixed":["2.1.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1790963499","relation":"upstream"},{"ecosystem":"Ubuntu:25.10","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1"}]}],"versions":["2.1.1-6","3.0.8+~cs2.0.4-1","3.0.9+~cs2.0.4-1"],"fixed":["3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1"],"provider":"osv","source":"USN-8367-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-6ubuntu0.22.04.1~esm1"}]}],"versions":["2.1.1-2","2.1.1-4","2.1.1-6"],"fixed":["2.1.1-6ubuntu0.22.04.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2025-48387","relation":"self"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-6ubuntu0.22.04.1~esm1"}]}],"versions":["2.1.1-2","2.1.1-4","2.1.1-6"],"fixed":["2.1.1-6ubuntu0.22.04.1~esm1"],"provider":"osv","source":"USN-8367-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-6ubuntu0.24.04.1~esm1"}]}],"versions":["2.1.1-6"],"fixed":["2.1.1-6ubuntu0.24.04.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2025-48387","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-6ubuntu0.24.04.1~esm1"}]}],"versions":["2.1.1-6"],"fixed":["2.1.1-6ubuntu0.24.04.1~esm1"],"provider":"osv","source":"USN-8367-1","relation":"upstream"},{"ecosystem":"npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.0.9"}]}],"fixed":["3.0.9"],"provider":"osv","source":"GHSA-8cj5-5rvv-wf4v","relation":"self"},{"ecosystem":"npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.1.3"}]}],"fixed":["2.1.3"],"provider":"osv","source":"GHSA-8cj5-5rvv-wf4v","relation":"self"},{"ecosystem":"npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.5"}]}],"fixed":["1.16.5"],"provider":"osv","source":"GHSA-8cj5-5rvv-wf4v","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"affected","packages":["openshift-pipelines/pipelines-hub-api-rhel8","openshift-pipelines/pipelines-hub-db-migration-rhel8","openshift-pipelines/pipelines-hub-ui-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"not_affected","packages":["rhdh/rhdh-rhel9-operator"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.5","cpe":"cpe:/a:redhat:rhdh:1.5::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:10992"],"provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.5","cpe":"cpe:/a:redhat:rhdh:1.5::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.6","cpe":"cpe:/a:redhat:rhdh:1.6::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:9966"],"provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.6","cpe":"cpe:/a:redhat:rhdh:1.6::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.7","cpe":"cpe:/a:redhat:rhdh:1.7::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:14090"],"provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.7","cpe":"cpe:/a:redhat:rhdh:1.7::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"affected","packages":["io.syndesis-syndesis-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8","status":"not_affected","packages":["org.keycloak-keycloak-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["org.keycloak-keycloak-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-dashboard-rhel8","rhoai/odh-rhel8-operator","rhods/odh-rhel8-operator"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/pluginregistry-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces/code-rhel8","devspaces/pluginregistry-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces (RHOSDS) 3.23","cpe":"cpe:/a:redhat:openshift_devspaces:3.23::el9","status":"fixed","packages":["devspaces"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:15847"],"provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces (RHOSDS) 3.23","cpe":"cpe:/a:redhat:openshift_devspaces:3.23::el9","status":"not_affected","packages":["devspaces","devspaces-tech-preview"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2025-1420","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-1420","license":"TLP:CLEAR, mirroring permitted","published_at":"2025-06-29T22:00:00Z","modified_at":"2025-10-12T22:00:00Z","summary":"IBM App Connect Enterprise: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in IBM App Connect Enterprise ausnutzen, um Dateien zu manipulieren, und um einen Denial of Service Angriff durchzuführen.\n\nIBM App Connect Enterprise kombiniert die branchenbewährten Technologien des IBM Integration Bus mit Cloud-nativen Technologien.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2025-1420"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1420.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-1420"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7238364"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7240500"},{"type":"WEB","url":"https://support.hcl-software.com/community?id=community_blog&sys_id=7e13ad453becfa94cb0155f726e45a99"}]},{"provider":"osv","source_id":"CLSA-2026-1774484497","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1774484497","published_at":"2026-08-04T14:52:15Z","modified_at":"2026-10-15T09:47:03.625091Z","summary":"TuxCare security update for tar-fs (5 CVEs)","details":"TuxCare rebuilt tar-fs to address 5 CVEs. Fixed in 1.5.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.5.1-tuxcare.0"},{"fixed":"1.5.1-tuxcare.1"}]}],"versions":["1.5.1"],"fixed":["1.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1774484497","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1788560472","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1788560472","published_at":"2026-09-04T22:21:12Z","modified_at":"2026-10-15T09:48:03.105068Z","summary":"TuxCare security update for tar-fs (3 CVEs)","details":"TuxCare rebuilt tar-fs to address 3 CVEs. Fixed in 3.0.4-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.4-tuxcare.0"},{"fixed":"3.0.4-tuxcare.1"}]}],"versions":["3.0.4"],"fixed":["3.0.4-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1788560472","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1790963499","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1790963499","published_at":"2026-10-02T17:51:39Z","modified_at":"2026-10-15T09:47:58.002826Z","summary":"TuxCare security update for tar-fs (3 CVEs)","details":"TuxCare rebuilt tar-fs to address 3 CVEs. Fixed in 2.1.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.1-tuxcare.0"},{"fixed":"2.1.1-tuxcare.1"}]}],"versions":["2.1.1"],"fixed":["2.1.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1790963499","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DLA-4214-1","relation":"upstream","url":"https://osv.dev/vulnerability/DLA-4214-1","published_at":"2025-06-11T00:00:00Z","modified_at":"2026-11-20T01:18:59.663697Z","summary":"node-tar-fs - security update","severity":[],"affected":[{"ecosystem":"Debian:11","package":"node-tar-fs","purl":"pkg:deb/debian/node-tar-fs?arch=source&distro=bullseye","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.3-0+deb11u1"}]}],"versions":["2.1.1-2","2.1.1-3","2.1.1-4","2.1.1-6"],"fixed":["2.1.3-0+deb11u1"],"provider":"osv","source":"DLA-4214-1","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"USN-8367-1","relation":"upstream","url":"https://osv.dev/vulnerability/USN-8367-1","license":"CC-BY-SA-4.0","published_at":"2026-06-02T13:00:16Z","modified_at":"2026-06-02T18:33:02.168695Z","summary":"node-tar-fs vulnerabilities","details":"It was discovered that tar-fs did not properly limit paths when\nextracting crafted tar files. An attacker could possibly use this\nissue to write or overwrite files outside the intended extraction\ndirectory. This issue only affected Ubuntu 22.04 LTS and Ubuntu\n24.04 LTS. (CVE-2024-12905)\n\nIt was discovered that tar-fs did not properly validate extraction\npaths for certain crafted tar archives. An attacker could possibly\nuse this issue to write files outside the intended extraction\ndirectory. This issue only affected Ubuntu 22.04 LTS and Ubuntu\n24.04 LTS. (CVE-2025-48387)\n\nIt was discovered that tar-fs had a symlink validation bypass when\nextracting crafted tar files. An attacker could possibly use this\nissue to write files outside the intended extraction directory.\n(CVE-2025-59343)","severity":[],"affected":[{"ecosystem":"Ubuntu:25.10","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1"}]}],"versions":["2.1.1-6","3.0.8+~cs2.0.4-1","3.0.9+~cs2.0.4-1"],"fixed":["3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1"],"provider":"osv","source":"USN-8367-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-6ubuntu0.22.04.1~esm1"}]}],"versions":["2.1.1-2","2.1.1-4","2.1.1-6"],"fixed":["2.1.1-6ubuntu0.22.04.1~esm1"],"provider":"osv","source":"USN-8367-1","relation":"upstream"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-6ubuntu0.24.04.1~esm1"}]}],"versions":["2.1.1-6"],"fixed":["2.1.1-6ubuntu0.24.04.1~esm1"],"provider":"osv","source":"USN-8367-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8367-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-12905"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-48387"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-59343"}]},{"provider":"cvelistv5","source_id":"CVE-2025-48387","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-48387","license":"CC-BY-4.0","published_at":"2025-06-02T19:20:18.22Z","modified_at":"2025-11-03T20:04:45.253Z","summary":"tar-fs has issue where extract can write outside the specified dir with a specific tarball","details":"tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","source":"CVE-2025-48387"}],"affected":[{"ecosystem":"CVE","package":"mafintosh/tar-fs","versions":["< 1.16.5",">= 2.0.0, < 2.1.3",">= 3.0.0, < 3.0.9"],"provider":"cvelistv5","source":"CVE-2025-48387","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v"},{"type":"WEB","url":"https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w"},{"type":"WEB","url":"https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f"}]},{"provider":"osv","source_id":"AZL-62236","relation":"self","url":"https://osv.dev/vulnerability/AZL-62236","license":"MIT","published_at":"2025-06-02T20:15:22Z","modified_at":"2026-04-21T04:31:58.423333Z","summary":"CVE-2025-48387 affecting package reaper for versions less than 3.1.1-19","details":"tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.","severity":[],"affected":[{"ecosystem":"Azure Linux:2","package":"reaper","purl":"pkg:rpm/azure-linux/reaper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-19"}]}],"fixed":["3.1.1-19"],"provider":"osv","source":"AZL-62236","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48387"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2025-48387","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2025-48387","published_at":"2025-06-02T20:15:22.93Z","modified_at":"2026-09-01T20:03:35.778122Z","details":"tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/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","source":"DEBIAN-CVE-2025-48387"}],"affected":[{"ecosystem":"Debian:12","package":"node-tar-fs","purl":"pkg:deb/debian/node-tar-fs?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.3-0+deb12u1"}]}],"versions":["2.1.1-6"],"fixed":["2.1.3-0+deb12u1"],"provider":"osv","source":"DEBIAN-CVE-2025-48387","relation":"self"},{"ecosystem":"Debian:13","package":"node-tar-fs","purl":"pkg:deb/debian/node-tar-fs?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.9+~cs2.0.4-1"}]}],"fixed":["3.0.9+~cs2.0.4-1"],"provider":"osv","source":"DEBIAN-CVE-2025-48387","relation":"self"},{"ecosystem":"Debian:14","package":"node-tar-fs","purl":"pkg:deb/debian/node-tar-fs?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.9+~cs2.0.4-1"}]}],"fixed":["3.0.9+~cs2.0.4-1"],"provider":"osv","source":"DEBIAN-CVE-2025-48387","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-48387"}]},{"provider":"osv","source_id":"GHSA-8cj5-5rvv-wf4v","relation":"self","url":"https://osv.dev/vulnerability/GHSA-8cj5-5rvv-wf4v","license":"CC-BY-4.0","published_at":"2025-06-03T06:14:25Z","modified_at":"2026-09-10T03:50:24.933003Z","summary":"tar-fs can extract outside the specified dir with a specific tarball","details":"### Impact\n v3.0.8, v2.1.2, v1.16.4 and below\n\n### Patches\nHas been patched in 3.0.9, 2.1.3, and 1.16.5\n\n### Workarounds\nYou can use the ignore option to ignore non files/directories.\n\n```js\n  ignore (_, header) {\n    // pass files & directories, ignore e.g. symlinks\n    return header.type !== 'file' && header.type !== 'directory'\n  }\n```\n\n### Credit\nThank you Caleb Brown from Google Open Source Security Team for reporting this in detail.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","source":"GHSA-8cj5-5rvv-wf4v"}],"affected":[{"ecosystem":"npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.0.9"}]}],"fixed":["3.0.9"],"provider":"osv","source":"GHSA-8cj5-5rvv-wf4v","relation":"self"},{"ecosystem":"npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.1.3"}]}],"fixed":["2.1.3"],"provider":"osv","source":"GHSA-8cj5-5rvv-wf4v","relation":"self"},{"ecosystem":"npm","package":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.16.5"}]}],"fixed":["1.16.5"],"provider":"osv","source":"GHSA-8cj5-5rvv-wf4v","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w"},{"type":"WEB","url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48387"},{"type":"WEB","url":"https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f"},{"type":"PACKAGE","url":"https://github.com/mafintosh/tar-fs"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2025-48387","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2025-48387","license":"CC-BY-SA-4.0","published_at":"2025-06-02T20:15:00Z","modified_at":"2026-06-02T18:15:28.966364Z","details":"tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","source":"UBUNTU-CVE-2025-48387"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2025-48387"}],"affected":[{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-6ubuntu0.22.04.1~esm1"}]}],"versions":["2.1.1-2","2.1.1-4","2.1.1-6"],"fixed":["2.1.1-6ubuntu0.22.04.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2025-48387","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"node-tar-fs","purl":"pkg:deb/ubuntu/node-tar-fs?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-6ubuntu0.24.04.1~esm1"}]}],"versions":["2.1.1-6"],"fixed":["2.1.1-6ubuntu0.24.04.1~esm1"],"provider":"osv","source":"UBUNTU-CVE-2025-48387","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-48387"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-48387"},{"type":"REPORT","url":"https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f"},{"type":"REPORT","url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8367-1"}]},{"provider":"redhat-vex","source_id":"CVE-2025-48387","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-48387","license":"CC-BY-4.0","published_at":"2025-06-02T19:20:18.22Z","modified_at":"2026-05-12T11:07:32Z","summary":"tar-fs: tar-fs has issue where extract can write outside the specified dir with a specific tarball","details":"A flaw was found in tar-fs. This vulnerability allows files to be written outside the intended extraction directory via specially crafted tar archives. The issue arises from insufficient path validation during tarball extraction, potentially enabling path traversal attacks that can overwrite arbitrary files on the system.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CVE-2025-48387"},{"type":"Red Hat","score":"Important","source":"CVE-2025-48387"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Pipelines","cpe":"cpe:/a:redhat:openshift_pipelines:1","status":"affected","packages":["openshift-pipelines/pipelines-hub-api-rhel8","openshift-pipelines/pipelines-hub-db-migration-rhel8","openshift-pipelines/pipelines-hub-ui-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"affected","packages":["openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"not_affected","packages":["rhdh/rhdh-rhel9-operator"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.5","cpe":"cpe:/a:redhat:rhdh:1.5::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:10992"],"provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.5","cpe":"cpe:/a:redhat:rhdh:1.5::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.6","cpe":"cpe:/a:redhat:rhdh:1.6::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:9966"],"provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.6","cpe":"cpe:/a:redhat:rhdh:1.6::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.7","cpe":"cpe:/a:redhat:rhdh:1.7::el9","status":"fixed","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:14090"],"provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1.7","cpe":"cpe:/a:redhat:rhdh:1.7::el9","status":"not_affected","packages":["rhdh"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat Fuse 7","cpe":"cpe:/a:redhat:jboss_fuse:7","status":"affected","packages":["io.syndesis-syndesis-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8","status":"not_affected","packages":["org.keycloak-keycloak-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["org.keycloak-keycloak-parent"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-dashboard-rhel8","rhoai/odh-rhel8-operator","rhods/odh-rhel8-operator"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/pluginregistry-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"not_affected","packages":["devspaces/code-rhel8","devspaces/pluginregistry-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces (RHOSDS) 3.23","cpe":"cpe:/a:redhat:openshift_devspaces:3.23::el9","status":"fixed","packages":["devspaces"],"package_count":1,"fixed":[],"advisories":["RHSA-2025:15847"],"provider":"redhat-vex","source":"CVE-2025-48387"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces (RHOSDS) 3.23","cpe":"cpe:/a:redhat:openshift_devspaces:3.23::el9","status":"not_affected","packages":["devspaces","devspaces-tech-preview"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-48387"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-48387.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-48387"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2369875"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-48387"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48387"},{"type":"WEB","url":"https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f"},{"type":"WEB","url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v"}]}],"references":[{"type":"WEB","url":"https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v"},{"type":"WEB","url":"https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w"},{"type":"WEB","url":"https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48387"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-48387"},{"type":"PACKAGE","url":"https://github.com/mafintosh/tar-fs"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-48387"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-48387"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8367-1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-48387.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-48387"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2369875"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2025-1420","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-1420","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-10-12T22:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1774484497","url":"https://osv.dev/vulnerability/CLSA-2026-1774484497","modified_at":"2026-10-15T09:47:03.625091Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1788560472","url":"https://osv.dev/vulnerability/CLSA-2026-1788560472","modified_at":"2026-10-15T09:48:03.105068Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1790963499","url":"https://osv.dev/vulnerability/CLSA-2026-1790963499","modified_at":"2026-10-15T09:47:58.002826Z","relation":"upstream"},{"provider":"osv","source_id":"DLA-4214-1","url":"https://osv.dev/vulnerability/DLA-4214-1","modified_at":"2026-11-20T01:18:59.663697Z","relation":"upstream"},{"provider":"osv","source_id":"USN-8367-1","url":"https://osv.dev/vulnerability/USN-8367-1","license":"CC-BY-SA-4.0","modified_at":"2026-06-02T18:33:02.168695Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2025-48387","url":"https://www.cve.org/CVERecord?id=CVE-2025-48387","license":"CC-BY-4.0","modified_at":"2025-11-03T20:04:45.253Z","relation":"self"},{"provider":"osv","source_id":"AZL-62236","url":"https://osv.dev/vulnerability/AZL-62236","license":"MIT","modified_at":"2026-04-21T04:31:58.423333Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2025-48387","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2025-48387","modified_at":"2026-09-01T20:03:35.778122Z","relation":"self"},{"provider":"osv","source_id":"GHSA-8cj5-5rvv-wf4v","url":"https://osv.dev/vulnerability/GHSA-8cj5-5rvv-wf4v","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:24.933003Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2025-48387","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2025-48387","license":"CC-BY-SA-4.0","modified_at":"2026-06-02T18:15:28.966364Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-48387","url":"https://access.redhat.com/security/cve/CVE-2025-48387","license":"CC-BY-4.0","modified_at":"2026-05-12T11:07:32Z","relation":"self"}]}
