CVEvulnerability
CVE-2021-41556
10.0 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2022-07-28
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 10.0 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 10.0 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-125
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.
Affected configurations
• squirrel-lang squirrel (<= 2.2.5)
• squirrel-lang squirrel (>= 3.0 <= 3.1)
• fedoraproject fedora 35
• fedoraproject fedora 36
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- http://www.squirrel-lang.org/#download Third Party Advisory
- https://blog.sonarsource.com/squirrel-vm-sandbox-escape/ Exploit, Third Party Advisory
- https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98 Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BV7SJJ44AGAX4ILIVPREIXPJ2GOG3FKV/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M3FQILX7UUEERSDPMZP3MKGTMY2E7ESU/ lists.fedoraproject.org
- http://www.squirrel-lang.org/#download Third Party Advisory
- https://blog.sonarsource.com/squirrel-vm-sandbox-escape/ Exploit, Third Party Advisory
- https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98 Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BV7SJJ44AGAX4ILIVPREIXPJ2GOG3FKV/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M3FQILX7UUEERSDPMZP3MKGTMY2E7ESU/ lists.fedoraproject.org
- https://www.sonarsource.com/blog/squirrel-vm-sandbox-escape/ www.sonarsource.com