GitHub Advisoryadvisory · Maven

GHSA-xhw3-wmx2-76wf Buffer overflow in Jenkins WMI Windows Agents plugin

MEDIUM Published 2022-05-18 Modified 2022-12-02 Official page ↗
Aliases
CVE-2022-30950
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:windows-slaves
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-120
Reviewed
2022-06-02

Affected packages

• Maven org.jenkins-ci.plugins:windows-slaves: < 1.8.1 → fixed in 1.8.1

Description

WMI Windows Agents Plugin 1.8 and earlier includes the Windows Remote Command library. It provides a general-purpose remote command execution capability that Jenkins uses to check if Java is available, and if not, to install it. This library has a buffer overflow vulnerability that may allow users able to connect to a named pipe to execute commands on the Windows agent machine. Additionally, while the processes are started as the user who connects to the named pipe, no access control takes place, potentially allowing users to start processes even if they’re not allowed to log in. WMI Windows Agents Plugin 1.8.1 no longer includes the Windows Remote Command library. A Java runtime is expected to be available on agent machines and WMI Windows Agents Plugin 1.8.1 does not install a JDK automatically otherwise.

Related

Alias · CVE (1)

  • CVE-2022-30950 Jenkins WMI Windows Agents Plugin 1.8 and earlier includes the Windows Remote Command library which has a buffer overflow vulnerability… vulnerability

Weakness · CWE (1)

  • CWE-120 Buffer Copy without Checking Size of Input weakness

References