Out-of-bounds Read Affecting simd-json package, versions >0.1.13 <0.1.15


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-SIMDJSON-460315
  • published27 Aug 2019
  • disclosed24 Jun 2019
  • creditHeinz N. Gies

Introduced: 24 Jun 2019

CVE-2019-15550  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade simd-json to version 0.1.15 or higher.

Overview

simd-json is a Rust port of simdjson JSON parser with serde compatibility.

Affected versions of this package are vulnerable to Out-of-bounds Read. The crate does not guard against accessing memory beyond the range of its input data. A pointer cast to read the data into a 256-bit register can lead to a segmentation fault when the end plus the 32 bytes (256 bit) read would overlap into the next page during string parsing.

CVSS Scores

version 3.1