Description
XMLLanguageService.java in XML Language Server (aka lsp4xml) before 0.9.1, as used in Red Hat XML Language Support (aka vscode-xml) before 0.9.1 for Visual Studio and other products, allows a remote attacker to write to arbitrary files via Directory Traversal.
Remediation
References
https://github.com/angelozerr/lsp4xml/
https://github.com/angelozerr/lsp4xml/blob/master/CHANGELOG.md#others
https://github.com/angelozerr/lsp4xml/pull/567
https://github.com/redhat-developer/vscode-xml/
https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml
https://www.shielder.it/blog/dont-open-that-xml-xxe-to-rce-in-xml-plugins-for-vs-code-eclipse-theia/
Related Vulnerabilities
CVE-2017-16008 Vulnerability in maven package org.webjars.bower:i18next
CVE-2021-29479 Vulnerability in maven package io.ratpack:ratpack-core
CVE-2018-11775 Vulnerability in maven package org.apache.activemq:activemq-broker
CVE-2019-17570 Vulnerability in maven package org.apache.xmlrpc:xmlrpc
CVE-2017-5651 Vulnerability in maven package org.apache.tomcat:tomcat-coyote