CVE-2021-43620 Improper Input Validation in fruity
HighCVSS 7.5
EPSS 1.4%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io fruity(crates.io) | >= 0.1.0, < 0.3.0 | 0.3.0 | Fixed |
| fruity project fruity | = 0.1.0; = 0.2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io fruity(crates.io) | >= 0.1.0, < 0.3.0 | 0.3.0 |
| fruity project fruity | = 0.1.0 | No fix listed |
| fruity project fruity | = 0.2.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com exploit patch third-party-advisory
- rustsec.org exploit third-party-advisory vendor-advisory
- github.com
- github.com product
- crates.io product