Skip to content
OpenAdvisories
High · 7.5 CVE-2021-43620 EUVD-2021-2353GHSA-h352-g5vw-3926RUSTSEC-2021-0123

Improper Input Validation in fruity

Published Nov 15, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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 packages

EcosystemPackageAffectedFixedRecord
crates.io fruity >= 0.1.0, < 0.3.0 0.3.0 GHSA-h352-g5vw-3926

References