CVE-2023-26154: pubnub c-core Insufficient Entropy
Vulnerability summary
CVE-2023-26154 is a medium (CVSS 5.9) Insufficient Entropy vulnerability in pubnub c-core. EPSS estimates a 0.96% chance of exploitation in the next 30 days, higher than 61.2% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 06-12-2023PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
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 metrics
9 scores · 9 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · GoEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · NugetEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · Crates.ioEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · RubygemsEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.96%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
+0.01 pp
From 0.95% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 found20237094Fce7A0A28F0723D7Ce395Bb0
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Pubnub5 products
Github.com/pubnub/go3 products
- v5< 5.0.4-0.20231016150651-428517fef5b9 | All versions (No fix recorded)
- v6< 6.1.1-0.20231016150651-428517fef5b9 | All versions (No fix recorded)
- v7< 7.2.0
Com.pubnub2 products
- pubnub≤ 4.6.5
- pubnub-kotlin< 7.7.0
Github.com/pubnub2 products
- go< 0.0.0-20231016150651-428517fef5b9 | All versions (No fix recorded)
- swift< 6.2.0
Crates.Io1 product
- pubnub< 0.4.0
Npm1 product
- pubnub< 7.4.0
NuGet1 product
- Pubnub< 6.19.0
Pub1 product
- pubnub< 4.3.0
PyPI1 product
- pubnub< 7.3.0
RubyGems1 product
- pubnub< 5.3.0
10 vendors · 18 products
References
24 linksShow all 24 references
- github.com/pubnub/javascriptPACKAGE
- pypi.org/project/pubnubPACKAGE