CVE-2021-41556

moderate-risk
Published 2022-07-28

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.

Do I need to act?

~
2.4% chance of exploitation in next 30 days
EPSS score — moderate exploit probability
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
+
Fix available
Upgrade to: 23a0620658714b996d20da3d4dd1a0dcf9b0bd98
10
CVSS 10.0/10 Critical
NETWORK / LOW complexity

Affected Products (3)

Squirrel

Affected Vendors

47
/ 100
moderate-risk
Severity 33/34 · Critical
Exploitability 5/34 · Minimal
Exposure 9/34 · Low