Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NAffected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/nvzqz/fruity/issues/14Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/rustsec/advisory-db/pull/1102Exploit, Patch, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0123.htmlExploit, Third Party Advisory
- https://github.com/nvzqz/fruity/issues/14Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/rustsec/advisory-db/pull/1102Exploit, Patch, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0123.htmlExploit, Third Party Advisory
Timeline
- Published
- Nov 15, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified