CVE-2017-6952: Capstone Integer overflow

CVE-2017-6952 · Severity: low · CVSS 3 · Published 2017-03-16

Integer overflow in the cs_winkernel_malloc function in winkernel_mm.c in Capstone 3.0.4 and earlier allows attackers to cause a denial of service (heap-based buffer overflow in a kernel driver) or possibly have unspecified other impact via a large value.

Technologies: capstone (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2017-6952 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2017-6952 being exploited in the wild.
How severe is CVE-2017-6952?
Low severity, with a CVSS score of 3, published 16 March 2017.
Which products and versions are affected?
capstone (PyPI) ECOSYSTEM:introduced=0,fixed=3.0.5rc2, GIT:introduced=0,fixed=6fe86eef621b9849f51a5e1e5d73258a93440403|ECOSYSTEM:introduced=0,fixed=3.0.5rc2.
Is there a fix for CVE-2017-6952?
Yes. capstone (PyPI): upgrade to 3.0.5rc2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2017-6952?
Check whether you run capstone (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • capstone (PyPI): upgrade to 3.0.5rc2 or later
    pip install "capstone>=3.0.5rc2"

Affected products

  • capstone (PyPI) ECOSYSTEM:introduced=0,fixed=3.0.5rc2, GIT:introduced=0,fixed=6fe86eef621b9849f51a5e1e5d73258a93440403|ECOSYSTEM:introduced=0,fixed=3.0.5rc2

Identifiers

  • CVE-2017-6952
  • GHSA-3v99-hpv7-9hh9
  • PYSEC-2017-113

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.