Lucene search

K
osvGoogleOSV:GHSA-9HFG-PXR6-Q4VP
HistoryJan 06, 2022 - 10:04 p.m.

Use of a Broken or Risky Cryptographic Algorithm in crypto2

2022-01-0622:04:51
Google
osv.dev
4

0.001 Low

EPSS

Percentile

50.5%

The implementation does not enforce alignment requirements on input slices while incorrectly assuming 4-byte alignment through an unsafe call to std::slice::from_raw_parts_mut, which breaks the contract and introduces undefined behavior.

This affects Chacha20 encryption and decryption in crypto2.

CPENameOperatorVersion
crypto2le0.1.2

0.001 Low

EPSS

Percentile

50.5%

Related for OSV:GHSA-9HFG-PXR6-Q4VP