CVE-2021-43620
Summary
| CVE | CVE-2021-43620 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-11-15 05:15:00 UTC |
| Updated | 2021-11-18 04:27:00 UTC |
| 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. |
Risk And Classification
Problem Types: NVD-CWE-Other
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Fruity Project | Fruity | 0.1.0 | All | All | All |
| Application | Fruity Project | Fruity | 0.2.0 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Add fruity advisory for nvzqz/fruity#14 by dylni · Pull Request #1102 · rustsec/advisory-db · GitHub | MISC | github.com | |
| RUSTSEC-2021-0123: fruity: Converting `NSString` to a String Truncates at Null Bytes › RustSec Advisory Database | MISC | rustsec.org | |
| `Display` for `NSString` truncates at null bytes · Issue #14 · nvzqz/fruity · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.