{"id":"RUSTSEC-2019-0008","summary":"Flaw in string parsing can lead to crashes due to invalid memory access.","details":"The affected version of this crate did not guard against accessing memory\nbeyond the range of its input data. A pointer cast to read the data into\na 256-bit register could lead to a segmentation fault when the end plus\nthe 32 bytes (256 bit) read would overlap into the next page during string\nparsing.\n\n```\npage   |  ...  page 1  ...  | ... page 2  ... |\ndata   | x[n * 32 byte]xx__ |                 |\naccess | ..][ 32 byte ]     |                 |\nsegflt |               [ 32 | byte ]          |\n```\n\nThis allows an attacker to eventually crash a service.\n\nThe flaw was corrected by using a padding buffer for the last read from the\ninput. So that we are we never read over the boundary of the input data.","aliases":["CVE-2019-15550","GHSA-gwfj-pw2x-h6c2"],"modified":"2023-11-08T04:01:14.101340Z","published":"2019-06-24T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/simd-json"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2019-0008.html"},{"type":"WEB","url":"https://github.com/Licenser/simdjson-rs/pull/27"}],"affected":[{"package":{"name":"simd-json","ecosystem":"crates.io","purl":"pkg:cargo/simd-json"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.14-0"},{"fixed":"0.1.15"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":["x86","x86_64"],"functions":[],"os":[]}},"database_specific":{"categories":[],"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0008.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}