Lucene search

K
gentooGentoo FoundationGLSA-200411-29
HistoryNov 19, 2004 - 12:00 a.m.

unarj: Long filenames buffer overflow and a path traversal vulnerability

2004-11-1900:00:00
Gentoo Foundation
security.gentoo.org
11

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.1 Low

EPSS

Percentile

94.8%

Background

unarj is an ARJ archive decompressor.

Description

unarj has a bounds checking vulnerability within the handling of long filenames in archives. It also fails to properly sanitize paths when extracting an archive (if the “x” option is used to preserve paths).

Impact

An attacker could trigger a buffer overflow or a path traversal by enticing a user to open an archive containing specially-crafted path names, potentially resulting in the overwrite of files or execution of arbitrary code with the permissions of the user running unarj.

Workaround

There is no known workaround at this time.

Resolution

All unarj users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-arch/unarj-2.63a-r2"
OSVersionArchitecturePackageVersionFilename
Gentooanyallapp-arch/unarj< 2.63a-r2UNKNOWN

10 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

0.1 Low

EPSS

Percentile

94.8%