portage-ng / portage / app-arch / lha / 114i_p20250112
portage-ng glsa
4 advisories reference app-arch/lha · none place version 114i_p20250112 in a vulnerable range
▸ GLSA 202007-42 LHa: Buffer overflow this version unaffected normal remote 2020-07-27

LHa has a buffer overflow in its compression utility with unspecified impact.

Announced
2020-07-27
Revised
2020-07-27
Access
remote
Bugs
#572418
Advisory
https://security.gentoo.org/glsa/202007-42

Affected packages

PackageArchVulnerableUnaffected
app-arch/lha*< 114i_p20201004>= 114i_p20201004

Background

LHa is a console-based program for packing and unpacking LHarc archives.

Description

A buffer overflow in LHa’s compression code was discovered which can be triggered by a crafted input file.

Impact

A remote attacker could send a specially crafted file possibly resulting in a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All LHa users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/lha-114i_p20201004"

References

▸ GLSA 200611-24 LHa: Multiple vulnerabilities this version unaffected normal remote 2006-11-28

LHa is affected by several vulnerabilities including the remote execution of arbitrary code.

Announced
2006-11-28
Revised
2006-11-28
Access
remote
Bugs
#151252
Advisory
https://security.gentoo.org/glsa/200611-24

Affected packages

PackageArchVulnerableUnaffected
app-arch/lha*< 114i-r6>= 114i-r6

Background

LHa is a console-based program for packing and unpacking LHarc archives.

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All LHa users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/lha-114i-r6"

References

▸ GLSA 200409-13 LHa: Multiple vulnerabilities version not in range normal remote 2004-09-08

Several buffer overflows and a shell metacharacter command execution vulnerability have been found in LHa. These vulnerabilities can be used to execute arbitrary code.

Announced
2004-09-08
Revised
2006-10-20 (revision 2)
Access
remote
Bugs
#62618
Advisory
https://security.gentoo.org/glsa/200409-13

Affected packages

PackageArchVulnerableUnaffected
app-arch/lha*<= 114i-r3 (revision)>= 114i-r4 (revision)

Background

LHa is a console-based program for packing and unpacking LHarc archives.

Description

The command line argument as well as the archive parsing code of LHa lack sufficient bounds checking. Furthermore, a shell meta character command execution vulnerability exists in LHa, since it does no proper filtering on directory names.

Impact

Using a specially crafted command line argument or archive, an attacker can cause a buffer overflow and could possibly run arbitrary code. The shell meta character command execution could lead to the execution of arbitrary commands by an attacker using directories containing shell meta characters in their names.

Workaround

There is no known workaround at this time.

Resolution

All LHa users should upgrade to the latest stable version:

# emerge sync

# emerge -pv ">=app-arch/lha-114i-r4"
# emerge ">=app-arch/lha-114i-r4"

References

▸ GLSA 200405-02 Multiple vulnerabilities in LHa version not in range high remote 2004-05-09

Two stack-based buffer overflows and two directory traversal problems have been found in LHa. These vulnerabilities can be used to execute arbitrary code or as a denial of service attack.

Announced
2004-05-09
Revised
2006-10-20 (revision 2)
Access
remote
Bugs
#49961
Advisory
https://security.gentoo.org/glsa/200405-02

Affected packages

PackageArchVulnerableUnaffected
app-arch/lha*<= 114i-r1 (revision)>= 114i-r2 (revision)

Background

LHa is a console-based program for packing and unpacking LHarc archives.

Description

Ulf Harnhammar found two stack overflows and two directory traversal vulnerabilities in LHa version 1.14 and 1.17. A stack overflow occurs when testing or extracting archives containing long file or directory names. Furthermore, LHa doesn't contain sufficient protection against relative or absolute archive paths.

Impact

The stack overflows can be exploited to execute arbitrary code with the rights of the user testing or extracting the archive. The directory traversal vulnerabilities can be used to overwrite files in the filesystem with the rights of the user extracting the archive, potentially leading to denial of service or privilege escalation. Since LHa is often interfaced to other software like an email virus scanner, this attack can be used remotely.

Workaround

There is no known workaround at this time. All users are advised to upgrade to the latest available version of LHa.

Resolution

All users of LHa should upgrade to the latest stable version:

# emerge sync

# emerge -pv ">=app-arch/lha-114i-r2"
# emerge ">=app-arch/lha-114i-r2"

References