WaratekVRT Sign in

CVE-2023-26154

Affected software4 products, listed below
Severity5.9 Medium CVSS 3.1 2 scores
Fixed in7.7.0
WeaknessCWE-331
Published6 Dec 2023
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.96% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: pubnub/javascript fb6cd04.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory
Finding This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain.
Candidate fix https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119 : a commit: the change itself

CVSS

5.9 MEDIUM v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N report@snyk.io Secondary published
CVSS 3.1 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.pubnub:pubnub-kotlin 0 7.7.0 unbounded
com.pubnub:pubnub 0 none 4.6.5

Products and versions

6 products, 13 version entries
SourceVendorProductSchemeAffected versions
osv com.pubnub pubnub generic ≤ 4.6.5
osv com.pubnub pubnub-kotlin generic < 7.7.0
nvd pubnub c-core generic < 4.5.0
nvd pubnub kotlin generic < 7.7.0
nvd pubnub pubnub generic < 0.4.0 · ≥ 3.6.4 and < 4.3.0 · ≥ 4.3.1 and < 5.2.0 · ≥ 6.0.0 and < 6.1.0 · ≥ 6.2.0 and < 6.19.0 · ≥ 7.0.0 and < 7.3.0 · < 7.2.0 · ≥ 7.3.1 and < 7.4.0
nvd pubnub swift generic < 6.2.0

References

URLTags
https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119 commit
https://github.com/pubnub/go/commit/428517fef5b901db7275d9f5a75eda89a4c28e08 WEB
https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379 WEB
https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381 WEB
https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378 WEB
https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377 WEB
https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375 WEB
https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385 WEB
https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376 WEB
https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690 WEB

Timeline

Published2023-12-06By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.