GLSA-200611-24 : LHa: Multiple vulnerabilities
High Nessus Plugin ID 23746
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-200611-24 (LHa: Multiple vulnerabilities)
Tavis Ormandy of the Google Security Team discovered several vulnerabilities in the LZH decompression component used by LHa. The make_table function of unlzh.c contains an array index error and a buffer overflow vulnerability. The build_tree function of unpack.c contains a buffer underflow vulnerability. Additionally, unlzh.c contains a code that could run in an infinite loop.
By enticing a user to uncompress a specially crafted archive, a remote attacker could cause a Denial of Service by CPU consumption or execute arbitrary code with the rights of the user running the application.
There is no known workaround at this time.
SolutionAll LHa users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/lha-114i-r6'