Bug 2112794 (CVE-2021-41556) - CVE-2021-41556 squirrel: out-of-bounds read in core interpreter allows sandbox escape leads to code execution
Summary: CVE-2021-41556 squirrel: out-of-bounds read in core interpreter allows sandbo...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-41556
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2112796 2112797 2112798
Blocks: 2112599
TreeView+ depends on / blocked
 
Reported: 2022-08-01 07:29 UTC by TEJ RATHI
Modified: 2022-08-30 22:25 UTC (History)
3 users (show)

Fixed In Version: squirrel 3.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-30 22:25:52 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2022-08-01 07:29:54 UTC
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.

http://www.squirrel-lang.org/#download
https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98
https://blog.sonarsource.com/squirrel-vm-sandbox-escape/

Comment 1 TEJ RATHI 2022-08-01 07:30:32 UTC
Created squirrel tracking bugs for this issue:

Affects: epel-all [bug 2112796]
Affects: fedora-all [bug 2112797]


Created supertux tracking bugs for this issue:

Affects: fedora-all [bug 2112798]

Comment 2 Product Security DevOps Team 2022-08-30 22:25:50 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.