GHSA-wwxp-hxh6-8gf8
Rust Análisis y mitigación de vulnerabilidades

Vista general

The binaryvecio crate contains memory safety violations in its binaryreadtoref and binarywritefromref functions, identified as GHSA-wwxp-hxh6-8gf8. The vulnerability was discovered and reported on October 21, 2025, and affects all versions up to and including 0.1.12. These functions, which are declared as safe, can cause undefined behavior through stack-based buffer overflow when improperly used (GitHub Advisory, RustSec Advisory).

Técnicas

The vulnerability stems from functions that accept a single reference (&T or &mut T) but allow multiplication by n to create slices, causing stack buffer overflow when n > 1. Both affected functions use unsafe code improperly through std::slice::fromrawparts to create slices larger than the underlying allocation. The issue has been assigned a High severity rating with a CVSS score of 7.3, classified under CWE-120 (Buffer Copy without Checking Size of Input). The vulnerability has been confirmed using Rust's Miri interpreter, which flags the operation as Undefined Behavior (GitHub Gist).

Impacto

When exploited, this vulnerability can lead to stack-based buffer overflow, potentially causing memory corruption and undefined behavior in affected applications. The impact metrics indicate high severity for confidentiality, integrity, and availability of the vulnerable system (GitHub Advisory).

Mitigación y soluciones alternativas

No patches are available as the binaryvecio repository is archived and unmaintained. The project has been thoroughly deprecated, and users are advised to discontinue using any code from this repository (RustSec PR).

Reacciones de la comunidad

The original maintainer has confirmed that the project is thoroughly deprecated, and nothing should be using any code from that repository (RustSec PR).

Recursos adicionales


FuenteEste informe se generó utilizando IA

Relacionado Rust Vulnerabilidades:

CVE ID

Severidad

Puntuación

Tecnologías

Nombre del componente

Exploit de CISA KEV

Tiene arreglo

Fecha de publicación

GHSA-wwxp-hxh6-8gf8HIGH7.3
  • RustRust
  • binary_vec_io
NoNoOct 22, 2025
GHSA-x77x-7mmh-cxv3MEDIUM5.5
  • RustRust
  • ncurses
NoNoOct 22, 2025
GHSA-xcpm-76hf-c9ccLOW2
  • RustRust
  • borrowck_sacrifices
NoOct 22, 2025
GHSA-fp5x-7m4q-449fLOW2
  • RustRust
  • direct_ring_buffer
NoOct 21, 2025
GHSA-h5j3-crg5-8jqmLOW2
  • RustRust
  • orx-pinned-vec
NoOct 21, 2025

Evaluación gratuita de vulnerabilidades

Compare su postura de seguridad en la nube

Evalúe sus prácticas de seguridad en la nube en 9 dominios de seguridad para comparar su nivel de riesgo e identificar brechas en sus defensas.

Solicitar evaluación

Recursos adicionales de Wiz

Obtén una demostración personalizada

¿Listo para ver a Wiz en acción?

"La mejor experiencia de usuario que he visto en mi vida, proporciona una visibilidad completa de las cargas de trabajo en la nube."
David EstlickCISO
"Wiz proporciona un panel único para ver lo que ocurre en nuestros entornos en la nube."
Adam FletcherJefe de Seguridad
"Sabemos que si Wiz identifica algo como crítico, en realidad lo es."
Greg PoniatowskiJefe de Gestión de Amenazas y Vulnerabilidades