Incorrect Type Conversion or Cast Affecting gix-attributes package, versions <0.22.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-GIXATTRIBUTES-7558678
  • published25 Jul 2024
  • disclosed24 Jul 2024
  • creditUnknown

Introduced: 24 Jul 2024

CVE NOT AVAILABLE CWE-704  (opens in a new tab)

How to fix?

Upgrade gix-attributes to version 0.22.3 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast due to the unsound integration of kstring which unsafely creates a &str from a &[u8] containing non-UTF8 data.

CVSS Scores

version 4.0
version 3.1