Debian LinuxOperating system · Debian

CVE-2017-2520

CRITICAL · 9.8 CVSS v3.0 Published 2017-05-22
Fix available
A fix is available. Upgrade to 3.2.2 / 10.2.1 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

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
An issue was discovered in certain Apple products. iOS before 10.3.2 is affected. macOS before 10.12.5 is affected. tvOS before 10.2.1 is affected. watchOS before 3.2.2 is affected. The issue involves the "SQLite" component. It allows remote attackers to execute arbitrary code or cause a denial of service (buffer overflow and application crash) via a crafted SQL statement.

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 buffer overflow vulnerability in the SQLite component in Apple iOS, macOS, tvOS, and watchOS allows remote attackers to execute arbitrary code or cause denial of service by submitting a crafted SQL statement. The critical CVSS score of 9.8 indicates the vulnerability is remotely exploitable and can lead to full system compromise.

MitigationApply the vendor-supplied updates: iOS 10.3.2 or later, macOS 10.12.5 or later, tvOS 10.2.1 or later, and watchOS 3.2.2 or later. Prioritize externally-facing and high-value devices given the remote attack vector.

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
Debian LinuxOperating system
Affected:= 8.0
Iphone OsOperating system
Affected:< 10.3.2
Mac Os XOperating system
Affected:< 10.12.5
TvosOperating system
Affected:< 10.2.1
WatchosOperating system
Affected:< 3.2.2

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
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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. Identify the operating system product
    Determine whether the system is running Apple iOS, macOS, tvOS, watchOS, or Debian Linux. This can be done via system information or /etc/os-release on Linux.
    Affected if The system runs any of the affected products (iOS, macOS, tvOS, watchOS, or Debian 8.0)
  2. Check the installed iOS version
    On iOS devices, go to Settings > General > About and note the version number. Compare it to 10.3.2.
    Affected if iOS version is less than 10.3.2
  3. Check the installed macOS version
    On macOS, click the Apple menu > About This Mac and note the version number. Compare it to 10.12.5.
    Affected if macOS version is less than 10.12.5
  4. Check the installed tvOS or watchOS version
    On Apple TV, go to Settings > General > About. On Apple Watch, open the Watch app on iPhone > General > About. Compare versions to 10.2.1 (tvOS) or 3.2.2 (watchOS).
    Affected if tvOS version is less than 10.2.1 OR watchOS version is less than 3.2.2
  5. Check the installed Debian version
    On Debian Linux, run 'cat /etc/debian_version' or 'lsb_release -a' to confirm version 8.0.
    Affected if Debian version is exactly 8.0

The system is affected if it runs iOS < 10.3.2, macOS < 10.12.5, tvOS < 10.2.1, watchOS < 3.2.2, or Debian 8.0, and utilizes the bundled SQLite component that processes SQL queries.

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.

dbcve · scoped
Upgrade available Upgrade to 3.2.2 / 10.2.1 / 10.3.2 or later
Fixed in 3.2.210.2.110.3.2
Interim mitigation

Apply the vendor-supplied updates: iOS 10.3.2 or later, macOS 10.12.5 or later, tvOS 10.2.1 or later, and watchOS 3.2.2 or later. Prioritize externally-facing and high-value devices given the remote attack vector.

Recommended fix High confidence

iOS 10.3.2, macOS 10.12.5, tvOS 10.2.1, watchOS 3.2.2, Debian Jessie security updates

  1. For iOS devices: Go to Settings > General > Software Update and install iOS 10.3.2 or later
  2. For Mac computers: Go to System Preferences > Software Update and install macOS 10.12.5 (Sierra) or later
  3. For Apple TV: Go to Settings > System > Software Updates and install tvOS 10.2.1 or later
  4. For Apple Watch: Pair with iPhone and install watchOS 3.2.2 through the Watch app on iPhone
  5. For Debian Linux 8.0 (Jessie): Run 'apt-get update && apt-get upgrade' to apply available security patches, or specifically search for and install sqlite3 package updates
Caveat Major OS version upgrades may introduce UI changes; ensure backup before updating; some legacy applications may not be compatible with newer OS versions

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Debian Linux Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA2.0 h
20.0 hours of engineering $3,500
Get the upgrade done

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2017-2520 — 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-2017-2520 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