CVE-2019-15550: Simd json Out Of Bounds Read Vulnerability
HIGHCVE-2019-15550 is a HIGH (CVSS 7.5) out of bounds read vulnerability (CWE-125: Out-of-bounds Read) affecting Simd json libraries in the crates.io ecosystem. The issue involves out of bounds read in simd-json. Remediation is available by upgrading affected packages to version 0.1.15.
CVE-2019-15550 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2019-15550
To remediate this vulnerability, upgrade all affected Simd json dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade simd-json to 0.1.15
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for simd-json
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-15550, inspect your project dependencies for Simd json:
inspect dependencies for simd-json
Analyze the terminal output to locate any version of Simd json in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.15), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Simd json, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-15550 Affected Simd json Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
simd-json
|
crates.io |
≥ 0.1.13
< 0.1.15
|
0.1.15
|
References
Frequently Asked Questions
What is CVE-2019-15550?
Which Simd json versions are affected?
What version fixes CVE-2019-15550?
Is simd-json affected?
What is the CVSS score of CVE-2019-15550?
What CWE is associated with CVE-2019-15550?
How can I check crates.io dependencies for CVE-2019-15550?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gwfj-pw2x-h6c2",
"modified" : "2023-06-13T21:01:35Z",
"published" : "2021-08-25T20:43:56Z",
"aliases" : [ "CVE-2019-15550" ],
"summary" : "Out of bounds read in simd-json",
"details" : "The affected version of this crate did not guard against accessing memory beyond the range of its input data. A pointer cast to read the data into a 256-bit register could lead to a segmentation fault when the end plus the 32 bytes (256 bit) read would overlap into the next page during string parsing. This allows an attacker to eventually crash a service. The flaw was corrected by using a padding buffer for the last read from the input. So that we are we never read over the boundary of the input data.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "simd-json"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.1.13"
}, {
"fixed" : "0.1.15"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-15550"
}, {
"type" : "WEB",
"url" : "https://github.com/Licenser/simdjson-rs/pull/27"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Licenser/simdjson-rs"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2019-0008.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-08-19T21:23:48Z",
"nvd_published_at" : null
}
}