CVE-2021-26120
Smarty before 3.1.39 allows code injection via an unexpected function ...
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA. Niedriger laut Ubuntu (mittel).
Beschreibung
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| composer::GitHub Security Advisory Composer | smarty/smarty | 3.1.39 |
| composer::PHP Security Advisories Database | smarty/smarty | kein Fix angegeben |
| debian 10 | smarty3 | 3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u1 |
| debian 11 | smarty3 | 3.1.39-1 |
| debian 12 | smarty3 | 3.1.39-1 |
| debian 13 | smarty3 | 3.1.39-1 |
| debian 14 | smarty3 | 3.1.39-1 |
| debian 9 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u2 |
| echo | smarty3 | 3.1.39-1 |
| ubuntu 16.04-ESM | smarty3 | 3.1.21-1ubuntu1+esm1 |
| ubuntu 18.04 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 |
| ubuntu 18.04-ESM | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 |
Alle 13 Einträge aus 13 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| composer::GitHub Security Advisory Composer | smarty/smarty | 3.1.39 |
| composer::PHP Security Advisories Database | smarty/smarty | kein Fix angegeben |
| debian 10 | smarty3 | 3.1.33+20180830.1.3a78a21f+selfpack1-1+deb10u1 |
| debian 11 | smarty3 | 3.1.39-1 |
| debian 12 | smarty3 | 3.1.39-1 |
| debian 13 | smarty3 | 3.1.39-1 |
| debian 14 | smarty3 | 3.1.39-1 |
| debian 9 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u2 |
| echo | smarty3 | 3.1.39-1 |
| ubuntu 16.04-ESM | smarty3 | 3.1.21-1ubuntu1+esm1 |
| ubuntu 18.04 | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 |
| ubuntu 18.04-ESM | smarty3 | 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1 |
| ubuntu 20.04-ESM | smarty3 | 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1 |
Referenzen
- https://github.com/FriendsOfPHP/security-advisories/blob/master/smarty/smarty/CVE-2021-26120.yaml
- https://github.com/smarty-php/smarty
- https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md
- https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md#3139---2021-02-17
- https://github.com/smarty-php/smarty/commit/165f1bd4d2eec328cfeaca517a725b46001de838
- https://github.com/smarty-php/smarty/security/advisories/GHSA-3rpf-5rqv-689q
- https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html
- https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html
Alle 16 Referenzen
- https://nvd.nist.gov/vuln/detail/CVE-2021-26120
- https://security.gentoo.org/glsa/202105-06
- https://srcincite.io/blog/2021/02/18/smarty-template-engine-multiple-sandbox-escape-vulnerabilities.html
- https://ubuntu.com/security/notices/USN-5348-1
- https://ubuntu.com/security/notices/USN-5348-2
- https://ubuntu.com/security/notices/USN-5348-3
- https://www.cve.org/CVERecord?id=CVE-2021-26120
- https://www.debian.org/security/2022/dsa-5151