PT-2021-23330 · Squirrel+1 · Squirrel+1

Niklas Breitfeld

+1

·

Published

2021-10-19

·

Updated

2024-06-15

·

CVE-2021-41556

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Squirrel versions 2.2.5 and earlier Squirrel versions 3.x through 3.1
Description The issue allows an out-of-bounds read in the core interpreter, leading 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 Cloud services that allow customization via Squirrel scripts or distribute malware through video games that embed a Squirrel Engine.
Recommendations For Squirrel versions 2.2.5 and earlier, update to a version later than 2.2.5. For Squirrel versions 3.x through 3.1, update to a version later than 3.1. As a temporary workaround, consider disabling the execution of Squirrel scripts from untrusted sources until a patch is available. Restrict access to the Squirrel Engine to minimize the risk of exploitation.

Exploit

Fix

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-41556
MGASA-2023-0150
OPENSUSE-SU-2023:0080-1
OPENSUSE-SU-2024:12611-1

Affected Products

Debian
Squirrel