CVE-2021-41556

Critical

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.

SeverityCritical
CVSS10.0
Exploit probability87. percentile2.9%
ProductSquirrel
PublishedJul 28, 2022
First seenJul 28, 2022

How to fix

Affected products

ProductAffected versionsFixed in
squirrel-lang squirrelv ≤ 2.2.5, 3.0 ≤ v ≤ 3.1—
fedoraproject fedora35, 36—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.