Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tensorflow
  4. ›
  5. CVE-2020-15265

CVE-2020-15265: Segfault in `tf.quantization.quantize_and_dequantize`

November 13, 2020 (updated October 30, 2024)

An attacker can pass an invalid axis value to tf.quantization.quantize_and_dequantize:

tf.quantization.quantize_and_dequantize(
input=[2.5, 2.5], input_min=[0,0], input_max=[1,1], axis=10)

References

  • github.com/advisories/GHSA-rrfp-j2mp-hq9c
  • github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-295.yaml
  • github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-330.yaml
  • github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-138.yaml
  • github.com/tensorflow/tensorflow
  • github.com/tensorflow/tensorflow/commit/eccb7ec454e6617738554a255d77f08e60ee0808
  • github.com/tensorflow/tensorflow/issues/42105
  • github.com/tensorflow/tensorflow/security/advisories/GHSA-rrfp-j2mp-hq9c
  • nvd.nist.gov/vuln/detail/CVE-2020-15265

Code Behaviors & Features

Detect and mitigate CVE-2020-15265 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.0

Fixed versions

  • 2.4.0

Solution

Upgrade to version 2.4.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

pypi/tensorflow/CVE-2020-15265.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:52 +0000.