# CVE-2019-15543: RUSTSEC-2019-0002 - Bug in SliceDeque::move_head_unchecked corrupts its memory

Source: https://junglewise.ai/threats/cve-2019-15543-out-of-bounds-write-in-slice-deque  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-05-07  
License: CC BY 4.0 with a link back

CVE-2019-15543 · Severity: low · CVSS 3 · Published 2019-05-07

Bug in SliceDeque::move_head_unchecked corrupts its memory

Technologies: [slice-deque (crates.io)](https://junglewise.ai/threats/technologies/slice-deque). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2019-15543 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-15543 being exploited in the wild.

**How severe is CVE-2019-15543?** Low severity, with a CVSS score of 3, published 7 May 2019.

**Which products and versions are affected?** slice-deque (crates.io) SEMVER:introduced=0,fixed=0.2.0, SEMVER:introduced=0.0.0-0,fixed=0.2.0.

**Is there a fix for CVE-2019-15543?** Yes. slice-deque (crates.io): upgrade to 0.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-15543?** Check whether you run slice-deque (crates.io) 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

- slice-deque (crates.io): upgrade to 0.2.0 or later

  ```sh
  cargo update -p slice-deque
  ```


## Affected products

- slice-deque (crates.io) SEMVER:introduced=0,fixed=0.2.0, SEMVER:introduced=0.0.0-0,fixed=0.2.0

## Identifiers

- CVE-2019-15543
- GHSA-c3m3-c39q-pv23
- RUSTSEC-2019-0002

## Related threats

- [Slice Ring Buffer and Slice Deque contains four unique double-free vulnerabilities triggered through safe APIs](https://junglewise.ai/threats/slice-ring-buffer-and-slice-deque-contains-four-unique-double-free-02dde4ab)
- [RUSTSEC-2021-0047 - SliceDeque::drain_filter can double drop an element if the predicate panics](https://junglewise.ai/threats/cve-2021-29938-double-free-in-slice-deque)
- [RUSTSEC-2020-0158 - slice-deque is unmaintained](https://junglewise.ai/threats/rustsec-2020-0158-slice-deque-is-unmaintained-3061c768)
- [RUSTSEC-2018-0008 - Bug in SliceDeque::move_head_unchecked allows read of corrupted memory](https://junglewise.ai/threats/cve-2018-20995-memory-corruption-slice-deque)
