logo

GHSA-f95p-4cv5-8w8x linkme

Package

Manager: cargo
Name: linkme
Vulnerable Version: >=0 <0.3.24

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

linkme fails to ensure slice elements match the slice's declared type Affected versions allow populating a DistributedSlice of T with elements of an arbitrary other type that coerces to T. For example, elements of type `&&str` could end up in a slice of type `[&str]`, since `&&str` coerces to `&str` via a deref coercion. The flaw was corrected by implementing typechecking for distributed slice elements in such a way that coercion no longer occurs. The element's type must be a subtype of the slice's declared element type.

Metadata

Created: 2024-12-04T18:26:13Z
Modified: 2024-12-04T18:26:13Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-f95p-4cv5-8w8x/GHSA-f95p-4cv5-8w8x.json
CWE IDs: []
Alternative ID: N/A
Finding: F113
Auto approve: 1