GHSA-p566-wpxx-574m

Suggest an improvement
Source
https://github.com/advisories/GHSA-p566-wpxx-574m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p566-wpxx-574m/GHSA-p566-wpxx-574m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p566-wpxx-574m
Aliases
  • CVE-2022-30951
Published
2022-05-18T00:00:40Z
Modified
2023-11-08T04:09:20.705030Z
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
Missing Authorization 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-02T14:58:43Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-862"
    ]
}
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