GHSA-wqxc-qrq4-w5v4

Suggest an improvement
Source
https://github.com/advisories/GHSA-wqxc-qrq4-w5v4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-wqxc-qrq4-w5v4/GHSA-wqxc-qrq4-w5v4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wqxc-qrq4-w5v4
Aliases
Published
2021-08-25T21:01:33Z
Modified
2023-11-08T04:03:41.840994Z
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
Update unsound DrainFilter and RString::retain
Details

An issue was discovered in the abi_stable crate before 0.9.1 for Rust. A retain call can create an invalid UTF-8 string, violating soundness.

Database specific
{
    "nvd_published_at": "2021-01-26T18:15:00Z",
    "github_reviewed_at": "2021-07-26T17:18:54Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-172"
    ]
}
References

Affected packages

crates.io / abi_stable

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.1