GHSA-9Q78-27F3-2JMH
webp crate may expose memory contents when encoding an image
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-9Q78-27F3-2JMH divulgada | |
| Remediación | Parche 0.3.1 | webp · 0 d desde divulgación | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Affected versions of this crate did not check that the input slice passed to `"webp::Encoder::encode()` is large enough for the specified image dimensions.
If the input slice is too short, the library will read out of bounds of the buffer and encode other memory contents as an image, resulting in memory exposure or a segmentation fault.
The flaw was corrected in pull request #44 https://github.com/jaredforth/webp/pull/44 by always validating the input buffer size when constructing the encoder.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
crates.iowebp |
Corregida | 0.3.1 | 0 d | 0.3.1 no afectada |
0.3.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/jaredforth/webp/issues/40https://github.com/jaredforth/webp/pull/44https://github.com/jaredforth/webp/commit/62b47060d7fb8cc0e92e522ee54948edf5aab556https://github.com/jaredforth/webphttps://rustsec.org/advisories/RUSTSEC-2024-0443.htmlLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
