Vulnerability Description
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
CVSS Score
9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Smarty | Smarty | < 3.1.39 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://github.com/smarty-php/smarty/blob/master/CHANGELOG.mdRelease NotesThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00004.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00014.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202105-06PatchThird Party Advisory
- https://www.debian.org/security/2022/dsa-5151Third Party Advisory
- https://github.com/smarty-php/smarty/blob/master/CHANGELOG.mdRelease NotesThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00004.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00014.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202105-06PatchThird Party Advisory
- https://www.debian.org/security/2022/dsa-5151Third Party Advisory
FAQ
What is CVE-2021-26120?
CVE-2021-26120 is a vulnerability with a CVSS score of 9.8 (CRITICAL). Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.
How severe is CVE-2021-26120?
CVE-2021-26120 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-26120?
Check the references section above for vendor advisories and patch information. Affected products include: Smarty Smarty, Debian Debian Linux.