CVE-2017-18347: STMicroelectronics STM32F0 - Race Condition
- Cve: CVE-2017-18347
- Name: STMicroelectronics STM32F0 - Race Condition
- Description: Incorrect access control in RDP Level 1 on STMicroelectronics STM32F0 series devices allows physically present attackers to extract the device's protected firmware via a special sequence of Serial Wire Debug (SWD) commands because there is a race condition between full initialization of the SWD interface and the setup of flash protection.
- Impact: Attackers with physical access can extract protected firmware, potentially leading to firmware cloning or reverse engineering.
- Remediation: Implement proper synchronization during SWD interface initialization and flash protection setup, or update device firmware if available.
- Vulnerability type: race_condition
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.6
- Cvss vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.004
- Epss percentile: 0.35004
- Assignee: [email protected]
- Published at: 2018-09-12T15:29:00Z
- Age in days: 2995
- Modified at: 2026-06-17T01:12:39Z
- Public exploits total: 2
- References total: 3
- Products total: 72
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-18347
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.aisec.fraunhofer.de/en/FirmwareProtection.html | nvd | 2018-09-12 |
| https://www.usenix.org/conference/woot17/workshop-program/presentation/obermaier | nvd | 2018-09-12 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://community.st.com/s/question/0D50X00009Xke7aSAB/readout-protection-cracked-on-stm32 | Vendor Advisory |
| https://www.aisec.fraunhofer.de/en/FirmwareProtection.html | Exploit, Third Party Advisory |
| https://www.usenix.org/conference/woot17/workshop-program/presentation/obermaier | Exploit, Third Party Advisory |
Products
Same in every row:
- Affected: all versions
- Platform bound: yes
- Sources: nvd
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2018-09-12
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts