Squirrel up to 2.2.5/3.1 Core Interpreter sqclass.cpp out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.7$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.8
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 23a0620658714b996d20da3d4dd1a0dcf9b0bd98

Timelineinfo

09/22/2021 🔍
07/29/2022 +310 days 🔍
07/29/2022 +0 days 🔍
06/01/2026 +1402 days 🔍

Sourcesinfo

Advisory: 23a0620658714b996d20da3d4dd1a0dcf9b0bd98
Status: Confirmed

CVE: CVE-2021-41556 (🔍)
GCVE (CVE): GCVE-0-2021-41556
GCVE (VulDB): GCVE-100-205272

Entryinfo

Created: 07/29/2022 07:26
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!