CVE-2021-40035: Samba - Buffer Overflow
- Cve: CVE-2021-40035
- Name: Samba - Buffer Overflow
- Description: There is a Buffer overflow vulnerability due to a boundary error with the Samba server in the file management module in smartphones. Successful exploitation of this vulnerability may affect function stability.
- Impact: Attackers can cause application crashes or instability, potentially leading to denial of service.
- Remediation: Update Samba to the latest version where the buffer overflow is fixed.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service
- Requirement type: none
- 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:N/A:H
- Epss score: 0.00817
- Epss percentile: 0.58053
- Assignee: [email protected]
- Published at: 2022-01-10T14:10:22Z
- Age in days: 1779
- Modified at: 2026-06-17T04:06:25Z
- Patch available: yes
- References total: 2
- Products total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40035
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input |
References
| Url | Source | Tags |
|---|---|---|
| https://consumer.huawei.com/en/support/bulletin/2022/1/ | nvd | Vendor Advisory |
| https://device.harmonyos.com/en/docs/security/update/security-bulletins-202201-0000001238736331 | 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