GHSA-gwfj-pw2x-h6c2

Suggest an improvement
Source
https://github.com/advisories/GHSA-gwfj-pw2x-h6c2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-gwfj-pw2x-h6c2/GHSA-gwfj-pw2x-h6c2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gwfj-pw2x-h6c2
Aliases
Published
2021-08-25T20:43:56Z
Modified
2023-11-08T04:01:14.101340Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-125"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:23:48Z"
}
References

Affected packages

crates.io / simd-json

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.1.13
Fixed
0.1.15