{
  "crds_version": "0.1",
  "kind": "base",
  "id": "crds:cve-2017-12240",
  "revision": 1,
  "title": "Cisco IOS and IOS XE — DHCP relay buffer overflow RCE",
  "summary": "A buffer overflow in the Dynamic Host Configuration Protocol (DHCP) relay of Cisco's router operating system (IOS and IOS XE) lets an unauthenticated attacker send one crafted packet to run code and take full control of the device, or crash it.",
  "summary_short": "A buffer overflow in the DHCP relay of Cisco IOS and IOS XE lets an unauthenticated attacker run code and take full control of the device.",
  "source_type": "cve",
  "severity": "critical",
  "cvss": {
    "score": 9.8,
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "version": "3.1"
  },
  "epss": 0.13773,
  "exploitation": {
    "known_exploited": true,
    "exploit_available": false,
    "attack_complexity": "low",
    "kev_added": "2022-03-03",
    "kev_due": "2022-03-24",
    "prerequisites": "Device acting as a DHCP relay and reachable by the attacker with a crafted DHCPv4 packet; no credentials needed."
  },
  "remediation": {
    "patch_available": true
  },
  "mitre_attack": [
    "T1190"
  ],
  "kill_chain": "initial_access",
  "recommended_action": "Upgrade affected IOS and IOS XE devices per the Cisco advisory now; until patched, limit which hosts can send DHCP traffic to relay interfaces.",
  "action_short": "Upgrade affected IOS and IOS XE devices per the Cisco advisory now.",
  "confidence": "high",
  "provenance": [
    {
      "fields": [
        "cvss",
        "exploitation.attack_complexity",
        "exploitation.exploit_available",
        "published_at",
        "references"
      ],
      "source": "https://nvd.nist.gov/vuln/detail/CVE-2017-12240",
      "retrieved_at": "2026-11-15T13:40:35.168Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "exploitation.known_exploited",
        "exploitation.kev_added",
        "exploitation.kev_due"
      ],
      "source": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "retrieved_at": "2026-11-15T13:40:35.168Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "epss"
      ],
      "source": "https://api.first.org/data/v1/epss?cve=CVE-2017-12240",
      "retrieved_at": "2026-11-15T13:40:35.168Z",
      "confidence": "high",
      "extractor": "scrty-crds-pipeline/0.1"
    },
    {
      "fields": [
        "title",
        "subtitle",
        "summary",
        "severity",
        "remediation",
        "mitre_attack",
        "kill_chain",
        "recommended_action",
        "confidence",
        "tags",
        "exploitation.prerequisites",
        "summary_short",
        "action_short"
      ],
      "source": "https://nvd.nist.gov/vuln/detail/CVE-2017-12240",
      "retrieved_at": "2026-11-15T13:40:35.168Z",
      "confidence": "high",
      "extractor": "claude-code"
    }
  ],
  "references": [
    {
      "type": "cve",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12240",
      "label": "NVD record"
    },
    {
      "type": "cisa",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "label": "CISA Known Exploited Vulnerabilities catalog"
    },
    {
      "type": "vendor_advisory",
      "url": "https://quickview.cloudapps.cisco.com/quickview/bug/CSCsm45390"
    },
    {
      "type": "vendor_advisory",
      "url": "https://quickview.cloudapps.cisco.com/quickview/bug/CSCuw77959"
    },
    {
      "type": "vendor_advisory",
      "url": "https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170927-dhcp"
    }
  ],
  "published_at": "2017-09-29T01:34:49.077Z",
  "issued_at": "2026-11-15T13:40:35.168Z",
  "tags": [
    "cisco",
    "ios",
    "ios-xe",
    "dhcp",
    "buffer-overflow",
    "rce",
    "kev"
  ]
}
