CVE-2024-30254

Directory traversal allowing overwriting arbitrary files

State
Published
Severity
5.8 Medium
Published
Apr 4, 2024
Updated
Aug 26, 2024
Reserved
Mar 26, 2024

Read the record on cve.org

Description

MesonLSP is an unofficial, unendorsed language server for meson written in C++. A vulnerability in versions prior to 4.1.4 allows overwriting arbitrary files if the attacker can make the victim either run the language server within a specific crafted project or `mesonlsp --full`. Version 4.1.4 contains a patch for this issue. As a workaround, avoid running `mesonlsp --full` and set the language server option `others.neverDownloadAutomatically` to `true`.

Scores

CVSSScoreVectorSource
3.15.8 MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:LGitHub_M

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
mesonlspJCWasmx86
  • < 4.1.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.