Vulnerability · Published Nov 15, 2021 · Assigned by mitre
CVE-2021-43620
High 7.5
In plain English
A high-severity security flaw in the affected software. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities).
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.4%top 28.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
References
- https://github.com/nvzqz/fruity/issues/14 x_refsource_MISC
- https://github.com/rustsec/advisory-db/pull/1102 x_refsource_MISC
- https://rustsec.org/advisories/RUSTSEC-2021-0123.html x_refsource_MISC