high7.5
CVE-2021-43620
An issue was discovered in the fruity crate through 0.2.0 for Rust.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Fruity Project | Fruity | Versions 0.1.0, 0.2.0 |
References
- NVD record
- CVE.org record
- https://github.com/nvzqz/fruity/issues/14
- https://github.com/rustsec/advisory-db/pull/1102
- https://rustsec.org/advisories/RUSTSEC-2021-0123.html
- https://github.com/nvzqz/fruity/issues/14
- https://github.com/rustsec/advisory-db/pull/1102
- https://rustsec.org/advisories/RUSTSEC-2021-0123.html