CVE-2012-6072: Jenkins core Jenkins Allows HTTP Injection And Vulnerability
MODERATECVE-2012-6072 is a MODERATE jenkins allows http injection and vulnerability (CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')) affecting Jenkins core libraries in the Maven ecosystem. The issue involves jenkins allows http injection and response splitting. Remediation is available by upgrading affected packages to version 1.491, 1.480.1.
CVE-2012-6072 at a Glance
How to Fix CVE-2012-6072
To remediate this vulnerability, upgrade all affected Jenkins core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.jenkins-ci.main</groupId>
<artifactId>jenkins-core</artifactId>
<version>1.491</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.main</groupId>
<artifactId>jenkins-core</artifactId>
<version>1.480.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.jenkins-ci.main
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2012-6072, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jenkins-ci.main
Analyze the terminal output to locate any version of Jenkins core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.491), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jenkins-ci.main command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting'), where the product receives data from an http agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes cr and lf characters before the data is included in outgoing http headers. In Jenkins core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2012-6072 Affected Jenkins core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jenkins-ci.main:jenkins-core
|
Maven |
≥ 1.481
< 1.491
|
1.491
|
|
org.jenkins-ci.main:jenkins-core
|
Maven |
< 1.480.1
|
1.480.1
|
References
Frequently Asked Questions
What is CVE-2012-6072?
Which Jenkins core versions are affected?
What version fixes CVE-2012-6072?
Is jenkins-core affected?
What CWE is associated with CVE-2012-6072?
How can I check Maven dependencies for CVE-2012-6072?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2q8v-qx2x-hxjx",
"modified" : "2025-03-13T17:57:20Z",
"published" : "2022-05-14T02:13:37Z",
"aliases" : [ "CVE-2012-6072" ],
"summary" : "Jenkins allows HTTP Injection and Response Splitting",
"details" : "CRLF injection vulnerability in Jenkins before 1.491, Jenkins LTS before 1.480.1, and Jenkins Enterprise 1.424.x before 1.424.6.13, 1.447.x before 1.447.4.1, and 1.466.x before 1.466.10.1 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via unspecified vectors.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jenkins-ci.main:jenkins-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.481"
}, {
"fixed" : "1.491"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jenkins-ci.main:jenkins-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.480.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-6072"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=890607"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jenkinsci/jenkins"
}, {
"type" : "WEB",
"url" : "https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2012-11-20"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2013-0220.html"
}, {
"type" : "WEB",
"url" : "http://www.cloudbees.com/jenkins-advisory/jenkins-security-advisory-2012-11-20.cb"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-113", "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-13T17:57:20Z",
"nvd_published_at" : "2013-02-24T22:55:00Z"
}
}