VDB
CVE-2021-41556
CVE-2021-41556
PUBLISHED
CVSS 10 CRITICAL
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.
EPSS 2.70% · 86.2th percentile
Risk Scores
CVSS 3.1
10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Score
2.70%
86.2th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| squirrel-lang | squirrel | 0, 3.0 |
| fedoraproject | fedora | 36, 35 |
Exploit Intelligence
- https://www.sonarsource.com/blog/squirrel-vm-sandbox-escape/ (cve.org)
- https://blog.sonarsource.com/squirrel-vm-sandbox-escape/ (nist-nvd)
- https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98 (circl)
- http://www.squirrel-lang.org/#download (circl)
- FEDORA-2022-e81c0db364 (circl)
- FEDORA-2022-e139f256f6 (circl)
Timeline
- Jul 28, 2022 CVE Published
- Jul 29, 2022 EPSS Score
- Aug 6, 2022 EPSS Score
- Aug 6, 2022 CVE Updated
- Sep 14, 2022 EPSS Score
- Dec 16, 2022 EPSS Score
- Jan 31, 2023 EPSS Score
- Mar 7, 2023 EPSS Score
- Mar 19, 2023 EPSS Score
- Jun 20, 2023 EPSS Score
- Aug 6, 2023 EPSS Score
- Sep 21, 2023 EPSS Score
References
- https://github.com/albertodemichelis/squirrel/commit/23a0620658714b996d20da3d4dd1a0dcf9b0bd98 url
- http://www.squirrel-lang.org/#download url
- https://blog.sonarsource.com/squirrel-vm-sandbox-escape/ url
- FEDORA-2022-e81c0db364 vendor-advisory
- FEDORA-2022-e139f256f6 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-41556 advisory
- https://blog.sonarsource.com/squirrel-vm-sandbox-escape url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BV7SJJ44AGAX4ILIVPREIXPJ2GOG3FKV url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3FQILX7UUEERSDPMZP3MKGTMY2E7ESU url