CVE-2021-26120
Smarty before 3.1.39 allows code injection via an unexpected function ...
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA. Plus basse selon Ubuntu (moyenne).
Description
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| composer::GitHub Security Advisory Composer | smarty/smarty | 3.1.39 |
| composer::PHP Security Advisories Database | smarty/smarty | pas de correctif indiqué |
| 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 |
Afficher les 13 entrées de 13 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| composer::GitHub Security Advisory Composer | smarty/smarty | 3.1.39 |
| composer::PHP Security Advisories Database | smarty/smarty | pas de correctif indiqué |
| 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 |
Références
- 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
Les 16 références
- 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