6.5
MEDIUM
CVE-2021-36977
Matio Heap-Based Buffer Overflow Vulnerability
Description

matio (aka MAT File I/O Library) 1.5.20 and 1.5.21 has a heap-based buffer overflow in H5MM_memcpy (called from H5MM_malloc and H5C_load_entry), related to use of HDF5 1.12.0.

INFO

Published Date :

July 20, 2021, 7:15 a.m.

Last Modified :

April 29, 2022, 3:06 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-36977 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Matio_project matio
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-36977.

URL Resource
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31265 Patch Third Party Advisory
https://github.com/HDFGroup/hdf5/issues/272 Issue Tracking Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/matio/OSV-2021-440.yaml Third Party Advisory
https://github.com/google/oss-fuzz-vulns/commit/37b781ace1b4228fc36483bb7e30c72ea9d4c3d6 Issue Tracking Patch Third Party Advisory
https://github.com/google/oss-fuzz/issues/4999 Issue Tracking Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-36977 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-36977 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Apr. 29, 2022

    Action Type Old Value New Value
    Changed Reference Type https://github.com/google/oss-fuzz/issues/4999 No Types Assigned https://github.com/google/oss-fuzz/issues/4999 Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/google/oss-fuzz-vulns/commit/37b781ace1b4228fc36483bb7e30c72ea9d4c3d6 No Types Assigned https://github.com/google/oss-fuzz-vulns/commit/37b781ace1b4228fc36483bb7e30c72ea9d4c3d6 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/HDFGroup/hdf5/issues/272 No Types Assigned https://github.com/HDFGroup/hdf5/issues/272 Issue Tracking, Third Party Advisory
  • CVE Modified by [email protected]

    Jan. 17, 2022

    Action Type Old Value New Value
    Changed Description matio (aka MAT File I/O Library) 1.5.20 and 1.5.21 has a heap-based buffer overflow in H5MM_memcpy (called from H5MM_malloc and H5C_load_entry). matio (aka MAT File I/O Library) 1.5.20 and 1.5.21 has a heap-based buffer overflow in H5MM_memcpy (called from H5MM_malloc and H5C_load_entry), related to use of HDF5 1.12.0.
    Added Reference https://github.com/HDFGroup/hdf5/issues/272 [No Types Assigned]
    Added Reference https://github.com/google/oss-fuzz/issues/4999 [No Types Assigned]
    Added Reference https://github.com/google/oss-fuzz-vulns/commit/37b781ace1b4228fc36483bb7e30c72ea9d4c3d6 [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 27, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
    Changed Reference Type https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31265 No Types Assigned https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31265 Patch, Third Party Advisory
    Changed Reference Type https://github.com/google/oss-fuzz-vulns/blob/main/vulns/matio/OSV-2021-440.yaml No Types Assigned https://github.com/google/oss-fuzz-vulns/blob/main/vulns/matio/OSV-2021-440.yaml Third Party Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:matio_project:matio:1.5.20:*:*:*:*:*:*:* *cpe:2.3:a:matio_project:matio:1.5.21:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-36977 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-36977 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.14 }} 0.01%

score

0.49079

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability