SecurityContext

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

IdName
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization

Public exploits

UrlSourceAdded date
https://www.aisec.fraunhofer.de/en/FirmwareProtection.htmlnvd2018-09-12
https://www.usenix.org/conference/woot17/workshop-program/presentation/obermaiernvd2018-09-12

References

Same in every row:

  • Source: nvd
UrlTags
https://community.st.com/s/question/0D50X00009Xke7aSAB/readout-protection-cracked-on-stm32Vendor Advisory
https://www.aisec.fraunhofer.de/en/FirmwareProtection.htmlExploit, Third Party Advisory
https://www.usenix.org/conference/woot17/workshop-program/presentation/obermaierExploit, Third Party Advisory

Products

Same in every row:

  • Affected: all versions
  • Platform bound: yes
  • Sources: nvd
ProductUrl
st:stm32f030c6_firmware/v1/products/st/stm32f030c6_firmware
st:stm32f030c8_firmware/v1/products/st/stm32f030c8_firmware
st:stm32f030cc_firmware/v1/products/st/stm32f030cc_firmware
st:stm32f030f4_firmware/v1/products/st/stm32f030f4_firmware
st:stm32f030k6_firmware/v1/products/st/stm32f030k6_firmware
st:stm32f030r8_firmware/v1/products/st/stm32f030r8_firmware
st:stm32f030rc_firmware/v1/products/st/stm32f030rc_firmware
st:stm32f031c4_firmware/v1/products/st/stm32f031c4_firmware
st:stm32f031c6_firmware/v1/products/st/stm32f031c6_firmware
st:stm32f031e6_firmware/v1/products/st/stm32f031e6_firmware

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