CVE Vulnerabilities

CVE-2021-37625

Unchecked Return Value

Published: Aug 05, 2021 | Modified: Aug 12, 2021
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

Skytable is an open source NoSQL database. In versions prior to 0.6.4 an incorrect check of return value of the accept function in the run-loop for a TCP socket/TLS socket/TCP+TLS multi-socket causes an early exit from the run loop that should continue infinitely unless terminated by a local user, effectively causing the whole database server to shut down. This has severe impact and can be used to easily cause DoS attacks without the need to use much bandwidth. The attack vectors include using an incomplete TLS connection for example by not providing the certificate for the connection and using a specially crafted TCP packet that triggers the application layer backoff algorithm.

Weakness

The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.

Affected Software

Name Vendor Start Version End Version
Skytable Skytable 0.1.0 (including) 0.1.0 (including)
Skytable Skytable 0.2.0 (including) 0.2.0 (including)
Skytable Skytable 0.3.0 (including) 0.3.0 (including)
Skytable Skytable 0.3.1 (including) 0.3.1 (including)
Skytable Skytable 0.3.2 (including) 0.3.2 (including)
Skytable Skytable 0.4.0 (including) 0.4.0 (including)
Skytable Skytable 0.4.1 (including) 0.4.1 (including)
Skytable Skytable 0.4.2 (including) 0.4.2 (including)
Skytable Skytable 0.4.3 (including) 0.4.3 (including)
Skytable Skytable 0.4.4 (including) 0.4.4 (including)
Skytable Skytable 0.4.5 (including) 0.4.5 (including)
Skytable Skytable 0.5.0 (including) 0.5.0 (including)
Skytable Skytable 0.5.1 (including) 0.5.1 (including)
Skytable Skytable 0.5.2 (including) 0.5.2 (including)
Skytable Skytable 0.6.0 (including) 0.6.0 (including)
Skytable Skytable 0.6.1 (including) 0.6.1 (including)
Skytable Skytable 0.6.2 (including) 0.6.2 (including)
Skytable Skytable 0.6.3 (including) 0.6.3 (including)

Potential Mitigations

References