GitHub Advisoryadvisory · Maven
GHSA-jmxr-w2jc-qp7w Promotion names in Jenkins promoted builds Plugin are not validated when using Job DSL
HIGH
Official page ↗
- Aliases
- CVE-2022-29049
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:promoted-builds
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20, CWE-79
- Reviewed
- 2022-04-22
Affected packages
• Maven org.jenkins-ci.plugins:promoted-builds: < 3.10.1 → fixed in 3.10.1
• Maven org.jenkins-ci.plugins:promoted-builds: >= 3.11, < 876.v99d29788b → fixed in 876.v99d29788b
Description
Jenkins promoted builds Plugin provides dedicated support for defining promotions using Job DSL Plugin.
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.
Related
Alias · CVE (1)
- CVE-2022-29049 Jenkins promoted builds Plugin 873.v6149db_d64130 and earlier, except 3.10.1, does not validate the names of promotions defined in Job DSL,… vulnerability