{"id":"CVE-2024-30254","aliases":["CVE-2024-30254"],"related":[],"kind":"vulnerability","state":"published","title":"Directory traversal allowing overwriting arbitrary files","summary":"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`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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`.","source":"cvelist"},{"lang":"es","text":"MesonLSP es un servidor de lenguaje no oficial y no respaldado para meson escrito en C++. Una vulnerabilidad en versiones anteriores a la 4.1.4 permite sobrescribir archivos arbitrarios si el atacante puede hacer que la víctima ejecute el servidor de idioma dentro de un proyecto manipulado específico o `mesonlsp --full`. La versión 4.1.4 contiene un parche para este problema. Como workaround, evite ejecutar `mesonlsp --full` y establezca la opción del servidor de idioma `others.neverDownloadAutomatically` en `true`.","source":"nvd"}],"published":"2024-04-04T19:00:42.227Z","modified":"2026-06-17T07:26:36.837Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 4.1.4","status":"affected"}],"vendor":"JCWasmx86","product":"mesonlsp","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"4.1.4","status":"affected"}],"vendor":"jcwasmx86","product":"mesonlsp","cpe":"cpe:2.3:a:jcwasmx86:mesonlsp:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://github.com/JCWasmx86/mesonlsp/security/advisories/GHSA-48c5-35fh-846h","tags":["x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/JCWasmx86/mesonlsp/commit/594b6334061371911cd59389124ab8af30ce0a3a","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-04-04T20:03:25.558Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-30254","url":"https://www.cve.org/CVERecord?id=CVE-2024-30254","licence":"CVE Terms of Use","modified":"2024-08-26T20:43:45.256Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-30254","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30254","licence":"Public domain","modified":"2026-06-17T07:26:36.837Z"}],"updatedAt":"2026-11-25T22:58:38.775Z","epss":{"score":0.00189,"percentile":0.0897,"date":"2026-12-01T12:00:22.000Z"}}