What’s Vulnerable › Vulnerabilities
CVE-2024-30254: Directory traversal allowing overwriting arbitrary files
- Severity: medium (CVSS 5.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-04 · updated 2026-06-17
- Weakness: CWE-22
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`.
Affected products
- JCWasmx86 mesonlsp: before 4.1.4 — fixed in 4.1.4
How to fix
Upgrade to a fixed version: JCWasmx86 mesonlsp 4.1.4. Check the vendor advisory for mitigations.
References
- https://github.com/JCWasmx86/mesonlsp/commit/594b6334061371911cd59389124ab8af30ce0a3a
- https://github.com/JCWasmx86/mesonlsp/security/advisories/GHSA-48c5-35fh-846h
- https://github.com/JCWasmx86/mesonlsp/commit/594b6334061371911cd59389124ab8af30ce0a3a
- https://github.com/JCWasmx86/mesonlsp/security/advisories/GHSA-48c5-35fh-846h
Get alerted when CVE-2024-30254 or the next vulnerability affects your stack