llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · openssl-encrypt

GHSA-V9R6-GRCH-FXW7

D-Bus EncryptFile derived keys without password stretching (unstretched SHA-256)

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a 1 d de la divulgación
Exposición99 dDesde la divulgación, 12 ago 2026, 7:19 a. m.
Detección98 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 1.4.9
Monitoreo
Detectada +1
12 ago 26
13 ago 26
18 nov 26
20 nov 26
12 ago 26
6 sept 26
1 oct 26
26 oct 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-V9R6-GRCH-FXW7 divulgada
Remediación Parche 1.4.9 openssl-encrypt · 1 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

The D-Bus CryptoService.EncryptFile handler hand-built its hash_config using flat key names (sha512_iterations, argon2_time_cost/argon2_memory_cost/argon2_parallelism, enable_hkdf, balloon_iterations) that the key-derivation core does not read. The core consumes flat hash-round integers (hash_config['sha256']) and nested KDF dicts (hash_config['argon2']={'enabled': True, ...}). As a result no KDF and no hash rounds were ever enabled, and because the dict was non-empty it also defeated the encryptor's "no config -> apply the STANDARD template" default. Every file encrypted through the D-Bus service was keyed by a single unstretched SHA-256 of the password/salt/pepper seed instead of Argon2id (t=3, m=64 MiB, p=4). quiet=True suppressed the core's only unstretched-key warning, so the downgrade was silent.

Impact: offline password guessing against a file encrypted via the D-Bus service is roughly six to seven orders of magnitude cheaper than the documented protection (~10^10 SHA-256/s on commodity GPUs vs ~10^3/s against Argon2id-64MiB). Preconditions: the D-Bus service is installed and used to encrypt files (session or system bus), and an affected file reaches an attacker. No key disclosure or code execution; AEAD integrity is intact -- only the password work factor is lost. Files encrypted through the normal CLI/GUI are unaffected.

Fix (1.4.9): the D-Bus key-derivation config moved to a dedicated dbus-free module that builds the config in the structure the core consumes, starting from the STANDARD template (always Argon2id). The handler now fails closed: it refuses to encrypt unless a hash-round or memory-hard/iterated KDF work factor is enabled, so no client option combination can produce an unstretched key. Client-supplied KDF cost overrides are additionally bounded so they may only raise cost above the STANDARD baseline (preventing both a downgrade-below-STANDARD path and an unbounded-work-factor DoS on the system bus).

Mitigation: re-encrypt any files produced through the 1.4.x D-Bus service after upgrading to 1.4.9 (or via the CLI, which was never affected); treat their passwords as exposed to accelerated offline guessing.

1.4.x only -- the D-Bus service was removed on the 1.5.x line. Tracked as gitlab#228; SECURITY.md ADVISORY 2026-20.

Versiones

Rangos afectados

Afectada Corregida Última
openssl-encrypt≤ 1.4.8
1.4.8
1.4.9
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypiopenssl-encrypt
Corregida 1.4.9 1 d 1.4.9 no afectada
Versiones corregidas1.4.9
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-v9r6-grch-fxw7

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.