PT-2019-14266 · Rust · Simdjson
Published
2019-06-24
·
Updated
2021-08-25
·
CVE-2019-15550
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
simd-json crate versions prior to 0.1.15
Description
The issue is related to an out-of-bounds read and incorrect crossing of a page boundary, which can lead to a segmentation fault when parsing strings. This occurs because the affected version of the crate does not guard against accessing memory beyond the range of its input data. Specifically, a pointer cast to read data into a 256-bit register can cause the issue when the end of the read overlaps into the next page. This allows an attacker to potentially crash a service.
Recommendations
For versions prior to 0.1.15, update to version 0.1.15 or later, which includes a fix that uses a padding buffer for the last read from the input to prevent reading over the boundary of the input data.
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Simdjson