Description
A stack-based buffer overflow vulnerability exists in the import_stl.cc:import_stl() functionality of Openscad openscad-2020.12-RC2. A specially crafted STL file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Openscad | Openscad openscad-2020.12-RC2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | openscad | 2021.01-1 | — |
| Debian 12 | openscad | 2021.01-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | openscad | No fix yet | — |
| Ubuntu 20.04 LTS | openscad | No fix yet | — |
| Ubuntu 16.04 LTS | openscad | No fix yet | — |
References
- https://talosintelligence.com/vulnerability_reports/TALOS-2020-1223
- FEDORA-2021-8349f28cb9 vendor-advisory
- FEDORA-2021-793da7882b vendor-advisory
- GLSA-202107-35 vendor-advisory
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2020-1224