CVE-2015-2156: Netty parent Information Exposure Vulnerability
HIGHCVE-2015-2156 is a HIGH (CVSS 7.5) information exposure vulnerability (CWE-20: Improper Input Validation) affecting Netty parent libraries in the Maven ecosystem. The issue involves information exposure in netty. Remediation is available by upgrading affected packages to version 4.0.28.Final, 3.9.8.Final, 3.10.3.Final.
CVE-2015-2156 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2015-2156
To remediate this vulnerability, upgrade all affected Netty parent 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>io.netty</groupId>
<artifactId>netty-parent</artifactId>
<version>4.0.28.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
<version>3.9.8.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
<version>3.10.3.Final</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<version>3.10.3.Final</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<version>3.9.8.Final</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.netty
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2015-2156, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.netty
Analyze the terminal output to locate any version of Netty parent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.28.Final), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.netty 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Netty parent, 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-2015-2156 Affected Netty parent Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.netty:netty-parent
|
Maven |
≥ 4.0.0
< 4.0.28.Final
|
4.0.28.Final
|
|
org.jboss.netty:netty
|
Maven |
< 3.9.8.Final
|
3.9.8.Final
|
|
org.jboss.netty:netty
|
Maven |
≥ 3.10.0
< 3.10.3.Final
|
3.10.3.Final
|
|
io.netty:netty
|
Maven |
≥ 3.10.0
< 3.10.3.Final
|
3.10.3.Final
|
|
io.netty:netty
|
Maven |
< 3.9.8.Final
|
3.9.8.Final
|
References
Frequently Asked Questions
What is CVE-2015-2156?
Which Netty parent versions are affected?
What version fixes CVE-2015-2156?
Is netty-parent affected?
Is netty affected?
What is the CVSS score of CVE-2015-2156?
What CWE is associated with CVE-2015-2156?
How can I check Maven dependencies for CVE-2015-2156?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xfv3-rrfm-f2rv",
"modified" : "2021-09-22T18:45:29Z",
"published" : "2020-06-30T21:01:21Z",
"aliases" : [ "CVE-2015-2156" ],
"summary" : "Information Exposure in Netty",
"details" : "Netty before 3.9.8.Final, 3.10.x before 3.10.3.Final, 4.0.x before 4.0.28.Final, and 4.1.x before 4.1.0.Beta5 and Play Framework 2.x before 2.3.9 might allow remote attackers to bypass the httpOnly flag on cookies and obtain sensitive information by leveraging improper validation of cookie name and value characters.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.netty:netty-parent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.0.28.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jboss.netty:netty"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.9.8.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jboss.netty:netty"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.10.0"
}, {
"fixed" : "3.10.3.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.netty:netty"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.10.0"
}, {
"fixed" : "3.10.3.Final"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "io.netty:netty"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.9.8.Final"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-2156"
}, {
"type" : "WEB",
"url" : "https://github.com/netty/netty/pull/3748/commits/4ac519f534493bb0ca7a77e1c779138a54faa7b9"
}, {
"type" : "WEB",
"url" : "https://github.com/netty/netty/pull/3754"
}, {
"type" : "WEB",
"url" : "https://github.com/netty/netty/commit/2caa38a2795fe1f1ae6ceda4d69e826ed7c55e55"
}, {
"type" : "WEB",
"url" : "https://github.com/netty/netty/commit/31815598a2af37f0b71ea94eada70d6659c23752"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1222923"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/netty/netty"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/a19bb1003b0d6cd22475ba83c019b4fc7facfef2a9e13f71132529d3@%3Ccommits.cassandra.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/dc1275aef115bda172851a231c76c0932d973f9ffd8bc375c4aba769@%3Ccommits.cassandra.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JAVA-IONETTY-73571"
}, {
"type" : "WEB",
"url" : "https://www.playframework.com/security/vulnerability/CVE-2015-2156-HttpOnlyBypass"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/159379.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159166.html"
}, {
"type" : "WEB",
"url" : "http://netty.io/news/2015/05/08/3-9-8-Final-and-3.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2015/05/17/1"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/74704"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-30T20:59:55Z",
"nvd_published_at" : null
}
}