🛡️ CVE-2022-29049 — promoted-builds

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-20 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Promotion names in Jenkins promoted builds Plugin are not validated when using Job DSL

Jenkins promoted builds Plugin provides dedicated support for defining promotions using [Job DSL Plugin](https://plugins.jenkins.io/job-dsl).

promoted builds Plugin 873.v6149db_d64130 and earlier does not validate the names of promotions defined in Job DSL. This allows attackers with Job/Configure permission to create a promotion with an unsafe name. As a result, the promotion name could be used for cross-site scripting (XSS) or to replace other config.xml files.

promoted builds Plugin 876.v99d29788b_36b_ and 3.10.1 validates the name of promotions.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability none.

Weakness class

CVE-2022-29049 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.

Affected software

CVE-2022-29049 is recorded against 2 packages.

  • org.jenkins-ci.plugins:promoted-builds (from 3.11 up to 876.v99d29788b)
  • promoted-builds (from 867.v7c3a_b_83a_eb_79 up to 876.v99d29788b_36b_)

Timeline and source

Published on 13 April 2022 and last revised on 16 February 2024. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
www.jenkins.io (Web)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CWE CWE-20
Public Exploit ✅ No
Source NVD
Published 2022-04-13
Updated 2026-08-12
Modified 2024-02-16
Fix URL N/A

Affected Packages

Software From version Fixed in
org.jenkins-ci.plugins:promoted-builds 3.11 876.v99d29788b
promoted-builds 867.v7c3a_b_83a_eb_79 876.v99d29788b_36b_

Similar Threats

Site Security Check

Is promoted-builds part of your stack?

CVE-2022-29049 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.