CVE-2023-26154

Source
https://cve.org/CVERecord?id=CVE-2023-26154
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-26154.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-26154
Aliases
Downstream
openSUSE (2)
Related
Published
2023-12-06T05:00:02Z
Modified
2026-10-22T10:36:38Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "snyk",
    "cwe_ids": [
        "CWE-331"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26154.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "fixed": "*"
                        },
                        {
                            "fixed": "6.19.0"
                        },
                        {
                            "fixed": "*"
                        },
                        {
                            "fixed": "6.1.0"
                        },
                        {
                            "fixed": "5.3.0"
                        },
                        {
                            "fixed": "0.4.0"
                        },
                        {
                            "fixed": "7.7.0"
                        },
                        {
                            "fixed": "6.2.0"
                        },
                        {
                            "fixed": "5.2.0"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/pubnub/javascript

Affected ranges

Type
GIT
Repo
https://github.com/pubnub/javascript
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:pubnub:c-core:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "4.5.0"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:go:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "7.2.0"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
            "range": [
                {
                    "introduced": "3.6.4"
                },
                {
                    "fixed": "4.3.0"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
            "range": [
                {
                    "introduced": "7.0.0"
                },
                {
                    "fixed": "7.3.0"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
            "range": [
                {
                    "introduced": "7.3.1"
                },
                {
                    "fixed": "7.4.0"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "fb6cd0417cbb4ba87ea2d5d86a9c94774447e119"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

3.*
3.10.0
3.10.2
3.11.0
3.12.0
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.14.4
3.14.5
3.14.7
3.15.1
3.15.2
3.6.4
3.7.10
3.7.11
3.7.15
3.7.16
3.7.17
3.7.18
3.7.19
3.7.20
3.7.21
3.7.22
3.7.8
3.8.0
3.9.0
3.9.1
3.9.2
4.*
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
v4.*
v4.0.10
v4.0.11
v4.0.12
v4.0.13
v4.0.6
v4.0.7
v4.0.8
v4.0.9
v4.1.0
v4.1.1
v4.2.0
v4.2.1
v4.2.2
v7.*
v7.0.0
v7.0.1
v7.1.1
v7.1.2
v7.3.1
v7.3.2
v7.3.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-26154.json"