CVE-2021-43620Fruity Project Fruity
High 7.5 No auth needed
Follow: this CVE · Fruity Project · Fruity Project Fruity We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Fruity.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| fruity_project | fruity | 0.1.0 |
| fruity_project | fruity | 0.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch
- github.com Exploit Patch Third Party Advisory
- rustsec.org Exploit Third Party Advisory