RAR, UnRAR: Arbitrary File Overwrite An arbitrary file overwrite vulnerability has been discovered in RAR and UnRAR, potentially resulting in arbitrary code execution. rar,unrar 2023-09-17 2023-09-17 843611 849686 912652 remote 6.23 6.23 6.2.10 6.2.10

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

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.

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.

There is no known workaround at this time.

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"
CVE-2022-30333 CVE-2023-40477 ajak sam