7.5

CVE-2024-12905: code-server

Deferred
AliasesUBUNTU-CVE-2024-12905DEBIAN-CVE-2024-12905CGA-95xw-rfjq-5q5x
Published 27-03-2025Last modified 03-11-2025

Vulnerability summary

CVE-2024-12905 is a high (CVSS 7.5) vulnerability in code-server. EPSS estimates a 2.30% chance of exploitation in the next 30 days, higher than 83.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (exploit-database, 22-04-2025)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
2.30%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1exploit-database

Advisory lineage

Upstream 0 · Downstream 3 · Related 6

Timeline

  1. 27-03-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

2.30%

Chance of exploitation in the next 30 days

Percentile

84%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.30% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • exploit-databaselocallinuxUnverified

    tar-fs 3.0.0 - Arbitrary File Write/Overwrite

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard8 products
  • code-server< 4.105.1-r1
  • kibana-7< 7.17.28-r41
  • sqlpad< 7.5.3-r1
  • sqlpad-compat< 7.5.3-r1
  • tileserver-gl< 5.2.0-r1
Wolfi5 products
  • code-server< 4.105.1-r1
  • sqlpad< 7.5.3-r1
  • sqlpad-compat< 7.5.3-r1
  • tileserver-gl< 5.2.0-r1
  • tileserver-gl-compat< 5.2.0-r1
Debian1 product
  • node-tar-fs< 2.1.3-0+deb12u1 | < 3.0.8+~cs2.0.4-1
Npm1 product
  • tar-fs< 1.16.4 | ≥ 2.0.0, < 2.1.2 | ≥ 3.0.0, < 3.0.7
Ubuntu1 product
  • node-tar-fs< 2.1.1-6ubuntu0.22.04.1~esm1 | < 2.1.1-6ubuntu0.24.04.1~esm1

5 vendors · 16 products

References

13 links
Show all 13 references