CVE-2014-0193: Netty Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-7vpq-g998-qpv7
Published
Advisory Summary

CVE-2014-0193 is a MODERATE denial of service vulnerability (General Security Weakness) affecting Netty libraries in the Maven ecosystem. The issue involves netty denial of service vulnerability. Remediation is available by upgrading affected packages to version 3.6.9.Final, 3.7.1.Final, 3.8.2.Final, 3.9.1.Final, 4.0.19.Final.

CVE-2014-0193 at a Glance

CVE Identifier CVE-2014-0193
GHSA Identifier GHSA-7vpq-g998-qpv7
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Netty
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-0193

To remediate this vulnerability, upgrade all affected Netty dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.netty:netty fixed: 3.6.9.Final
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty</artifactId>
    <version>3.6.9.Final</version>
</dependency>
io.netty:netty fixed: 3.7.1.Final
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty</artifactId>
    <version>3.7.1.Final</version>
</dependency>
io.netty:netty fixed: 3.8.2.Final
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty</artifactId>
    <version>3.8.2.Final</version>
</dependency>
io.netty:netty fixed: 3.9.1.Final
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty</artifactId>
    <version>3.9.1.Final</version>
</dependency>
io.netty:netty fixed: 4.0.19.Final
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty</artifactId>
    <version>4.0.19.Final</version>
</dependency>
io.netty:netty-all fixed: 4.0.19.Final
<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.0.19.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

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-2014-0193, 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 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.6.9.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 General Security Weakness. In Netty, 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

`WebSocket08FrameDecoder` in Netty 3.6.x before 3.6.9, 3.7.x before 3.7.1, 3.8.x before 3.8.2, 3.9.x before 3.9.1, and 4.0.x before 4.0.19 allows remote attackers to cause a denial of service (memory consumption) via a `TextWebSocketFrame` followed by a long stream of `ContinuationWebSocketFrames`.

CVE-2014-0193 Affected Netty Versions

6 component(s)
Fixed Versions:
3.6.9.Final3.7.1.Final3.8.2.Final3.9.1.Final4.0.19.Final
Product / Package Ecosystem Affected Versions Fixed Version
io.netty:netty
Maven
≥ 3.6.0.Beta1
< 3.6.9.Final
3.6.9.Final
io.netty:netty
Maven
≥ 3.7.0.Final
< 3.7.1.Final
3.7.1.Final
io.netty:netty
Maven
≥ 3.8.0.Final
< 3.8.2.Final
3.8.2.Final
io.netty:netty
Maven
≥ 3.9.0.Final
< 3.9.1.Final
3.9.1.Final
io.netty:netty
Maven
≥ 4.0.0.Alpha1
< 4.0.19.Final
4.0.19.Final
io.netty:netty-all
Maven
≥ 4.0.0.Alpha1
< 4.0.19.Final
4.0.19.Final

References

NVD — CVE-2014-0193 NVD
https://nvd.nist.gov/vuln/detail/CVE-2014-0193
Netty Source Repository REPOSITORY
https://github.com/netty/netty/issues/2441
Security Fix Commit FIX COMMIT
https://github.com/netty/netty/commit/8599ab5bdb761bb99d41a975d689f74c12e4892b
Netty Source Repository REPOSITORY
https://github.com/netty/netty
lists.apache.org/thread.html/ff8dcfe... WEB
https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8%40%3Ccommits.pulsar.apache.org%3E
lists.apache.org/thread.html/ff8dcfe... WEB
https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2020/02/msg00018.html
Netty Security Information SECURITY
https://web.archive.org/web/20140509033427/http://www.securityfocus.com/bid/67182
web.archive.org/web/20140509044857/... WEB
https://web.archive.org/web/20140509044857/http://secunia.com/advisories/58280
web.archive.org/web/20161119201425/... WEB
https://web.archive.org/web/20161119201425/http://secunia.com/advisories/59290
Netty Release RELEASE
http://netty.io/news/2014/04/30/release-day.html
rhn.redhat.com/errata/rhsa-2014-10... WEB
http://rhn.redhat.com/errata/RHSA-2014-1019.html
rhn.redhat.com/errata/rhsa-2014-10... WEB
http://rhn.redhat.com/errata/RHSA-2014-1020.html
rhn.redhat.com/errata/rhsa-2014-10... WEB
http://rhn.redhat.com/errata/RHSA-2014-1021.html
rhn.redhat.com/errata/rhsa-2014-13... WEB
http://rhn.redhat.com/errata/RHSA-2014-1351.html
rhn.redhat.com/errata/rhsa-2015-06... WEB
http://rhn.redhat.com/errata/RHSA-2015-0675.html
rhn.redhat.com/errata/rhsa-2015-07... WEB
http://rhn.redhat.com/errata/RHSA-2015-0720.html
rhn.redhat.com/errata/rhsa-2015-07... WEB
http://rhn.redhat.com/errata/RHSA-2015-0765.html

Frequently Asked Questions

What is CVE-2014-0193?
CVE-2014-0193 is a security vulnerability in Netty involving Netty denial of service vulnerability under General Security Weakness.
Which Netty versions are affected?
Affected versions include releases prior to 3.6.9.Final, 3.7.1.Final, 3.8.2.Final, 3.9.1.Final, 4.0.19.Final across affected packages: io.netty:netty, io.netty:netty-all.
What version fixes CVE-2014-0193?
Upgrading to 3.6.9.Final, 3.7.1.Final, 3.8.2.Final, 3.9.1.Final, 4.0.19.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is netty affected?
Yes, io.netty:netty is affected in releases prior to 3.6.9.Final, 3.7.1.Final, 3.8.2.Final, 3.9.1.Final, 4.0.19.Final. Upgrade your dependency to 3.6.9.Final, 3.7.1.Final, 3.8.2.Final, 3.9.1.Final, 4.0.19.Final or later.
Is netty-all affected?
Yes, io.netty:netty-all is affected in releases prior to 4.0.19.Final. Upgrade your dependency to 4.0.19.Final or later.
What CWE is associated with CVE-2014-0193?
CVE-2014-0193 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2014-0193?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.netty'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7vpq-g998-qpv7",
  "modified" : "2024-04-16T16:00:58Z",
  "published" : "2022-05-13T01:54:02Z",
  "aliases" : [ "CVE-2014-0193" ],
  "summary" : "Netty denial of service vulnerability",
  "details" : "`WebSocket08FrameDecoder` in Netty 3.6.x before 3.6.9, 3.7.x before 3.7.1, 3.8.x before 3.8.2, 3.9.x before 3.9.1, and 4.0.x before 4.0.19 allows remote attackers to cause a denial of service (memory consumption) via a `TextWebSocketFrame` followed by a long stream of `ContinuationWebSocketFrames`.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.netty:netty"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.6.0.Beta1"
      }, {
        "fixed" : "3.6.9.Final"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.netty:netty"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.7.0.Final"
      }, {
        "fixed" : "3.7.1.Final"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.netty:netty"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.8.0.Final"
      }, {
        "fixed" : "3.8.2.Final"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.netty:netty"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.9.0.Final"
      }, {
        "fixed" : "3.9.1.Final"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.netty:netty"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0.Alpha1"
      }, {
        "fixed" : "4.0.19.Final"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.netty:netty-all"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0.Alpha1"
      }, {
        "fixed" : "4.0.19.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0193"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/netty/netty/issues/2441"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/netty/netty/commit/8599ab5bdb761bb99d41a975d689f74c12e4892b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/netty/netty"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8%40%3Ccommits.pulsar.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2020/02/msg00018.html"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20140509033427/http://www.securityfocus.com/bid/67182"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20140509044857/http://secunia.com/advisories/58280"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20161119201425/http://secunia.com/advisories/59290"
  }, {
    "type" : "WEB",
    "url" : "http://netty.io/news/2014/04/30/release-day.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1019.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1020.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1021.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1351.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0675.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0720.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2015-0765.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-07T20:25:36Z",
    "nvd_published_at" : "2014-05-06T14:55:00Z"
  }
}