CVE-2018-0497
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedARM mbed TLS before 2.12.0, before 2.7.5, and before 2.1.14 allows remote attackers to achieve partial plaintext recovery (for a CBC based ciphersuite) via a timing-based side-channel attack. This vulnerability exists because of an incorrect fix (with a wrong SHA-384 calculation) for CVE-2013-0169.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceARM mbed TLS contains a timing-based side-channel vulnerability in CBC mode ciphersuite handling that allows partial plaintext recovery. The flaw stems from an incorrect fix for CVE-2013-0169 (Lucky Thirteen), where the SHA-384 calculation used in padding validation was implemented incorrectly, creating a detectable timing difference that can be exploited remotely.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 8.0= 9.0< 2.1.14>= 2.2.0, < 2.7.5>= 2.8.0, < 2.12.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if mbed TLS libraries are installedSearch for mbed TLS library files: run 'dpkg -l | grep mbed' on Debian systems, or check for files named 'libmbedtls.so', 'libmbedcrypto.so', or 'libmbedx509.so' in standard library directories (/usr/lib, /lib)Affected if Any mbed TLS library package is found on the system
-
Determine the installed mbed TLS versionRun 'dpkg -l | grep mbed' to list installed mbed TLS packages with their versions, or use 'openssl version -a' if linked against mbed TLS, or check library file metadata using 'dpkg -s <package-name>'Affected if The version displayed falls within any of these ranges: < 2.1.14, >= 2.2.0 and < 2.7.5, >= 2.8.0 and < 2.12.0
-
Check if TLSCBC mode cipher suites are enabled or availableReview TLS server configuration or application settings to determine if CBC-based cipher suites (such as TLS_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, etc.) are listed in the enabled cipher suite setAffected if CBC-mode cipher suites are included in the enabled TLS cipher suite list and the server accepts CBC-based connections
-
Verify the vulnerable SHA-384 padding check code is in useIf possible, inspect TLS handshake traffic or server configuration to confirm that cipher suites using SHA-384 in HMAC (e.g., AES_256_CBC_SHA384) are negotiated, or check if the mbed TLS source linked against the application includes the vulnerable SHA-384 padding validation routineAffected if A TLS connection negotiates a CBC-mode cipher suite that uses SHA-384 for HMAC-based padding validation
The system is affected if a vulnerable mbed TLS version (as identified in step 2) is installed AND the system is configured to accept or use CBC-mode cipher suites in TLS connections.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor data2.1.142.7.52.12.0
Upgrade mbed TLS to version 2.12.0, 2.7.5, or 2.1.14 or later to obtain the corrected SHA-384 implementation. Alternatively, prefer AEAD ciphersuites (GCM, CCM) over CBC-based ciphersuites to eliminate this attack surface.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-0497 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2018-0497 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data