Remote code execution in Spring Tools 4 extensions for Eclipse and VSCode



Published: 2023-05-31
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-31691
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Spring Tools 4 for Eclipse
Universal components / Libraries / Software for developers

Cloudfoundry Manifest YML Support for VSCode
Universal components / Libraries / Software for developers

Bosh Editor for VSCode
Universal components / Libraries / Software for developers

Vendor Spring

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Code Injection

EUVDB-ID: #VU76705

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-31691

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when processing YAML filers. A remote attacker can pass a specially crafted YAML file to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Spring Tools 4 for Eclipse: 4.0.0 - 4.16.0

Cloudfoundry Manifest YML Support for VSCode: 1.18.0 - 1.39.0

Bosh Editor for VSCode: 1.18.0 - 1.39.0

CPE2.3 External links

http://tanzu.vmware.com/security/cve-2022-31691
http://spring.io/security/cve-2022-31691


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###