- 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.
- Source
- cve@mitre.org
- NVD status
- Modified
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 5
- Impact score
- 2.9
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:N/I:P/A:N
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:fruity_project:fruity:0.1.0:*:*:*:*:rust:*:*",
"vulnerable": true,
"matchCriteriaId": "0D1DEC41-5B75-4E16-B849-F4FCA67CD85D"
},
{
"criteria": "cpe:2.3:a:fruity_project:fruity:0.2.0:*:*:*:*:rust:*:*",
"vulnerable": true,
"matchCriteriaId": "3CE1B1A4-8B5B-4B05-AF74-F170D4C1E0EB"
}
],
"operator": "OR"
}
]
}
]