com.pubnub:pubnub-kotlin@7.3.1 vulnerabilities

  • latest version

    10.0.0

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    2 months ago

  • licenses detected

    • [4.0.0,7.7.1)
  • package manager

Direct Vulnerabilities

Known vulnerabilities in the com.pubnub:pubnub-kotlin 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
  • M
Insufficient Entropy

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.

How to fix Insufficient Entropy?

Upgrade com.pubnub:pubnub-kotlin to version 7.7.0 or higher.

[,7.7.0)