CVE-2025-46836

net-tools is a collection of programs that form the base set of the NET-3 networking distribution for the Linux operating system. Inn versions up to and including 2.10, the Linux network utilities (like ifconfig) from the net-tools package do not properly validate the structure of /proc files when showing interfaces. `get_name()` in `interface.c` copies interface labels from `/proc/net/dev` into a fixed 16-byte stack buffer without bounds checking, leading to possible arbitrary code execution or crash. The known attack path does not require privilege but also does not provide privilege escalation in this scenario. A patch is available and expected to be part of version 2.20.
Configurations

No configuration.

History

16 May 2025, 14:43

Type Values Removed Values Added
Summary
  • (es) net-tools es una colección de programas que forman la base de la distribución de redes NET-3 para el sistema operativo Linux. En versiones anteriores a la 2.10, las utilidades de red de Linux (como ifconfig) del paquete net-tools no validan correctamente la estructura de los archivos /proc al mostrar interfaces. `get_name()` en `interface.c` copia las etiquetas de interfaz de `/proc/net/dev` a un búfer de pila fijo de 16 bytes sin comprobar los límites, lo que puede provocar la ejecución de código arbitrario o un fallo. La ruta de ataque conocida no requiere privilegios, pero tampoco permite la escalada de privilegios en este escenario. Hay un parche disponible y se espera que forme parte de la versión 2.20.

14 May 2025, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-14 23:15

Updated : 2025-05-16 14:43


NVD link : CVE-2025-46836

Mitre link : CVE-2025-46836

CVE.ORG link : CVE-2025-46836


JSON object : View

Products Affected

No product.

CWE
CWE-20

Improper Input Validation

CWE-121

Stack-based Buffer Overflow