# CVE-2022-29049: Promotion names in Jenkins promoted builds Plugin are not validated when using Job DSL

Source: https://junglewise.ai/threats/cve-2022-29049-promotion-names-in-jenkins-promoted-builds-plugin-are-not  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-04-13  
License: CC BY 4.0 with a link back

CVE-2022-29049 · Severity: low · CVSS 3.1 · Published 2022-04-13

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

Technologies: [org.jenkins-ci.plugins:promoted-builds (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-promoted-builds). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-29049 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-29049 being exploited in the wild.

**How severe is CVE-2022-29049?** Low severity, with a CVSS score of 3.1, published 13 April 2022.

**Which products and versions are affected?** org.jenkins-ci.plugins:promoted-builds (Maven) ECOSYSTEM:introduced=0,fixed=3.10.1.

**Is there a fix for CVE-2022-29049?** Yes. org.jenkins-ci.plugins:promoted-builds (Maven): upgrade to 3.10.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-29049?** Check whether you run org.jenkins-ci.plugins:promoted-builds (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:promoted-builds (Maven): upgrade to 3.10.1 or later

  ```sh
  # set org.jenkins-ci.plugins:promoted-builds to 3.10.1 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:promoted-builds (Maven) ECOSYSTEM:introduced=0,fixed=3.10.1

## Identifiers

- CVE-2022-29049
- GHSA-jmxr-w2jc-qp7w

## Related threats

- [CSRF vulnerability in Jenkins promoted builds Plugin](https://junglewise.ai/threats/cve-2021-21641-csrf-vulnerability-in-jenkins-promoted-builds-plugin)
- [Jenkins Promoted Builds Plugin allowed unauthorized users to run some promotion processes](https://junglewise.ai/threats/cve-2018-1000114-jenkins-promoted-builds-plugin-allowed-unauthorized-users-to)
- [Stored Cross-site Scripting vulnerability in Jenkins Promoted Builds Plugin](https://junglewise.ai/threats/cve-2022-29045-stored-cross-site-scripting-vulnerability-in-jenkins-promoted)
