SnappyApplication · Google

CVE-2018-7577

HIGH · 8.1 CVSS v3.0 Published 2019-04-24
Fix available
A fix is available. Upgrade to 1.7.1 or later.
See remediation →
88/100
Remediation priority · High
Remotely reachable No privileges

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 · unedited
Memcpy parameter overlap in Google Snappy library 1.1.4, as used in Google TensorFlow before 1.7.1, could result in a crash or read from other parts of process memory.

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 confidence

A memcpy parameter overlap vulnerability exists in Google Snappy library 1.1.4, as used in Google TensorFlow before version 1.7.1. When memcpy source and destination buffers overlap, the behavior is undefined and can lead to memory corruption, causing a crash or allowing read from arbitrary memory locations outside the intended buffer boundaries.

MitigationUpgrade TensorFlow to version 1.7.1 or later which includes a patched version of the Snappy library that properly handles overlapping memory regions in memcpy operations.

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
SnappyApplication
Affected:= 1.1.4
TensorflowApplication
Affected:< 1.7.1

CVSS 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
Low
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

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 checks

Work through these to decide whether this CVE applies to you.

  1. Check TensorFlow version
    Run 'python -c "import tensorflow; print(tensorflow.__version__)"' or check your installed TensorFlow package version through pip (pip show tensorflow) or your package manager
    Affected if TensorFlow version is lower than 1.7.1 (e.g., 1.7.0, 1.6.x, 1.5.x, etc.)
  2. Identify Snappy library dependency
    Check if your application or TensorFlow package links to the Snappy library by examining dependencies: pip show tensorflow (look for snappy in Requires), or run 'ldd' on TensorFlow shared libraries if using C++ deployment, or check for snappy in pip freeze output
    Affected if Snappy library is present as a dependency of TensorFlow or directly used in your environment
  3. Verify Snappy library version
    Run 'python -c "import snappy; print(snappy.__version__)"' if snappy Python binding is installed, or check the installed snappy package version via pip (pip show python-snappy)
    Affected if Snappy version is exactly 1.1.4
  4. Check for overlapping memcpy usage
    Review application code or library usage for calls to snappy::RawUncompress, snappy::Uncompress, or similar decompression functions that internally invoke memcpy on overlapping buffers; this typically requires source code review or runtime debugging
    Affected if Your workload uses Snappy decompression functions that process data with overlapping source/destination memory regions

Your environment is affected if TensorFlow version is below 1.7.1, or if Snappy library version 1.1.4 is directly used, and your workload triggers the overlapping memcpy code path during Snappy decompression operations.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 data
Upgrade available Upgrade to 1.7.1 or later
Fixed in 1.7.1
Interim mitigation

Upgrade TensorFlow to version 1.7.1 or later which includes a patched version of the Snappy library that properly handles overlapping memory regions in memcpy operations.

Fix this in Snappy Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA3.0 h
16.0 hours of engineering $2,760
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,416.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2018-7577 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2018-7577 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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