CVEvulnerability
CVE-2021-43620
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-11-15
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
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.
Affected configurations
• fruity project fruity 0.1.0
• fruity project fruity 0.2.0
References
- https://github.com/nvzqz/fruity/issues/14 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/rustsec/advisory-db/pull/1102 Exploit, Patch, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0123.html Exploit, Third Party Advisory
- https://github.com/nvzqz/fruity/issues/14 Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/rustsec/advisory-db/pull/1102 Exploit, Patch, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0123.html Exploit, Third Party Advisory