An issue was discovered in the fruity crate through 0.2.0 for Rust.
Priority LOW 36CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.01358 71st percentileScored 2026-11-07
Public exploit Yes 3 exploit referencesTagged by NVD
Fix Fixed fruity (crates.io): 0.3.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | fruity (crates.io) | 0.1.0 to before 0.3.0 | 0.3.0 | Patch available | GHSA-h352-g5vw-3926 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- fruity (crates.io) Vendor— Affected 0.1.0 to before 0.3.0 Fixed in 0.3.0 Patch available GHSA-h352-g5vw-3926
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:fruity_project:fruity:0.1.0:*:*:*:*:rust:*:* | 0.1.0 | Vulnerable | Fruity Project |
| cpe:2.3:a:fruity_project:fruity:0.2.0:*:*:*:*:rust:*:* | 0.2.0 | Vulnerable | Fruity Project |
- cpe:2.3:a:fruity_project:fruity:0.1.0:*:*:*:*:rust:*:* Versions 0.1.0 Vulnerable ·Fruity Project
- cpe:2.3:a:fruity_project:fruity:0.2.0:*:*:*:*:rust:*:* Versions 0.2.0 Vulnerable ·Fruity Project
Remediation
- Fix · GHSA-h352-g5vw-3926 fruity (crates.io) Fixed in 0.3.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-43620
- 2026-10-03 Alias added: GHSA-h352-g5vw-3926
References
Sources
- CVE-2021-43620 · CVE Program
- CVE-2021-43620 · NVD
- FIRST EPSS
- GHSA-h352-g5vw-3926 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences