CVE-2023-26154
CVE-2023-26154
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
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.
CVSS 5.9 · Medium · EPSS 1.0% · Fix available
- Published
- Updated
Affected products and versions
pubnub
- Versions
- ≥ 0, < 7.4.0: Affected (semver)
Update to 7.4.0
com.pubnub:pubnub
- Versions
- ≥ 0: Affected (semver)
No fix published
pubnub
- Versions
- ≥ 0, < 6.19.0: Affected (semver)
Update to 6.19.0
github.com/pubnub/go
- Versions
- ≥ 0: Affected (semver)
No fix published
github.com/pubnub/go/v7
- Versions
- ≥ 0, < 7.2.0: Affected (semver)
Update to 7.2.0
pubnub
- Versions
- ≥ 0, < 7.3.0: Affected (semver)
Update to 7.3.0
pubnub/pubnub
- Versions
- ≥ 0, < 6.1.0: Affected (semver)
Update to 6.1.0
pubnub
- Versions
- ≥ 0, < 5.3.0: Affected (semver)
Update to 5.3.0
pubnub
- Versions
- ≥ 0, < 0.4.0: Affected (semver)
Update to 0.4.0
pubnub/c-core
- Versions
- ≥ 0, < 4.5.0: Affected (semver)
Update to 4.5.0
com.pubnub:pubnub-kotlin
- Versions
- ≥ 0, < 7.7.0: Affected (semver)
Update to 7.7.0
pubnub/swift
- Versions
- ≥ 0, < 6.2.0: Affected (semver)
Update to 6.2.0
pubnub
- Versions
- ≥ 0, < 5.2.0: Affected (semver)
Update to 5.2.0
pubnub
- Versions
- ≥ 0, < 4.3.0: Affected (semver)
Update to 4.3.0
pubnub npm
- Affected ranges
- SEMVER: < 7.4.0
Update to 7.4.0
com.pubnub:pubnub-kotlin Maven
- Versions
- 4.0.0
- 4.0.1
- 5.0.0
- 5.0.1
- 5.0.2
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 6.0.0
- 6.0.1
- 6.0.2
- 6.0.3
- 6.1.0
- 6.2.0
- 6.3.0
- 7.0.0
- 7.0.1
- 7.1.0
- 7.2.0
- 7.3.0
- 7.3.1
- 7.3.2
- 7.4.0
- 7.4.1
- 7.4.2
- 7.4.3
- 7.5.0
- 7.6.0
- Affected ranges
- ECOSYSTEM: < 7.7.0
Update to 7.7.0
com.pubnub:pubnub Maven
- Versions
- 3.4
- 3.5.2
- 3.5.3
- 3.5.4
- 3.5.5
- 3.5.6
- 3.6.0
- 3.6.1
- 3.6.2
- 3.6.3
- 3.7.0
- 3.7.1
- 3.7.10
- 3.7.11
- 3.7.2
- 3.7.3
- 3.7.4
- 3.7.5
- 3.7.6
- 3.7.7
- 3.7.8
- 3.7.9
- 4.0.0
- 4.0.0-beta1
- 4.0.0-beta2
- 4.0.0-beta3
- 4.0.0-beta4
- 4.0.1
- 4.0.10
- 4.0.11
- 4.0.12
- 4.0.13
- 4.0.14
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.8
- 4.0.9
- 4.1.0
- 4.2.0
- 4.2.2
- 4.2.3
- 4.6.5
- Affected ranges
- ECOSYSTEM: ≤ 4.6.5
No fix published
github.com/pubnub/go/v7 Go
- Affected ranges
- SEMVER: < 7.2.0
Update to 7.2.0
github.com/pubnub/go Go
- Affected ranges
- SEMVER: < 0.0.0-20231016150651-428517fef5b9
Update to 0.0.0-20231016150651-428517fef5b9
github.com/pubnub/go/v6 Go
- Affected ranges
- SEMVER: < 6.1.1-0.20231016150651-428517fef5b9
Update to 6.1.1-0.20231016150651-428517fef5b9
github.com/pubnub/go/v5 Go
- Affected ranges
- SEMVER: < 5.0.4-0.20231016150651-428517fef5b9
Update to 5.0.4-0.20231016150651-428517fef5b9
pubnub NuGet
- Versions
- 3.0.0
- 3.3.0.1
- 3.3.0.1-beta0
- 3.3.0.1-release-01-02-13-1
- 3.3.0.1-release-01-02-13-2
- 3.3.0.1-release-01-02-13-3
- 3.3.0.1-release-01-02-13-4
- 3.3.0.1-release-01-02-13-5
- 3.3.0.1-release-12-14-12
- 3.3.0.1-release-12-14-12-1
- 3.3.0.1-release-12-14-12-2
- 3.3.0.1-release-12-14-12-3
- 3.3.0.1-release-12-14-12-4
- 3.3.0.1-release-12-14-12-5
- 3.3.0.1-release-12-14-12-6
- 3.3.0.1-release-12-14-12-7
- 3.3.0.1-release-12-14-12-8
- 3.3.0.1-release-12-14-12-9
- 3.3.0.1-release-12-17-12-1
- 3.3.0.1-release-12-30-12-1
- 3.3.0.1-release-12-30-12-2
- 3.3.0.2
- 3.3.0.2-rc1
- 3.3.0.2-rc2
- 3.4.0.1
- 3.4.0.1-rc1
- 3.4.0.1-rc2
- 3.4.0.1-rc3
- 3.4.0.2
- 3.4.0.2-rc1
- 3.5.0.1
- 3.5.0.1-rc1
- 3.5.0.1-rc2
- 3.5.0.1-rc3
- 3.5.0.1-rc4
- 3.5.0.1-rc5
- 3.5.0.1-rc6
- 3.6.0.1
- 3.6.0.1-rc1
- 3.6.0.1-rc2
- 3.6.0.1-rc3
- 3.6.0.1-rc4
- 3.6.0.1-rc5
- 3.6.0.1-rc6
- 3.6.0.2
- 3.6.0.2-rc1
- 3.6.0.2-rc2
- 3.6.0.2-rc3
- 3.6.0.2-rc4
- 3.6.0.2-rc5
- 3.6.0.2-rc6
- 3.6.0.2-rc7
- 3.6.0.2-rc8
- 3.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- 6.12.0
- 6.13.0
- 6.14.0
- 6.15.0
- 6.16.0
- 6.17.0
- 6.18.0
- 6.2.0
- 6.3.0
- 6.4.0
- 6.5.0
- 6.6.0
- 6.7.0
- 6.8.0
- 6.9.0
- Affected ranges
- ECOSYSTEM: < 6.19.0
Update to 6.19.0
github.com/pubnub/swift SwiftURL
- Affected ranges
- SEMVER: < 6.2.0
Update to 6.2.0
pubnub RubyGems
- Versions
- 0.1.10
- 0.1.11
- 0.1.12
- 0.1.2
- 0.1.4
- 0.1.5
- 0.1.7
- 0.1.8
- 0.1.9
- 3.3.0.1
- 3.3.0.2
- 3.3.0.5
- 3.3.0.6
- 3.3.0.7
- 3.4
- 3.4.1
- 3.5.1
- 3.5.12
- 3.5.14
- 3.5.3
- 3.5.5
- 3.5.6
- 3.5.7
- 3.5.8
- 3.6.10
- 3.6.7
- 3.6.9
- 3.7.0
- 3.7.1
- 3.7.10
- 3.7.11
- 3.7.12
- 3.7.5
- 3.7.7
- 3.7.9
- 3.8.0
- 3.8.1
- 3.8.2
- 3.8.4
- 3.8.5
- 4.0.0
- 4.0.0beta1
- 4.0.0beta2
- 4.0.1
- 4.0.12
- 4.0.13
- 4.0.14
- 4.0.15
- 4.0.16
- 4.0.17
- 4.0.18
- 4.0.19
- 4.0.20
- 4.0.21
- 4.0.22
- 4.0.23
- 4.0.25
- 4.0.27
- 4.0.28
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.0.8
- 4.0.9
- 4.1.0
- 4.1.2
- 4.1.5
- 4.1.6
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.2.4
- 4.2.5
- 4.2.6
- 4.2.7
- 4.3.0
- 4.4.0
- 4.5.0
- 4.6.0
- 4.6.1
- 4.6.2
- 4.7.0
- 4.7.1
- 4.8.0
- 5.0.0
- 5.1.0
- 5.1.1
- 5.1.2
- 5.2.0
- 5.2.1
- 5.2.2
- Affected ranges
- ECOSYSTEM: < 5.3.0
Update to 5.3.0
Original sources
- https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690
- https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371
- https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374
- https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375
- https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376
- https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377
- https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378
- https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379
- https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380
- https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381
- https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384
- https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385
- https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0
- https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js%23L70
- https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119
- https://nvd.nist.gov/vuln/detail/CVE-2023-26154