Buffer Overflow Affecting tensorflow-cpu package, versions [, 2.1.4) [2.2.0, 2.2.3) [2.3.0, 2.3.3) [2.4.0, 2.4.2)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-TENSORFLOWCPU-1296506
  • published 24 May 2021
  • disclosed 21 May 2021
  • credit Unknown

How to fix?

Upgrade tensorflow-cpu to version 2.1.4, 2.2.3, 2.3.3, 2.4.2 or higher.

Overview

tensorflow-cpu is a machine learning framework.

Affected versions of this package are vulnerable to Buffer Overflow due to heap buffer overflow caused by rounding. An attacker can trigger a heap buffer overflow in tf.raw_ops.QuantizedResizeBilinear by manipulating input values so that float rounding results in off-by-one error in accessing image elements.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
2.5 low
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    Low
Expand this section

NVD

7.8 high