CVE intelligence and bounded remediation

CVE-2017-18347 — St Stm32F071Rb Firmware security vulnerability

Medium CVSS 4.9

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.

Severity
Medium
CVSS
4.9 (2.0)
Published
2018-09-12
CISA KEV
Not currently listed
Ecosystem
operating-system
Weaknesses
CWE-362

Affected products

  • st / stm32f071rb_firmware
  • st / stm32f071v8_firmware
  • st / stm32f071vb_firmware
  • st / stm32f072c8_firmware
  • st / stm32f072cb_firmware
  • st / stm32f072r8_firmware

Showing 6 representative product identities from 73 source matches. Confirm exact affected versions with the linked vendor and NVD evidence.

Matched remediation archetype

Race condition, TOCTOU, and lifecycle synchronization

This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.

Check exposure

  • Map concurrent actors, shared state, lock boundaries, signals, callbacks, retries, and check-then-use sequences in the affected path.
  • Determine whether untrusted users can influence timing, object names, filesystem state, or repeated state transitions.
  • Identify clustered and multi-process behavior that repository-local tests may not represent.

Remediate safely

  • Make the sensitive state transition atomic or protect it with a consistently ordered synchronization primitive.
  • Perform authorization and invariant checks on the same authoritative object and transaction used for the operation.
  • Use unique private resources, safe ownership transfer, and idempotent operations; add deterministic concurrency regression tests.

Authoritative sources

Complete CVE record and remediation plan

The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.