CVE-2021-40052 (GCVE-0-2021-40052)

Vulnerability from cvelistv5 – Published: 2022-03-07 13:50 – Updated: 2024-08-04 02:27
VLAI
Summary
There is an incorrect buffer size calculation vulnerability in the video framework.Successful exploitation of this vulnerability may affect availability.
CWE
  • Incorrect buffer size calculation vulnerability
Impacted products
Vendor Product Version CPE status
Huawei HarmonyOS Affected: 2.0
guessed Create a notification for this product.
Huawei EMUI Affected: 11.0.1
Affected: 11.0.0
guessed Create a notification for this product.
Huawei Magic UI Affected: 4.0.0
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T02:27:31.165Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://consumer.huawei.com/en/support/bulletin/2022/3/"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "HarmonyOS",
          "vendor": "Huawei",
          "versions": [
            {
              "status": "affected",
              "version": "2.0"
            }
          ]
        },
        {
          "product": "EMUI",
          "vendor": "Huawei",
          "versions": [
            {
              "status": "affected",
              "version": "11.0.1"
            },
            {
              "status": "affected",
              "version": "11.0.0"
            }
          ]
        },
        {
          "product": "Magic UI",
          "vendor": "Huawei",
          "versions": [
            {
              "status": "affected",
              "version": "4.0.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "There is an incorrect buffer size calculation vulnerability in the video framework.Successful exploitation of this vulnerability may affect availability."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "Incorrect buffer size calculation vulnerability",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2022-08-09T20:12:24.000Z",
        "orgId": "25ac1063-e409-4190-8079-24548c77ea2e",
        "shortName": "huawei"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://consumer.huawei.com/en/support/bulletin/2022/3/"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "psirt@huawei.com",
          "ID": "CVE-2021-40052",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "HarmonyOS",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "=",
                            "version_value": "2.0"
                          }
                        ]
                      }
                    },
                    {
                      "product_name": "EMUI",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "=",
                            "version_value": "11.0.1"
                          },
                          {
                            "version_affected": "=",
                            "version_value": "11.0.0"
                          }
                        ]
                      }
                    },
                    {
                      "product_name": "Magic UI",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "=",
                            "version_value": "4.0.0"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "Huawei"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "There is an incorrect buffer size calculation vulnerability in the video framework.Successful exploitation of this vulnerability may affect availability."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "Incorrect buffer size calculation vulnerability"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://consumer.huawei.com/en/support/bulletin/2022/3/",
              "refsource": "MISC",
              "url": "https://consumer.huawei.com/en/support/bulletin/2022/3/"
            },
            {
              "name": "https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177",
              "refsource": "MISC",
              "url": "https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "25ac1063-e409-4190-8079-24548c77ea2e",
    "assignerShortName": "huawei",
    "cveId": "CVE-2021-40052",
    "datePublished": "2022-03-07T13:50:35.000Z",
    "dateReserved": "2021-08-23T00:00:00.000Z",
    "dateUpdated": "2024-08-04T02:27:31.165Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2021-40052",
      "date": "2026-09-23",
      "epss": "0.0077",
      "percentile": "0.54163"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:huawei:harmonyos:2.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "3AD62E8B-CB4B-43A6-98E8-09A8A1A3505B",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:huawei:emui:11.0.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "0B701EC6-8208-4D22-95A6-B07D471A8A8B",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:huawei:emui:11.0.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "511F8CE2-C2B6-4A08-B992-49D9B75B8655",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:huawei:magic_ui:4.0.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F6066FAB-23F5-4CB2-B89E-B00F8835AC39",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "There is an incorrect buffer size calculation vulnerability in the video framework.Successful exploitation of this vulnerability may affect availability."
        },
        {
          "lang": "es",
          "value": "Existe una vulnerabilidad de c\u00e1lculo de tama\u00f1o de b\u00fafer incorrecto en el marco de v\u00eddeo.La explotaci\u00f3n exitosa de esta vulnerabilidad puede afectar a la disponibilidad"
        }
      ],
      "id": "CVE-2021-40052",
      "lastModified": "2024-11-21T06:23:28.460",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "HIGH",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "COMPLETE",
              "baseScore": 7.8,
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:C",
              "version": "2.0"
            },
            "exploitabilityScore": 10.0,
            "impactScore": 6.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2022-03-10T17:43:18.923",
      "references": [
        {
          "source": "psirt@huawei.com",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://consumer.huawei.com/en/support/bulletin/2022/3/"
        },
        {
          "source": "psirt@huawei.com",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://consumer.huawei.com/en/support/bulletin/2022/3/"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177"
        }
      ],
      "sourceIdentifier": "psirt@huawei.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-131"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "HarmonyOS",
                "vendor": "Huawei",
                "versions": [
                  {
                    "status": "affected",
                    "version": "2.0"
                  }
                ]
              },
              {
                "product": "EMUI",
                "vendor": "Huawei",
                "versions": [
                  {
                    "status": "affected",
                    "version": "11.0.1"
                  },
                  {
                    "status": "affected",
                    "version": "11.0.0"
                  }
                ]
              },
              {
                "product": "Magic UI",
                "vendor": "Huawei",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.0.0"
                  }
                ]
              }
            ],
            "source": "psirt@huawei.com"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:huawei:harmonyos:2.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3AD62E8B-CB4B-43A6-98E8-09A8A1A3505B",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:huawei:emui:11.0.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0B701EC6-8208-4D22-95A6-B07D471A8A8B",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:huawei:emui:11.0.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "511F8CE2-C2B6-4A08-B992-49D9B75B8655",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:huawei:magic_ui:4.0.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F6066FAB-23F5-4CB2-B89E-B00F8835AC39",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "There is an incorrect buffer size calculation vulnerability in the video framework.Successful exploitation of this vulnerability may affect availability."
          },
          {
            "lang": "es",
            "value": "Existe una vulnerabilidad de c\u00e1lculo de tama\u00f1o de b\u00fafer incorrecto en el marco de v\u00eddeo.La explotaci\u00f3n exitosa de esta vulnerabilidad puede afectar a la disponibilidad"
          }
        ],
        "id": "CVE-2021-40052",
        "lastModified": "2026-06-17T04:06:27.773",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "HIGH",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "COMPLETE",
                "baseScore": 7.8,
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:C",
                "version": "2.0"
              },
              "exploitabilityScore": 10.0,
              "impactScore": 6.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2022-03-10T17:43:18.923",
        "references": [
          {
            "source": "psirt@huawei.com",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://consumer.huawei.com/en/support/bulletin/2022/3/"
          },
          {
            "source": "psirt@huawei.com",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://consumer.huawei.com/en/support/bulletin/2022/3/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://device.harmonyos.com/en/docs/security/update/security-bulletins-phones-202208-0000001363876177"
          }
        ],
        "sourceIdentifier": "psirt@huawei.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-131"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2026-03-27T13:35:56+00:00",
      "cve": "CVE-2021-40052",
      "id": "CVE-2021-40052",
      "initial_release_date": "2021-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "CVE-2021-40052",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-40052.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…