CVE-2014-2058:
Jenkins allows attackers to execute arbitrary jobs
6.5
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
-
Published
5/17/2022
Updated
3/5/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.jenkins-ci.main:jenkins-core | maven | >= 1.533, < 1.551 | 1.551 |
org.jenkins-ci.main:jenkins-core | maven | < 1.532.2 | 1.532.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the pre-patch code in AbstractProject.java where BuildTrigger's getChildProjects() was called without SYSTEM impersonation. This allowed attackers to manipulate job configurations to reference downstream projects they couldn't see (due to ACLs), as the project resolution used the attacker's permissions. The subsequent BUILD permission check was ineffective because the visibility check had already failed. The fix (adding SYSTEM impersonation during project resolution) confirms this was the root cause, as it ensures downstream project existence is verified with full privileges before checking user-specific BUILD permissions.