Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!Close

CVE-2021-26120

Published: 22 February 2021

Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring.

Priority

Medium

Cvss 3 Severity Score

9.8

Score breakdown

Status

Package Release Status
smarty3
Launchpad, Ubuntu, Debian
lunar Not vulnerable
(3.1.39-2)
upstream
Released (3.1.39)
impish Not vulnerable
(3.1.39-2)
bionic
Released (3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1)
groovy Ignored
(end of life)
hirsute Ignored
(end of life)
trusty Does not exist

xenial
Released (3.1.21-1ubuntu1+esm1)
Available with Ubuntu Pro
jammy Not vulnerable
(3.1.39-2)
kinetic Not vulnerable
(3.1.39-2)
focal
Released (3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1~esm1)
Available with Ubuntu Pro
mantic Not vulnerable
(3.1.39-2)
Patches:
upstream: https://github.com/smarty-php/smarty/commit/4f634c0097ab4a8b2adc2a97caacd1676e88f9c8

Severity score breakdown

Parameter Value
Base score 9.8
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H