cve.bz

CVE-2021-43620

7.5 highEPSS 1.4%

High (7.5) in fruity project fruity. EPSS 1.4% chance of exploitation in the next 30 days. Fixed in fruity 0.3.0.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.4% chance of exploitation in the next 30 days; higher than 71% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h352-g5vw-3926crates.iofruity>=0.1.0 <0.3.00.3.0
RUSTSEC-2021-0123crates.iofruity>=0.1.0 <0.3.00.3.0

References

Check your stackJSON