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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
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 |
GHSA-h352-g5vw-3926 | Improper Input Validation in fruity |
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-04T04:03:08.340Z
Reserved: 2021-11-15T00:00:00.000Z
Link: CVE-2021-43620
No data.
Status : Modified
Published: 2021-11-15T05:15:07.913
Modified: 2024-11-21T06:29:31.913
Link: CVE-2021-43620
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA