{"cve":"CVE-2021-43620","nvd":{"published":"2021-11-15T05:15:07.913","modified":"2026-06-17T04:11:12.523","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":[],"references":["https://github.com/nvzqz/fruity/issues/14","https://github.com/rustsec/advisory-db/pull/1102","https://rustsec.org/advisories/RUSTSEC-2021-0123.html","https://github.com/nvzqz/fruity/issues/14","https://github.com/rustsec/advisory-db/pull/1102"],"products":["fruity_project:fruity"],"source":"nvd","synced_at":"2026-10-19T21:25:41.256909649+00:00"},"epss":{"cve":"CVE-2021-43620","score":0.01358,"percentile":0.71675,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-h352-g5vw-3926","url":"https://osv.dev/vulnerability/GHSA-h352-g5vw-3926","summary":"Improper Input Validation in fruity","modified":"2023-11-08T04:07:11.140379Z","packages":[{"ecosystem":"crates.io","name":"fruity","purl":"pkg:cargo/fruity","ranges":[">=0.1.0 <0.3.0"],"fixed":["0.3.0"]}]},{"id":"RUSTSEC-2021-0123","url":"https://osv.dev/vulnerability/RUSTSEC-2021-0123","summary":"Converting `NSString` to a String Truncates at Null Bytes","modified":"2023-11-08T04:07:11.140379Z","packages":[{"ecosystem":"crates.io","name":"fruity","purl":"pkg:cargo/fruity","ranges":[">=0.1.0 <0.3.0"],"fixed":["0.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}