org.apache.thrift%3Alibthrift@0.7.0 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.apache.thrift%3Alibthrift package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Denial of Service (DoS)

org.apache.thrift:libthrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

Affected versions of this package are vulnerable to Denial of Service (DoS). It would not error upon receiving messages declaring containers of sizes larger than the payload.

How to fix Denial of Service (DoS)?

Upgrade org.apache.thrift:libthrift to version 0.14.0 or higher.

[0,0.14.0)
  • H
Denial of Service (DoS)

org.apache.thrift:libthrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

Affected versions of this package are vulnerable to Denial of Service (DoS). Within TBinaryProtocol.readString, if the string field's size is greater than the number of bytes remaining in the byte array to deserialize, 1thriftwill happily allocate a byte array of that size inreadStringBody`, filling the heap. This could result in denial of service conditions.

How to fix Denial of Service (DoS)?

Upgrade org.apache.thrift:libthrift to version 0.9.0 or higher.

[,0.9.0)
  • M
Insufficient Validation

org.apache.thrift:libthrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

Affected versions of this package are vulnerable to Insufficient Validation. Multiple SSL vulnerabilities exists within thrift which includes:

  • It is possible to abuse to embedded OpenSSL library within thrift to conduct denial of service attacks by abusing TSSLSocket during close()
  • The SSL library used by default allows for insecure SSLv3 negotiation

How to fix Insufficient Validation?

Upgrade org.apache.thrift:libthrift to version 0.9.3 or higher.

[,0.9.3)
  • H
Denial of Service (DoS)

org.apache.thrift:libthrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

Affected versions of this package are vulnerable to Denial of Service (DoS). A server or client may run into an endless loop when fed with specific input data.

Note: This issue was found to be partially fixed within version 0.11.0. As such depending on the installed version it affects only certain language bindings.

How to fix Denial of Service (DoS)?

Upgrade org.apache.thrift:libthrift to version 0.13.0 or higher.

[,0.13.0)
  • H
Authentication Bypass

org.apache.thrift:libthrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

Affected versions of this package are vulnerable to Authentication Bypass. It could bypass SASL negotiation in the org.apache.thrift.transport.TSaslTransport class. An assert used to determine if the SASL handshake had successfully completed could be disabled in production settings making the validation incomplete.

How to fix Authentication Bypass?

Upgrade org.apache.thrift:libthrift to version 0.9.3-1, 0.12.0 or higher.

[0.6.1,0.9.3-1) [0.10.0,0.12.0)