CVE-2021-41556

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
28/07/2022
Last modified:
07/11/2023

Description

sqclass.cpp in Squirrel through 2.2.5 and 3.x through 3.1 allows an out-of-bounds read (in the core interpreter) that can lead to Code Execution. If a victim executes an attacker-controlled squirrel script, it is possible for the attacker to break out of the squirrel script sandbox even if all dangerous functionality such as File System functions has been disabled. An attacker might abuse this bug to target (for example) Cloud services that allow customization via SquirrelScripts, or distribute malware through video games that embed a Squirrel Engine.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:squirrel-lang:squirrel:*:*:*:*:*:*:*:* 2.2.5 (including)
cpe:2.3:a:squirrel-lang:squirrel:*:*:*:*:*:*:*:* 3.0 (including) 3.1 (including)
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*