GHSA-xhw3-wmx2-76wf

Suggest an improvement
Source
https://github.com/advisories/GHSA-xhw3-wmx2-76wf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xhw3-wmx2-76wf/GHSA-xhw3-wmx2-76wf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xhw3-wmx2-76wf
Aliases
  • CVE-2022-30950
Published
2022-05-18T00:00:39Z
Modified
2023-11-08T04:09:20.643500Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Buffer overflow in Jenkins WMI Windows Agents plugin
Details

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.

Database specific
{
    "nvd_published_at": "2022-05-17T15:15:00Z",
    "github_reviewed_at": "2022-06-02T15:50:29Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-120"
    ]
}
References

Affected packages

Maven / org.jenkins-ci.plugins:windows-slaves

Package

Name
org.jenkins-ci.plugins:windows-slaves
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/windows-slaves

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.1

Affected versions

1.*

1.0
1.1
1.2
1.3
1.3.1
1.4
1.5
1.6
1.7
1.8