CVE-2021-40047: Bastet Module - Memory Leak
- Cve: CVE-2021-40047
- Name: Bastet Module - Memory Leak
- Description: There is a vulnerability of memory not being released after effective lifetime in the Bastet module. Successful exploitation of this vulnerability may affect integrity.
- Impact: Potential integrity compromise due to memory not being properly released, leading to possible data corruption or unexpected behavior.
- Remediation: Update to the latest version of Bastet module or apply patches that fix memory management issues.
- Vulnerability impact: data_tampering
- Requirements: Specific conditions needed to trigger the memory leak
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.0061
- Epss percentile: 0.49941
- Assignee: [email protected]
- Published at: 2022-03-10T17:43:16Z
- Age in days: 1720
- Modified at: 2026-06-17T04:06:27Z
- References total: 2
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40047
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime |
References
| Url | Source | Tags |
|---|---|---|
| https://consumer.huawei.com/en/support/bulletin/2022/3/ | nvd | Vendor Advisory |
| https://device.harmonyos.com/cn/docs/security/update/security-bulletins-phones-202203-0000001257385193 | nvd | Vendor Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| huawei:harmonyos | = 2.0 | /v1/products/huawei/harmonyos |
| huawei:emui | = 12.0.0, = 11.0.1, = 11.0.0, = 10.1.1, = 10.1.0, = 10.0.0 | /v1/products/huawei/emui |
| huawei:magic_ui | = 4.0.0, = 3.1.1, = 3.1.0, = 3.0.0 | /v1/products/huawei/magic_ui |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts