com.pubnub:pubnub@4.0.0-beta2 vulnerabilities

  • latest version

    4.6.5

  • first published

    12 years ago

  • latest version published

    8 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the com.pubnub:pubnub package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable 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?

    A fix was pushed into the master branch but not yet published.

    [0,)