llamaCVEVulnerability Intelligence
/
PaddlePaddle

CVE-2022-46741

Out-of-bounds read in gather_tree in PaddlePaddle before 2.4

Specific setups onlyParche disponible
Descargar PNG JSON
CVSS 3.1
7.1
Alta
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H Fuente: CNA
9.1NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a 646 d de la divulgación
Exposición1.443 dDesde la divulgación, 7 dic 2022, 2:41 a. m.
Detección1.426 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 2.6.2
Monitoreo
Detectada
Verificada
7 dic 22
13 sept 24
22 abr 25
3 nov 26
16 nov 26
19 nov 26
7 dic 22
3 dic 23
27 nov 24
23 nov 25
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2022-46741 divulgada · CVSS 7.1 (CNA)
Remediación Parche 2.6.2 paddlepaddle · 646 d desde divulgación
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Out-of-bounds read in gather_tree in PaddlePaddle before 2.4. 

Affects PaddlePaddle versions before 2.4 when the ids input tensor to gather_tree has an invalid shape. Fixed in PaddlePaddle 2.4.

¿Qué significa?The gather_tree kernel does not check the size of the ids input tensor's dimensions. If the ids shape is invalid, it can read memory outside the buffer it should stay within.
¿Quién está afectado?PaddlePaddle versions before 2.4 are affected, in setups that pass an ids tensor to gather_tree. You can check your installed version with python -c "import paddle; print(paddle.__version__)".
¿Qué hacer?Upgrade PaddlePaddle to 2.4 or later. The advisory references patch ee6e6d511f9f33fc862c11722701fb5abb99ed94 for the fix.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected PaddlePaddle versions before 2.4.“The fix will be included in PaddlePaddle 2.4.”
02
The ids input tensor has an invalid shape (ids_dims size is not validated by GatherTreeKernel).“The implementation of GatherTreeKernel does not validate the ids_dims size which would result in a memory out-of-bounds read if the ids shape is invalid.”
¿Quién debe revisar?Teams running PaddlePaddle before 2.4 that call paddle.nn.functional.gather_tree with user-supplied ids tensors.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
PaddlePaddle · paddlepaddle< 2.4
2.4
3.3.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypipaddlepaddle
Corregida 2.6.2 646 d 3.3.1 no afectada
Versiones corregidas2.42.6.2
Explotación

Arsenal público

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

Referencias
Otrahttps://github.com/PaddlePaddle/Paddle/blob/develop/security/advisory/pdsa-2022-001.md

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