GHSA-PQP6-F7WC-6498
Panic when decoding malformed Ed25519 keys from Base64
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 0.11.2 | vodozemac · -6 d desde divulgación | |
| Divulgación | Publicada | GHSA-PQP6-F7WC-6498 divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
### Impact
In version 0.11.1 and earlier of vodozemac, `Ed25519PublicKey::from_base64()` and `Ed25519SecretKey::from_base64()` panic on malformed input instead of returning an error, if the input decodes to 31 or 33 bytes instead of the expected 32 bytes. An attacker who can supply a key to an application using vodozemac can crash it.
Ed25519 public keys are routinely received from other Matrix users and servers, so a malicious party can publish a crafted key that crashes clients parsing it. The impact is limited to denial of service; no key disclosure or signature forgery is possible.
Patches
Fixed in 0.11.2.
Workarounds
Decode untrusted input yourself and check that it is exactly 32 bytes before passing it to vodozemac.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iovodozemac |
Corregida | 0.11.2 | -6 d | 0.11.2 no afectada |
0.11.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/matrix-org/vodozemac/security/advisories/GHSA-pqp6-f7wc-6498Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
