Skip to main content
← All vulnerabilities
CVE-2023-26154GHSA-5844-Q3FC-56RHGO-2023-2385PYSEC-2026-1807

Versions of the package pubnub before 7.4.0; all versions of the package com.pubnub:pubnub; versions of the package pubnub before 6.19.0; al

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.4.0, 6.19.0, 7.2.0, 7.3.0, 6.1.0, and 10 more
None on Exploit-DB, Metasploit or GitHub

Summary

Versions of the package pubnub before 7.4.0; all versions of the package com.pubnub:pubnub; versions of the package pubnub before 6.19.0; all versions of the package github.com/pubnub/go; versions of the package github.com/pubnub/go/v7 before 7.2.0; versions of the package pubnub before 7.3.0; versions of the package pubnub/pubnub before 6.1.0; versions of the package pubnub before 5.3.0; versions of the package pubnub before 0.4.0; versions of the package pubnub/c-core before 4.5.0; versions of the package com.pubnub:pubnub-kotlin before 7.7.0; versions of the package pubnub/swift before 6.2.0; versions of the package pubnub before 5.2.0; versions of the package pubnub before 4.3.0 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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a pubnub

    fixed in 7.4.0

  • n/a com.pubnub:pubnub

    All versions

  • n/a Pubnub

    fixed in 6.19.0

  • n/a github.com/pubnub/go

    All versions

  • n/a github.com/pubnub/go/v7

    fixed in 7.2.0

  • n/a pubnub

    fixed in 7.3.0

  • n/a pubnub/pubnub

    fixed in 6.1.0

  • n/a pubnub

    fixed in 5.3.0

  • n/a pubnub

    fixed in 0.4.0

  • n/a pubnub/c-core

    fixed in 4.5.0

  • n/a com.pubnub:pubnub-kotlin

    fixed in 7.7.0

  • n/a pubnub/swift

    fixed in 6.2.0

  • n/a PubNub

    fixed in 5.2.0

  • n/a pubnub

    fixed in 4.3.0

  • pubnubnpm

    fixed in 7.4.0

  • com.pubnub:pubnub-kotlinMaven

    fixed in 7.7.0

  • com.pubnub:pubnubMaven

    through 4.6.5

  • github.com/pubnub/go/v7Go

    fixed in 7.2.0

  • github.com/pubnub/goGo

    fixed in 0.0.0-20231016150651-428517fef5b9

  • github.com/pubnub/go/v6Go

    fixed in 6.1.1-0.20231016150651-428517fef5b9

  • github.com/pubnub/go/v5Go

    fixed in 5.0.4-0.20231016150651-428517fef5b9

  • PubnubNuGet

    fixed in 6.19.0

  • github.com/pubnub/swiftSwiftURL

    fixed in 6.2.0

  • pubnubRubyGems

    fixed in 5.3.0

  • pubnubcrates.io

    fixed in 0.4.0

  • pubnub/pubnubPackagist

    fixed in 6.1.0

  • pubnubPub

    fixed in 4.3.0

  • pubnubPyPI

    fixed in 7.3.0

  • github.com/pubnub/goGo

    All versions

  • github.com/pubnub/go/v5Go

    All versions

  • github.com/pubnub/go/v6Go

    All versions

References 17

security.snyk.io

gist.github.com

GitHub · pubnub/javascript