Insufficient Entropy Affecting com.pubnub:pubnub package, versions [0,]
Threat Intelligence
EPSS
0.11% (45th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-COMPUBNUB-6098371
- published 5 Dec 2023
- disclosed 13 Aug 2023
- credit Varga Daniel
Introduced: 13 Aug 2023
CVE-2023-26154 Open this link in a new tabHow to fix?
A fix was pushed into the master
branch but not yet published.
Overview
Affected versions of this package are vulnerable to Insufficient Entropy via the getKey
function, due to inefficient implementation of the AES-256-CBC
cryptographic algorithm. The provided encrypt function is less secure when hex encoding and trimming are applied, leaving half of the bits in the key always the same for every encoded message or file.
Note:
In order to exploit this vulnerability, the attacker needs to invest resources in preparing the attack and brute-force the encryption.
References
CVSS Scores
version 3.1