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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-2353 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.
Github GHSA Github GHSA GHSA-h352-g5vw-3926 Improper Input Validation in fruity
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T04:03:08.340Z

Reserved: 2021-11-15T00:00:00

Link: CVE-2021-43620

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-11-15T05:15:07.913

Modified: 2024-11-21T06:29:31.913

Link: CVE-2021-43620

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses