CVE-2022-25175: OS Command Injection

Published Feb 15, 2022
·
Updated

A flaw was found in Jenkins. The Pipeline: Multibranch uses the same checkout directories for distinct SCMs for the readTrusted step. This flaw allows attackers with item/configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.This allows attackers to compromise confidentiality, integrity, and availability.

Other sources

Jenkins Pipeline: Multibranch Plugin 706.vd43c65dec013 and earlier uses distinct checkout directories per SCM for the readTrusted step, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

Jenkins Pipeline: Multibranch Plugin 706.vd43c65dec013 and earlier uses the same checkout directories for distinct SCMs for the readTrusted step, allowing attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

Pipeline: Multibranch 706.vd43c65dec013 and earlier uses the same checkout directories for distinct SCMs for the readTrusted step. This allows attackers with Item/Configure permission to invoke arbitrary OS commands on the controller through crafted SCM contents.

References:

https://www.jenkins.io/security/advisory/2022-02-15/

Red Hat

Affected Software

8 affected componentsFixes available
redhat/jenkins<2-plugins-0:3.11.1650371376-1.el7
2-plugins-0:3.11.1650371376-1.el7
redhat/jenkins<2-plugins-0:4.10.1647505461-1.el8
2-plugins-0:4.10.1647505461-1.el8
redhat/jenkins<2-plugins-0:4.6.1650364520-1.el8
2-plugins-0:4.6.1650364520-1.el8
redhat/jenkins<2-plugins-0:4.7.1648800585-1.el8
2-plugins-0:4.7.1648800585-1.el8
redhat/jenkins<2-plugins-0:4.8.1646993358-1.el8
2-plugins-0:4.8.1646993358-1.el8
redhat/jenkins<2-plugins-0:4.9.1647580879-1.el8
2-plugins-0:4.9.1647580879-1.el8
maven/org.jenkins-ci.plugins.workflow:workflow-multibranch<=706.vd43c65dec013
707.v71c3f0a_6ccdb
Jenkins Pipeline\<=706.vd43c65dec013

Event History

Feb 15, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Feb 16, 2022
Advisory Published
12:01 AM
Feb 17, 2022
Data Sourced
via Red Hat·03:10 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-25175?

CVE-2022-25175 has been rated as a high severity vulnerability due to its potential for remote code execution by attackers with specific permissions.

2

How do I fix CVE-2022-25175?

To fix CVE-2022-25175, ensure you update Jenkins and the affected workflow-multibranch plugin to the latest recommended versions.

3

What systems are affected by CVE-2022-25175?

CVE-2022-25175 affects Jenkins installations with the Pipeline: Multibranch feature that utilize shared checkout directories.

4

Who can exploit CVE-2022-25175?

CVE-2022-25175 can be exploited by authenticated users who have 'item/configure' permissions on the Jenkins system.

5

What are the potential impacts of CVE-2022-25175?

The potential impacts of CVE-2022-25175 include execution of arbitrary OS commands on the Jenkins controller, leading to unauthorized access and control.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203