CVE-2021-43620

Source
https://cve.org/CVERecord?id=CVE-2021-43620
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43620.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43620
Aliases
Published
2021-11-15T05:15:07.913Z
Modified
2026-07-09T06:01:56.724700Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/nvzqz/fruity

Affected ranges

Type
GIT
Repo
https://github.com/nvzqz/fruity
Events
Database specific
{
    "source": "CPE_STRING",
    "cpe": [
        "cpe:2.3:a:fruity_project:fruity:0.1.0:*:*:*:*:rust:*:*",
        "cpe:2.3:a:fruity_project:fruity:0.2.0:*:*:*:*:rust:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0.1.0"
        },
        {
            "last_affected": "0.1.0"
        },
        {
            "introduced": "0.2.0"
        },
        {
            "last_affected": "0.2.0"
        }
    ]
}

Affected versions

0.*
0.1.0
0.2.0
v0.*
v0.1.0
v0.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43620.json"