swagger-api / swagger-api/swagger-codegen
CVE-2019-20444 (High) detected in multiple libraries
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
CVE-2019-20444 - High Severity Vulnerability
Vulnerable Libraries - netty-3.10.6.Final.jar, netty-codec-http-4.1.8.Final.jar, netty-3.9.2.Final.jar, netty-codec-http-4.0.42.Final.jar
netty-3.10.6.Final.jar
The Netty project is an effort to provide an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.
Library home page: http://netty.io/
Path to dependency file: /samples/client/petstore/java/retrofit2-play24/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty/3.10.6.Final/18ed04a0e502896552854926e908509db2987a00/netty-3.10.6.Final.jar
Dependency Hierarchy:
- play-java-ws_2.11-2.4.11.jar (Root Library)
- async-http-client-1.9.40.jar
- ❌ netty-3.10.6.Final.jar (Vulnerable Library)
- async-http-client-1.9.40.jar
netty-codec-http-4.1.8.Final.jar
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients.
Library home page: http://netty.io/
Path to dependency file: /samples/client/petstore/java/vertx/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http/4.1.8.Final/1e88617c4a6c88da7e86fdbbd9494d22a250c879/netty-codec-http-4.1.8.Final.jar
Dependency Hierarchy:
- vertx-web-client-3.4.2.jar (Root Library)
- vertx-core-3.4.2.jar
- ❌ netty-codec-http-4.1.8.Final.jar (Vulnerable Library)
- vertx-core-3.4.2.jar
netty-3.9.2.Final.jar
The Netty project is an effort to provide an asynchronous event-driven network application framework and tools for rapid development of maintainable high performance and high scalability protocol servers and clients. In other words, Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.
Library home page: http://netty.io/
Path to dependency file: /samples/client/petstore/scala/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty/3.9.2.Final/c8c67fb7c05e8ea847461ca972bfb08d69c520ad/netty-3.9.2.Final.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty/3.9.2.Final/c8c67fb7c05e8ea847461ca972bfb08d69c520ad/netty-3.9.2.Final.jar
Dependency Hierarchy:
- jersey-ahc-client-1.0.5.jar (Root Library)
- ❌ netty-3.9.2.Final.jar (Vulnerable Library)
netty-codec-http-4.0.42.Final.jar
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers and clients.
Library home page: http://netty.io/
Path to dependency file: /samples/client/petstore/java/retrofit2-play25/build.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/io.netty/netty-codec-http/4.0.42.Final/70a96479b6f4110d5f4a4003413e5bf758393e5f/netty-codec-http-4.0.42.Final.jar
Dependency Hierarchy:
- play-java-ws_2.11-2.5.14.jar (Root Library)
- async-http-client-2.0.24.jar
- ❌ netty-codec-http-4.0.42.Final.jar (Vulnerable Library)
- async-http-client-2.0.24.jar
Found in HEAD commit: 4b7a8d7d7384aa6a27d6309c35ade0916edae7ed
Found in base branches: 3.0.0, master
Vulnerability Details
HttpObjectDecoder.java in Netty before 4.1.44 allows an HTTP header that lacks a colon, which might be interpreted as a separate header with an incorrect syntax, or might be interpreted as an "invalid fold."
Publish Date: 2020-01-29
URL: CVE-2019-20444
CVSS 3 Score Details (9.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20444
Release Date: 2020-01-29
Fix Resolution (io.netty:netty): 4.0.0.Alpha1
Direct dependency fix Resolution (com.typesafe.play:play-java-ws_2.11): 2.5.0
Fix Resolution (io.netty:netty-codec-http): 4.1.44.Final
Direct dependency fix Resolution (io.vertx:vertx-web-client): 3.5.0
- Check this box to open an automated fix PR
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the four listed build.gradle files under samples/client/petstore and trace the Netty versions through the dependency hierarchies in the issue. Review the stated direct and transitive fix resolutions, update the affected dependencies, and verify that the sample builds no longer resolve the vulnerable Netty libraries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, scala
- Domain
- build-system, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100