GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2021-22385 (GCVE-0-2021-22385)

Vulnerability from cvelistv5 – Published: 2021-08-10 13:04 – Updated: 2024-08-03 18:44
VLAI
Summary
A component of the Huawei smartphone has a External Control of System or Configuration Setting vulnerability. Local attackers may exploit this vulnerability to cause Kernel Code Execution.
CWE
  • External Control of System or Configuration Setting
Impacted products
Vendor Product Version CPE status
n/a EMUI;Magic UI;HarmonyOS Affected: EMUI 11.0.0,EMUI 10.1.1,EMUI 10.1.0
Affected: Magic UI 4.0.0,Magic UI 3.1.1,Magic UI 3.1.0
Affected: HarmonyOS 2.0
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T18:44:13.299Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://consumer.huawei.com/en/support/bulletin/2021/6/"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://device.harmonyos.com/cn/docs/security/update/oem_security_update_phone_202106-0000001165452077"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "EMUI;Magic UI;HarmonyOS",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "EMUI 11.0.0,EMUI 10.1.1,EMUI 10.1.0"
            },
            {
              "status": "affected",
              "version": "Magic UI 4.0.0,Magic UI 3.1.1,Magic UI 3.1.0"
            },
            {
              "status": "affected",
              "version": "HarmonyOS 2.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "A component of the Huawei smartphone has a External Control of System or Configuration Setting vulnerability. Local attackers may exploit this vulnerability to cause Kernel Code Execution."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "External Control of System or Configuration Setting",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2021-08-10T13:04:34.000Z",
        "orgId": "25ac1063-e409-4190-8079-24548c77ea2e",
        "shortName": "huawei"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://consumer.huawei.com/en/support/bulletin/2021/6/"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://device.harmonyos.com/cn/docs/security/update/oem_security_update_phone_202106-0000001165452077"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "psirt@huawei.com",
          "ID": "CVE-2021-22385",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "EMUI;Magic UI;HarmonyOS",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "EMUI 11.0.0,EMUI 10.1.1,EMUI 10.1.0"
                          },
                          {
                            "version_value": "Magic UI 4.0.0,Magic UI 3.1.1,Magic UI 3.1.0"
                          },
                          {
                            "version_value": "HarmonyOS 2.0"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "A component of the Huawei smartphone has a External Control of System or Configuration Setting vulnerability. Local attackers may exploit this vulnerability to cause Kernel Code Execution."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "External Control of System or Configuration Setting"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://consumer.huawei.com/en/support/bulletin/2021/6/",
              "refsource": "MISC",
              "url": "https://consumer.huawei.com/en/support/bulletin/2021/6/"
            },
            {
              "name": "https://device.harmonyos.com/cn/docs/security/update/oem_security_update_phone_202106-0000001165452077",
              "refsource": "MISC",
              "url": "https://device.harmonyos.com/cn/docs/security/update/oem_security_update_phone_202106-0000001165452077"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "25ac1063-e409-4190-8079-24548c77ea2e",
    "assignerShortName": "huawei",
    "cveId": "CVE-2021-22385",
    "datePublished": "2021-08-10T13:04:34.000Z",
    "dateReserved": "2021-01-05T00:00:00.000Z",
    "dateUpdated": "2024-08-03T18:44:13.299Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2021-22385",
      "date": "2026-09-17",
      "epss": "0.00198",
      "percentile": "0.09802"
    },
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:huawei:emui:10.1.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"66AC7F91-917C-40A6-9983-A339EFB091F1\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:huawei:emui:10.1.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"A7FF0AD1-22C2-423B-822A-E6496CEDAB02\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:huawei:emui:11.0.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"0B701EC6-8208-4D22-95A6-B07D471A8A8B\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:huawei:magic_ui:3.1.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"EFAE846A-00EA-417F-B66F-1F5396BB6139\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:huawei:magic_ui:3.1.1:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"B655712B-E86C-4BD2-8A99-AEA382C520E7\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:huawei:magic_ui:4.0.0:*:*:*:*:*:*:*\", \"matchCriteriaId\": \"F6066FAB-23F5-4CB2-B89E-B00F8835AC39\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"A component of the Huawei smartphone has a External Control of System or Configuration Setting vulnerability. Local attackers may exploit this vulnerability to cause Kernel Code Execution.\"}, {\"lang\": \"es\", \"value\": \"Un componente del smartphone de Huawei, presenta una vulnerabilidad de Control Externo del Sistema o de los Ajustes de Configuraci\\u00f3n. Unos atacantes locales pueden explotar esta vulnerabilidad para causar una Ejecuci\\u00f3n de C\\u00f3digo del Kernel\"}]",
      "id": "CVE-2021-22385",
      "lastModified": "2024-11-21T05:50:01.297",
      "metrics": "{\"cvssMetricV31\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 1.8, \"impactScore\": 5.9}], \"cvssMetricV2\": [{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"cvssData\": {\"version\": \"2.0\", \"vectorString\": \"AV:L/AC:L/Au:N/C:C/I:C/A:C\", \"baseScore\": 7.2, \"accessVector\": \"LOCAL\", \"accessComplexity\": \"LOW\", \"authentication\": \"NONE\", \"confidentialityImpact\": \"COMPLETE\", \"integrityImpact\": \"COMPLETE\", \"availabilityImpact\": \"COMPLETE\"}, \"baseSeverity\": \"HIGH\", \"exploitabilityScore\": 3.9, \"impactScore\": 10.0, \"acInsufInfo\": false, \"obtainAllPrivilege\": false, \"obtainUserPrivilege\": false, \"obtainOtherPrivilege\": false, \"userInteractionRequired\": false}]}",
      "published": "2021-08-10T14:15:07.173",
      "references": "[{\"url\": \"https://consumer.huawei.com/en/support/bulletin/2021/6/\", \"source\": \"psirt@huawei.com\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"https://device.harmonyos.com/cn/docs/security/update/oem_security_update_phone_202106-0000001165452077\", \"source\": \"psirt@huawei.com\", \"tags\": [\"Broken Link\"]}, {\"url\": \"https://consumer.huawei.com/en/support/bulletin/2021/6/\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"https://device.harmonyos.com/cn/docs/security/update/oem_security_update_phone_202106-0000001165452077\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Broken Link\"]}]",
      "sourceIdentifier": "psirt@huawei.com",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-668\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-22385\",\"sourceIdentifier\":\"psirt@huawei.com\",\"published\":\"2021-08-10T14:15:07.173\",\"lastModified\":\"2024-11-21T05:50:01.297\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"A component of the Huawei smartphone has a External Control of System or Configuration Setting vulnerability. Local attackers may exploit this vulnerability to cause Kernel Code Execution.\"},{\"lang\":\"es\",\"value\":\"Un componente del smartphone de Huawei, presenta una vulnerabilidad de Control Externo del Sistema o de los Ajustes de Configuraci\u00f3n. Unos atacantes locales pueden explotar esta vulnerabilidad para causar una Ejecuci\u00f3n de C\u00f3digo del Kernel\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:L/Au:N/C:C/I:C/A:C\",\"baseScore\":7.2,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"COMPLETE\",\"integrityImpact\":\"COMPLETE\",\"availabilityImpact\":\"COMPLETE\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":3.9,\"impactScore\":10.0,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-668\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:huawei:emui:10.1.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"66AC7F91-917C-40A6-9983-A339EFB091F1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:huawei:emui:10.1.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A7FF0AD1-22C2-423B-822A-E6496CEDAB02\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:huawei:emui:11.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0B701EC6-8208-4D22-95A6-B07D471A8A8B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:huawei:magic_ui:3.1.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"EFAE846A-00EA-417F-B66F-1F5396BB6139\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:huawei:magic_ui:3.1.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B655712B-E86C-4BD2-8A99-AEA382C520E7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:huawei:magic_ui:4.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"F6066FAB-23F5-4CB2-B89E-B00F8835AC39\"}]}]}],\"references\":[{\"url\":\"https://consumer.huawei.com/en/support/bulletin/2021/6/\",\"source\":\"psirt@huawei.com\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://device.harmonyos.com/cn/docs/security/update/oem_security_update_phone_202106-0000001165452077\",\"source\":\"psirt@huawei.com\",\"tags\":[\"Broken Link\"]},{\"url\":\"https://consumer.huawei.com/en/support/bulletin/2021/6/\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://device.harmonyos.com/cn/docs/security/update/oem_security_update_phone_202106-0000001165452077\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Broken Link\"]}]}}",
    "redhat_vex": {
      "current_release_date": "2026-03-27T14:51:16+00:00",
      "cve": "CVE-2021-22385",
      "id": "CVE-2021-22385",
      "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-22385",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-22385.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…

Detection rules are retrieved from Rulezet.

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…