Lucene search

K
gentooGentoo FoundationGLSA-202309-04
HistorySep 17, 2023 - 12:00 a.m.

RAR, UnRAR: Arbitrary File Overwrite

2023-09-1700:00:00
Gentoo Foundation
security.gentoo.org
12

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.905 High

EPSS

Percentile

98.8%

Background

RAR and UnRAR provide command line interfaces for compressing and decompressing RAR files.

Description

Due to an error in the validation of symbolic links within archives, RAR and UnRAR can potentially write files to a directory which is outside of the intended unpack directory.

Impact

If the user running RAR or UnRAR extracts a malicious archive, the archive could overwrite a file such as the user’s shell initialization scripts, potentially resulting in arbitrary code execution in the context of that user.

Workaround

There is no known workaround at this time.

Resolution

All RAR users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-arch/rar-6.23"

All UnRAR users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-arch/unrar-6.2.10"
OSVersionArchitecturePackageVersionFilename
Gentooanyallapp-arch/rar<Β 6.23UNKNOWN
Gentooanyallapp-arch/unrar<Β 6.2.10UNKNOWN

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

0.905 High

EPSS

Percentile

98.8%