CVE-2021-41556

Source
https://cve.org/CVERecord?id=CVE-2021-41556
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-41556.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-41556
Downstream
DEBIAN (1)
MGASA (1)
openSUSE (2)
UBUNTU (1)
Related
Published
2022-07-28T21:15:08Z
Modified
2026-05-15T12:04:21Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "35"
                },
                {
                    "last_affected": "36"
                }
            ],
            "source": "CPE_FIELD",
            "vendor_product": "fedoraproject:fedora"
        },
        {
            "cpes": [
                "cpe:2.3:a:squirrel-lang:squirrel:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "2.2.5"
                }
            ],
            "source": "CPE_FIELD",
            "vendor_product": "squirrel-lang:squirrel"
        }
    ]
}
References

Affected packages