Live threats

All CVEs / Fruity Project

CVE-2021-43620Fruity Project Fruity

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
No
Published
Nov 15, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fruity.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io fruity ≥ 0.1.0 < 0.3.0 0.3.0 cargo update -p fruity --precise 0.3.0
crates.io fruity ≥ 0.1.0 < 0.3.0 0.3.0 cargo update -p fruity --precise 0.3.0

Per OSV / GitHub Advisories (GHSA-h352-g5vw-3926, RUSTSEC-2021-0123). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fruity_projectfruity0.1.0
fruity_projectfruity0.2.0

Official sources

References

Links published by the sources. Open them with care.