auth_data_from_shortcut can be raced to disclose process memory
Package
libshortcutsign
(misc)
Affected versions
27d6c3b6ce39cf6f83503aca8ddc334e062baab5
Patched versions
a2f6753ae106c292ddbfb601c9ecb116785666bf
Impact
auth_data_from_shortcut has a race condition which may lead to disclosure of process memory. This is as a file can be modified to be smaller after binary_size is saved but before the bytes finish copying. This may result in the buffer having leftover bytes.
Patches
The issue has been patched in a recent commit on May 7 2024 EST. It can be viewed here: a2f6753