{"id":"CVE-2021-43620","aliases":["GHSA-h352-g5vw-3926","RUSTSEC-2021-0123"],"url":"https://o3.security/vulnerability/CVE-2021-43620","summary":"Improper Input Validation in fruity","details":"An issue was discovered in the fruity crate through 0.2.0 for Rust. Security-relevant validation of filename extensions is plausibly affected. Methods of NSString for conversion to a string may return a partial result. Because they call CStr::from_ptr on a pointer to the string buffer, the string is terminated at the first '\\0' byte, which might not be the end of the string.","published":"2021-11-15T05:15:07.913Z","modified":"2026-07-09T06:01:56.724700Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":3,"affectedPackages":[{"ecosystem":"crates.io","name":"fruity","fixedVersion":"0.3.0"}],"fix":{"url":"https://github.com/rustsec/advisory-db/pull/1102","label":"rustsec/advisory-db#1102"},"references":[{"type":"FIX","url":"https://github.com/nvzqz/fruity/issues/14"},{"type":"FIX","url":"https://github.com/rustsec/advisory-db/pull/1102"},{"type":"EVIDENCE","url":"https://rustsec.org/advisories/RUSTSEC-2021-0123.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T06:01:56.724700Z"}}