ADVISORIES

GitHub Advisory Database

GHSA-rwvp-r38j-9rgg

rardecode: DoS risk due to unrestricted RAR dictionary sizes

Details

rardecode versions <= 2.1.1 fail to restrict the dictionary size when reading large RAR dictionary sizes, which allows an attacker to provide a specially crafted RAR file and cause Denial of Service via an Out Of Memory Crash.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/nwaples/rardecode/v2
All versions before 2.2.0 (fixed in 2.2.0)
Gogithub.com/nwaples/rardecode
All versions up to and including 1.1.3

References