Amenazas en vivo

Todas las CVE / Pubnub

CVE-2023-26154Pubnub C-core

Media 5.9 Sin autenticación

Prioridad
50
CVSS 3.1
5.9
EPSS
1.0%
probabilidad de explotación en 30 días · percentil 61
Requiere autenticación
No
Publicada
6 dic 2023
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-331
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para C-core.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Go github.com/pubnub/go < 0.0.0-20231016150651-428517fef5b9 0.0.0-20231016150651-428517fef5b9 go get github.com/pubnub/go@v0.0.0-20231016150651-428517fef5b9
Go github.com/pubnub/go todas sin versión corregida —
Go github.com/pubnub/go/v5 < 5.0.4-0.20231016150651-428517fef5b9 5.0.4-0.20231016150651-428517fef5b9 go get github.com/pubnub/go/v5@v5.0.4-0.20231016150651-428517fef5b9
Go github.com/pubnub/go/v5 todas sin versión corregida —
Go github.com/pubnub/go/v6 < 6.1.1-0.20231016150651-428517fef5b9 6.1.1-0.20231016150651-428517fef5b9 go get github.com/pubnub/go/v6@v6.1.1-0.20231016150651-428517fef5b9
Go github.com/pubnub/go/v6 todas sin versión corregida —
Go github.com/pubnub/go/v7 < 7.2.0 7.2.0 go get github.com/pubnub/go/v7@v7.2.0
Go github.com/pubnub/go/v7 < 7.2.0 7.2.0 go get github.com/pubnub/go/v7@v7.2.0
Maven com.pubnub:pubnub ≤ 4.6.5 sin versión corregida —
Maven com.pubnub:pubnub-kotlin < 7.7.0 7.7.0 —
NuGet Pubnub < 6.19.0 6.19.0 dotnet add package Pubnub --version 6.19.0
Packagist pubnub/pubnub < 6.1.0 6.1.0 composer require "pubnub/pubnub:^6.1.0"
Pub pubnub < 4.3.0 4.3.0 dart pub add pubnub:^4.3.0
PyPI pubnub < 7.3.0 7.3.0 pip install "pubnub>=7.3.0"
PyPI pubnub < 7.3.0 7.3.0 pip install "pubnub>=7.3.0"
RubyGems pubnub < 5.3.0 5.3.0 gem "pubnub", ">= 5.3.0"
crates.io pubnub < 0.4.0 0.4.0 cargo update -p pubnub --precise 0.4.0
npm pubnub < 7.4.0 7.4.0 npm install pubnub@7.4.0

Según OSV / GitHub Advisories (GHSA-5844-q3fc-56rh, GO-2023-2385, PYSEC-2026-1807). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
pubnubc-core< 4.5.0
pubnubkotlin< 7.7.0
pubnubpubnub< 0.4.0
pubnubpubnub< 7.2.0
pubnubpubnub≥ 3.6.4 < 4.3.0
pubnubpubnub≥ 4.3.1 < 5.2.0
pubnubpubnub≥ 6.0.0 < 6.1.0
pubnubpubnub≥ 6.2.0 < 6.19.0
pubnubpubnub≥ 7.0.0 < 7.3.0
pubnubpubnub≥ 7.3.1 < 7.4.0
pubnubswift< 6.2.0

Boletines oficiales

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.