Squirrel up to 2.2.5/3.1 Core Interpreter sqclass.cpp out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.7 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Squirrel up to 2.2.5/3.1 and classified as problematic. Affected by this issue is some unknown functionality of the file sqclass.cpp of the component Core Interpreter. The manipulation results in out-of-bounds. This vulnerability is reported as CVE-2021-41556. The attack can be launched remotely. No exploit exists. Applying a patch is advised to resolve this issue.
Details
A vulnerability classified as critical has been found in Squirrel up to 2.2.5/3.1. Affected is an unknown code of the file sqclass.cpp of the component Core Interpreter. The manipulation with an unknown input leads to a out-of-bounds vulnerability. CWE is classifying the issue as CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was disclosed 07/29/2022 as 23a0620658714b996d20da3d4dd1a0dcf9b0bd98. The advisory is shared for download at github.com. This vulnerability is traded as CVE-2021-41556 since 09/22/2021. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
Applying the patch 23a0620658714b996d20da3d4dd1a0dcf9b0bd98 is able to eliminate this problem. The bugfix is ready for download at github.com.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.8VulDB Meta Temp Score: 8.7
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 10.0
NVD Vector: 🔍
ADP CISA Base Score: 10.0
ADP CISA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Out-of-boundsCWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 23a0620658714b996d20da3d4dd1a0dcf9b0bd98
Timeline
09/22/2021 🔍07/29/2022 🔍
07/29/2022 🔍
06/01/2026 🔍
Sources
Advisory: 23a0620658714b996d20da3d4dd1a0dcf9b0bd98Status: Confirmed
CVE: CVE-2021-41556 (🔍)
GCVE (CVE): GCVE-0-2021-41556
GCVE (VulDB): GCVE-100-205272
Entry
Created: 07/29/2022 07:26Updated: 06/01/2026 00:36
Changes: 07/29/2022 07:26 (42), 08/28/2022 12:17 (11), 06/01/2026 00:36 (26)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.