extract_signed_shortcut can be raced to disclose process memory
Package
libshortcutsign
(misc)
Affected versions
4acc70eece6a07937a3e94978f8f4412763c59c5
Patched versions
a2f6753ae106c292ddbfb601c9ecb116785666bf
Impact
extract_signed_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