CVE-2021-41556Out-of-bounds Read in Squirrel

CWE-125Out-of-bounds Read4 documents4 sources
Severity
10.0CRITICALNVD
EPSS
2.4%
top 14.95%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 28
Latest updateJul 29

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HExploitability: 3.9 | Impact: 6.0

Affected Packages2 packages

NVDsquirrel-lang/squirrel3.03.1+1

Also affects: Fedora 35, 36

Patches

🔴Vulnerability Details

2
GHSA
GHSA-cm28-mc8h-9h49: sqclass2022-07-29
OSV
CVE-2021-41556: sqclass2022-07-28

📋Vendor Advisories

1
Debian
CVE-2021-41556: squirrel3 - sqclass.cpp in Squirrel through 2.2.5 and 3.x through 3.1 allows an out-of-bound...2021
CVE-2021-41556 — Out-of-bounds Read in Squirrel | cvebase