Actively exploited in the wild. This CVE is on the CISA Known Exploited Vulnerabilities list — treat remediation as urgent. Federal remediation due by 10 May 2023.
iOSOperating system · Cisco

CVE-2017-6742

HIGH · 8.8 CVSS v3.1 Published 2017-07-17
Fix available
A fix is available. Upgrade to after 15.6 or later.
See remediation →
100/100
Remediation priority · Urgent
In the wild Remotely reachable 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
A vulnerability in the SNMP implementation of could allow an authenticated, remote attacker to cause a reload of the affected system or to remotely execute code. An attacker could exploit this vulnerability by sending a crafted SNMP packet to the affected device.  The vulnerability is due to a buffer overflow in the affected code area. The vulnerability affects all versions of SNMP (versions 1, 2c, and 3). The attacker must know the SNMP read only community string (SNMP version 2c or earlier) or the user credentials (SNMPv3). An exploit could allow the attacker to execute arbitrary code and obtain full control of the system or to cause a reload of the affected system. Only traffic directed to the affected system can be used to exploit this vulnerability.

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

Buffer overflow vulnerability in Cisco SNMP implementation allows authenticated remote attackers to execute arbitrary code or cause device reload via crafted SNMP packets. Affects SNMP versions 1, 2c, and 3. Requires attacker to know SNMP community string (v1/2c) or user credentials (v3).

MitigationApply Cisco patches/updates for affected devices or implement access controls to restrict SNMP access to trusted management networks only.

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
iOSOperating system
Affected:>= 12.0, <= 12.4>= 15.0, <= 15.6
Ios XeOperating system
Affected:>= 2.2.0, <= 3.17

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

CVSS:3.1/AV:N/AC:L/PR:L/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 device OS and version
    Run 'show version' or 'show inventory' to determine if the device runs Cisco iOS or IOS Xe and note the exact version number
    Affected if The device runs Cisco iOS versions 12.0 through 12.4 or 15.0 through 15.6, or Cisco IOS Xe versions 2.2.0 through 3.17
  2. Confirm SNMP is enabled
    Run 'show snmp' or 'show snmp group' to check if SNMP is configured and active on the device
    Affected if SNMP is enabled (any version: v1, v2c, or v3)
  3. Check SNMP community strings or user accounts
    Run 'show snmp community' or 'show snmp user' to view configured SNMP community strings (for v1/v2c) or SNMPv3 users
    Affected if Any SNMP community string or user account exists on the device
  4. Determine SNMP access exposure
    Review the SNMP configuration with 'show run | include snmp' and check associated access control lists (ACLs) or interface bindings to see which networks can send SNMP packets to the device
    Affected if SNMP is accessible from untrusted or management networks beyond authorized admin stations

The device is affected if it runs a vulnerable iOS (12.0-12.4 or 15.0-15.6) or IOS Xe (2.2.0-3.17) version AND has SNMP enabled with any configured community string or user credentials accessible to the attacker.

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 a release after 15.6
Interim mitigation

Apply Cisco patches/updates for affected devices or implement access controls to restrict SNMP access to trusted management networks only.

Recommended fix Moderate confidence

iOS 15.7+ or iOS 12.5+; IOS XE 3.18+

  1. 1. Identify the exact Cisco device model and current iOS/IOS XE version using 'show version' command
  2. 2. For iOS: upgrade to a version higher than 12.4 (e.g., 15.7 or later) or higher than 15.6
  3. 3. For IOS XE: upgrade to a version higher than 3.17 (e.g., 3.18 or later)
  4. 4. Download the appropriate Cisco IOS/IOS XE image from Cisco.com/software
  5. 5. Verify the image integrity using MD5/SHA512 hash provided by Cisco
  6. 6. Copy the new image to flash memory using 'copy tftp flash'
  7. 7. Set the boot system to use the new image using 'boot system flash:<filename>'
  8. 8. Reload the device using 'reload' command
Caveat Major iOS upgrades may require careful compatibility checking with existing feature sets and may result in configuration changes

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

Fix this in iOS Exploited in the wild — priority engagement
  • Consultation6.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
17.0 hours of engineering $3,090
Get it fixed fast

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

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