Bug 2355460 (CVE-2024-12905) - CVE-2024-12905 tar-fs: link following and path traversal via maliciously crafted tar file
Summary: CVE-2024-12905 tar-fs: link following and path traversal via maliciously craf...
Keywords:
Status: NEW
Alias: CVE-2024-12905
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2355666 2389975 2389976 2355665 2355667 2355668 2355669 2393380
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-27 17:02 UTC by OSIDB Bzimport
Modified: 2025-09-04 21:46 UTC (History)
72 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:3932 0 None None None 2025-04-15 21:50:35 UTC
Red Hat Product Errata RHSA-2025:8244 0 None None None 2025-05-27 22:52:26 UTC

Description OSIDB Bzimport 2025-03-27 17:02:38 UTC
An Improper Link Resolution Before File Access ("Link Following") and Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal"). This vulnerability occurs when extracting a maliciously crafted tar file, which can result in unauthorized file writes or overwrites outside the intended extraction directory. The issue is associated with index.js in the tar-fs package.

This issue affects tar-fs: from 0.0.0 before 1.16.4, from 2.0.0 before 2.1.2, from 3.0.0 before 3.0.8.

Comment 2 errata-xmlrpc 2025-04-15 21:50:30 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Dev Spaces 3 Containers

Via RHSA-2025:3932 https://access.redhat.com/errata/RHSA-2025:3932

Comment 4 errata-xmlrpc 2025-05-27 22:52:21 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Dev Spaces 3 Containers

Via RHSA-2025:8244 https://access.redhat.com/errata/RHSA-2025:8244


Note You need to log in before you can comment on or make changes to this bug.