CVE-2016-3721 Jenkins allows Remote Users to Inject Build Parameters
Authenticated users can inject build parameters into the environment, potentially leading to arbitrary code execution on the Jenkins server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-3721?
CVE-2016-3721 is a medium-severity code injection vulnerability in Jenkins Jenkins, published on 17 May 2016. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins before 2.3 and LTS before 1.651.2 might allow remote authenticated users to inject arbitrary build parameters into the build environment via environment variables.
Weakness: CWE-17
Which versions are affected by CVE-2016-3721?
4 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.main:jenkins-core Maven | All versions | 1.651.2 |
org.jenkins-ci.main:jenkins-core Maven | All versions | 1.651.2 |
org.jenkins-ci.main:jenkins-core Maven | From 1.660 | 2.3 |
org.jenkins-ci.main:jenkins-core Maven | From 1.660 | 2.3 |
Products include Jenkins Jenkins, Redhat Openshift.
How do I fix CVE-2016-3721?
Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 1.651.2 or 2.3.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2016-3721 being exploited?
There is no known exploitation of CVE-2016-3721 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Jenkins
- CVE-2024-23897 Jenkins Command Line Interface (CLI) Path Traversal
- CVE-2018-1000861 Jenkins Stapler Web Framework Deserialization of Untrusted Data
- CVE-2017-1000353 Jenkins Remote Code Execution
- CVE-2015-5317 Jenkins User Interface (UI) Information Disclosure
- CVE-2021-21690 Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins
Sources
Also known as GHSA-qf2h-h3xq-j93j.