CVE-2021-41556
Last modified
CVE-2021-41556 is a critical-severity vulnerability rated 10/10 on the CVSS scale. 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. EPSS estimates a 2.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Squirrel-Lang | Squirrel | <= 2.2.5 |
| Squirrel-Lang | Squirrel | >= 3.0, <= 3.1 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
References
- http://www.squirrel-lang.org/#downloadThird Party Advisory
- https://blog.sonarsource.com/squirrel-vm-sandbox-escape/Exploit, Third Party Advisory
- https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98Patch, Third Party Advisory
- http://www.squirrel-lang.org/#downloadThird Party Advisory
- https://blog.sonarsource.com/squirrel-vm-sandbox-escape/Exploit, Third Party Advisory
- https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41556?
How severe is CVE-2021-41556?
How do I fix CVE-2021-41556?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41550Leostream Connection Broker 9.0.40.17 allows administrator t…7.2
- CVE-2021-41551Leostream Connection Broker 9.0.40.17 allows administrators …4.9
- CVE-2021-41552CommScope SURFboard SBG6950AC2 9.1.103AA23 devices allow Com…8.8
- CVE-2021-41553In ARCHIBUS Web Central 21.3.3.815 (a version from 2014), th…9.8
- CVE-2021-41554ARCHIBUS Web Central 21.3.3.815 (a version from 2014) does n…8.8
- CVE-2021-41555In ARCHIBUS Web Central 21.3.3.815 (a version from 2014), XS…6.1
- CVE-2021-41557Sofico Miles RIA 2020.2 Build 127964T is affected by Stored …5.4
- CVE-2021-41558The set_user extension module before 3.0.0 for PostgreSQL al…9.8
- CVE-2021-41559Silverstripe silverstripe/framework 4.8.1 has a quadratic bl…6.5
- CVE-2021-4156An out-of-bounds read flaw was found in libsndfile's FLAC co…7.1
- CVE-2021-41560OpenCATS through 0.9.6 allows remote attackers to execute ar…9.8
- CVE-2021-41561Improper Input Validation vulnerability in Parquet-MR of Apa…7.5
Are you affected by CVE-2021-41556?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
