portage-ng / portage / app-arch / unrar / 7.3.1
portage-ng glsa
4 advisories reference app-arch/unrar · none place version 7.3.1 in a vulnerable range
▸ GLSA 202309-04 RAR, UnRAR: Arbitrary File Overwrite this version unaffected normal remote 2023-09-17

An arbitrary file overwrite vulnerability has been discovered in RAR and UnRAR, potentially resulting in arbitrary code execution.

Announced
2023-09-17
Revised
2023-09-17
Access
remote
Bugs
#843611 #849686 #912652
Advisory
https://security.gentoo.org/glsa/202309-04

Affected packages

PackageArchVulnerableUnaffected
app-arch/rar*< 6.23>= 6.23
app-arch/unrar*< 6.2.10>= 6.2.10

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"

References

▸ GLSA 201709-24 RAR, UnRAR: Multiple vulnerabilities this version unaffected normal remote 2017-09-25

Multiple vulnerabilities have been found in RAR and UnRAR, the worst of which may allow attackers to execute arbitrary code.

Announced
2017-09-25
Revised
2017-09-25
Access
remote
Bugs
#622342 #628182 #628184
Advisory
https://security.gentoo.org/glsa/201709-24

Affected packages

PackageArchVulnerableUnaffected
app-arch/rar*< 5.5.0_p20170811>= 5.5.0_p20170811
app-arch/unrar*< 5.5.7>= 5.5.7

Background

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

Description

Multiple vulnerabilities have been discovered in RAR and UnRAR. Please review the referenced CVE identifiers for details.

Impact

A remote attacker, by enticing a user to open a specially crafted RAR, could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

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-5.5.0_p20170811"

All UnRAR users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/unrar-5.5.7"

References

▸ GLSA 201708-05 RAR and UnRAR: User-assisted execution of arbitrary code this version unaffected normal remote 2017-08-21

An integer overflow in RAR and UnRAR might allow remote attackers to execute arbitrary code.

Announced
2017-08-21
Revised
2017-08-21
Access
remote
Bugs
#622342 #622382
Advisory
https://security.gentoo.org/glsa/201708-05

Affected packages

PackageArchVulnerableUnaffected
app-arch/rar*< 5.5.0_beta4_p20170628>= 5.5.0_beta4_p20170628
app-arch/unrar*< 5.5.5>= 5.5.5

Background

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

Description

A VMSF_DELTA memory corruption was discovered in which an integer overflow can be caused in DataSize+CurChannel. The result is a negative value of the “DestPos” variable which allows writing out of bounds when setting Mem[DestPos].

Impact

A remote attacker, by enticing a user to open a specially crafted archive, could execute arbitrary code with the privileges of the process.

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-5.5.0_beta4_p20170628"

All UnRAR users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/unrar-5.5.5"

References

▸ GLSA 200702-04 RAR, UnRAR: Buffer overflow this version unaffected normal remote 2007-02-13

RAR and UnRAR contain a buffer overflow allowing the execution of arbitrary code.

Announced
2007-02-13
Revised
2007-02-14 (revision 2)
Access
remote
Bugs
#166440
Advisory
https://security.gentoo.org/glsa/200702-04

Affected packages

PackageArchVulnerableUnaffected
app-arch/rar*< 3.7.0_beta1>= 3.7.0_beta1
app-arch/unrar*< 3.7.3>= 3.7.3

Background

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

Description

RAR and UnRAR contain a boundary error when processing password-protected archives that could result in a stack-based buffer overflow.

Impact

A remote attacker could entice a user to process a specially crafted password-protected archive and execute arbitrary code with the rights of the user uncompressing the archive.

Workaround

There is no known workaround at this time.

Resolution

All UnRAR users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/unrar-3.7.3"

All RAR users should upgrade to the latest version:

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

References