CVE-2018-1320: Improper Input Validation in Apache Thrift
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.30593%
CWE
Published
1/17/2019
Updated
3/4/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.thrift:libthrift | maven | >= 0.5.0, < 0.9.3-1 | 0.9.3-1 |
org.apache.thrift:libthrift | maven | >= 0.10.0, < 0.12.0 | 0.12.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from using a Java assert statement to validate()
SASL handshake completion in TSaslTransport.java
. Assertions are not enabled in production environments by default (-ea JVM flag required), making this validation
ineffective. The patch (THRIFT-4506
) removed this assertion and modified control flow to properly enforce validation
. The commit diff and CVE description both explicitly reference this assertion as the root cause.