{"id":"CVE-2024-30254","summary":"Directory traversal allowing overwriting arbitrary files","details":"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","aliases":["GHSA-48c5-35fh-846h"],"modified":"2026-04-16T04:13:03.748035Z","published":"2024-04-04T19:00:42.227Z","database_specific":{"cwe_ids":["CWE-22"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/30xxx/CVE-2024-30254.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/30xxx/CVE-2024-30254.json"},{"type":"ADVISORY","url":"https://github.com/JCWasmx86/mesonlsp/security/advisories/GHSA-48c5-35fh-846h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-30254"},{"type":"FIX","url":"https://github.com/JCWasmx86/mesonlsp/commit/594b6334061371911cd59389124ab8af30ce0a3a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jcwasmx86/mesonlsp","events":[{"introduced":"0"},{"fixed":"594b6334061371911cd59389124ab8af30ce0a3a"}]},{"type":"GIT","repo":"https://github.com/jcwasmx86/mesonlsp","events":[{"introduced":"0"},{"fixed":"594b6334061371911cd59389124ab8af30ce0a3a"}]}],"versions":["v1.0","v1.1","v1.2","v1.2.1","v1.3","v1.4","v1.4.1","v1.5","v1.5.1","v1.6","v2.0","v2.1","v2.2","v2.3","v2.3.1","v2.3.10","v2.3.11","v2.3.12","v2.3.13","v2.3.14","v2.3.15","v2.3.2","v2.3.3","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4","v2.4.1","v2.4.2","v2.4.3","v2.4.4","v3.0.0","v3.0.1","v3.0.10","v3.0.11","v3.0.12","v3.0.13","v3.0.14","v3.0.15","v3.0.16","v3.0.17","v3.0.18","v3.0.19","v3.0.2","v3.0.20","v3.0.21","v3.0.22","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.0.7","v3.0.8","v3.0.9","v3.1.0","v3.1.1","v3.1.2","v3.1.3","v3.1.4","v4.0.0","v4.0.1","v4.0.2","v4.0.3","v4.0.4","v4.0.5","v4.1.0","v4.1.1","v4.1.2","v4.1.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-30254.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L"}]}