GitHub Advisoryadvisory · Maven

GHSA-j472-mcq2-95p6 OS Command Injection in Jenkins

HIGH Published 2022-05-14 Modified 2022-07-01 Official page ↗
Aliases
CVE-2017-1000393
Ecosystem
Maven
Packages
org.jenkins-ci.main:jenkins-core
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2022-07-01

Affected packages

• Maven org.jenkins-ci.main:jenkins-core: < 2.73.2 → fixed in 2.73.2 • Maven org.jenkins-ci.main:jenkins-core: >= 2.74, < 2.84 → fixed in 2.84

Description

Jenkins 2.73.1 and earlier, 2.83 and earlier users with permission to create or configure agents in Jenkins could configure a launch method called 'Launch agent via execution of command on master'. This allowed them to run arbitrary shell commands on the master node whenever the agent was supposed to be launched. Configuration of this launch method now requires the Run Scripts permission typically only granted to administrators.

Related

Alias · CVE (1)

  • CVE-2017-1000393 Jenkins 2.73.1 and earlier, 2.83 and earlier users with permission to create or configure agents in Jenkins could configure a launch method… vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References