CVE-2017-13763: ONOS vulnerable to denial of service due to unrestricted NettyMessagingManager payload
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.56199%
CWE
Published
5/13/2022
Updated
10/10/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.onosproject:onos-base | maven | >= 1.8.0, <= 1.10.0 | 1.11.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key issues:
- In MessageDecoder.java, the decode() method reads a 4-byte integer for payload length (contentLength) and allocates a buffer of that size without validation. This allows attackers to trigger massive memory allocations.
- In NettyMessagingManager.java, the server bootstrap configuration during connection setup (startAcceptingConnections) does not implement message size limits via Netty's decoder configuration (like LengthFieldBasedFrameDecoder with maxFrameLength), leaving the system vulnerable to oversized payload attacks. The patch focuses on timeouts but doesn't address payload size validation in these critical paths, leaving the root cause unmitigated in the analyzed code changes.