{"id":"CVE-2024-30254","published":"2024-04-04T19:00:42Z","modified":"2024-08-26T20:43:45Z","title":"Directory traversal allowing overwriting arbitrary files","vendor":"JCWasmx86","product":"mesonlsp","tier":"tail","description":{"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`.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00258,"percentile":0.10724,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/JCWasmx86/mesonlsp/security/advisories/GHSA-48c5-35fh-846h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/JCWasmx86/mesonlsp/commit/594b6334061371911cd59389124ab8af30ce0a3a","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":2.14},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"jcwasmx86","affectedVersions":[{"vendor":"JCWasmx86","product":"mesonlsp","versions":["< 4.1.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-04T20:03:25.558074Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-28181","exploited":false,"provenance":"source"}}