GitHub Advisoryadvisory · Maven

GHSA-wp79-cpv2-9g7m Arbitrary shell command execution in Jenkins EC2 Plugin

HIGH Published 2022-05-14 Modified 2024-01-30 Official page ↗
Aliases
CVE-2017-1000502
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:ec2
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
2024-01-30

Affected packages

• Maven org.jenkins-ci.plugins:ec2: < 1.38 → fixed in 1.38

Description

Users with permission to create or configure agents in Jenkins 1.37 and earlier could configure an EC2 agent to run arbitrary shell commands on the master node whenever the agent was supposed to be launched. Configuration of these agents now requires the 'Run Scripts' permission typically only granted to administrators.

Related

Alias · CVE (1)

  • CVE-2017-1000502 Users with permission to create or configure agents in Jenkins 1.37 and earlier could configure an EC2 agent to run arbitrary shell… vulnerability

Weakness · CWE (1)

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

References