CVE-2020-15212 Vulnerability Analysis & Exploit Details

Status: Analyzed - Last modified: 17 Aug 2021, 13:21 UTC Published: 25 Sep 2020, 19:15 UTC

CVE-2020-15212
Vulnerability Scoring

8.6
/10

Attack Complexity Details

  • Attack Complexity: Low Impact
  • Attack Vector: NETWORK
  • Privileges Required: None
  • Scope: UNCHANGED
  • User Interaction: NONE

CIA Impact Definition

  • Confidentiality: Low Impact
  • Integrity: Low Impact
  • Availability: HIGH IMPACT

CVE-2020-15212 Vulnerability Summary

In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger writes outside of bounds of heap allocated buffers by inserting negative elements in the segment ids tensor. Users having access to `segment_ids_data` can alter `output_index` and then write to outside of `output_data` buffer. This might result in a segmentation fault but it can also be used to further corrupt the memory and can be chained with other vulnerabilities to create more advanced exploits. The issue is patched in commit 204945b19e44b57906c9344c0d00120eeeae178a and is released in TensorFlow versions 2.2.1, or 2.3.1. A potential workaround would be to add a custom `Verifier` to the model loading code to ensure that the segment ids are all positive, although this only handles the case when the segment ids are stored statically in the model. A similar validation could be done if the segment ids are generated at runtime between inference steps. If the segment ids are generated as outputs of a tensor during inference steps, then there are no possible workaround and users are advised to upgrade to patched code.

Access Complexity Graph

Above is the Access Complexity Graph for CVE-2020-15212. It helps visualize the difficulty level and privilege requirements needed to exploit this vulnerability, providing a quick assessment of its exploitation feasibility.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2020-15212, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

Impact Analysis

Below is the Impact Analysis for CVE-2020-15212, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.311% (probability of exploit)

EPSS Percentile: 70.06% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 29.939999999999998% of others.

CVE-2020-15212 Detailed Information and External References

References

CWE

CWE-787

Vulnerable Configurations

  • cpe:2.3:a:google:tensorflow:2.2.0:-:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:-:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:-:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:-:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:-:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:-:*:*:lite:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc0:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc0:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc0:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc0:*:*:lite:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc1:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc1:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc1:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc1:*:*:lite:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc2:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc2:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc2:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc2:*:*:lite:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc3:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc3:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc3:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc3:*:*:lite:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc4:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc4:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.2.0:rc4:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.2.0:rc4:*:*:lite:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:-:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:-:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:-:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:-:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:-:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:-:*:*:lite:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:rc0:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:rc0:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:rc0:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:rc0:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:rc0:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:rc0:*:*:lite:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:rc1:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:rc1:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:rc1:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:rc1:*:*:lite:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:rc2:*:*:-:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:rc2:*:*:-:*:*:*
  • cpe:2.3:a:google:tensorflow:2.3.0:rc2:*:*:lite:*:*:*
    cpe:2.3:a:google:tensorflow:2.3.0:rc2:*:*:lite:*:*:*

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

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

Protect Your Infrastructure: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other Recently Published CVEs

  • CVE-2025-1392 – A vulnerability has been found in D-Link DIR-816 1.01TO and classified as problematic. Affected by this vulnerability is an unknown functionality o...
  • CVE-2024-13879 – The Stream plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 4.0.2 due to insufficient valida...
  • CVE-2025-21103 – Dell NetWorker Management Console, version(s) 19.11 through 19.11.0.3 & Versions prior to 19.10.0.7 contain(s) an improper neutralization of server...
  • CVE-2025-1391 – A flaw was found in the Keycloak organization feature, which allows the incorrect assignment of an organization to a user if their username or emai...
  • CVE-2025-26778 – Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in NotFound Gallery allows Stored XSS. This issu...
  • CVE-2025-26775 – Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in RealMag777 BEAR allows Stored XSS. This issue...
  • CVE-2025-26773 – Missing Authorization vulnerability in Adnan Analytify allows Exploiting Incorrectly Configured Access Control Security Levels. This issue affects ...
  • CVE-2025-26772 – Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Detheme DethemeKit For Elementor allows Store...
  • CVE-2025-26771 – Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in sonalsinha21 SKT Blocks – Gutenberg based Pag...
  • CVE-2025-26770 – Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Joe Waymark allows Stored XSS. This issue aff...