CVE intelligence and bounded remediation
CVE-2017-2784 — Trustedfirmware Mbed Tls security vulnerability
An exploitable free of a stack pointer vulnerability exists in the x509 certificate parsing code of ARM mbed TLS before 1.3.19, 2.x before 2.1.7, and 2.4.x before 2.4.2. A specially crafted x509 certificate, when parsed by mbed TLS library, can cause an invalid free of a stack pointer leading to a potential remote code execution. In order to exploit this vulnerability, an attacker can act as either a client or a server on a network to deliver malicious x509 certificates to vulnerable applications.
- Severity
- High
- CVSS
- 8.1 (3.0)
- Published
- 2017-04-20
- CISA KEV
- Not currently listed
- Ecosystem
- software/application
- Weaknesses
- CWE-295
Affected products
- trustedfirmware / mbed_tls
- trustedfirmware / mbed_tls / 2.0.0
- trustedfirmware / mbed_tls / 2.1.0
- trustedfirmware / mbed_tls / 2.1.1
- trustedfirmware / mbed_tls / 2.1.2
- trustedfirmware / mbed_tls / 2.1.3
Matched remediation archetype
Cryptography, certificate, signature, and channel validation
This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.
Check exposure
- Inventory affected algorithms, key uses, trust stores, certificate validation settings, random sources, and plaintext channels across clients and services.
- Determine which secrets, identities, signatures, or data protections depend on the affected primitive or validation path.
- Check debug, compatibility, fallback, and hostname or audience override settings in build and runtime configuration.
Remediate safely
- Use a maintained platform cryptographic API with approved algorithms, modes, parameters, randomness, and full peer identity validation.
- Remove insecure fallback and validation bypasses; separate keys by purpose and load them from managed secret storage.
- Plan rotation or reissuance for affected keys, certificates, tokens, hashes, or ciphertext and document compatibility sequencing.
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.