CVE-2024-35226

EUVD-2024-1424
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. In affected versions template authors could inject php code by choosing a malicious file name for an extends-tag. Sites that cannot fully trust template authors should update asap. All users are advised to update. There is no patch for users on the v3 branch. There are no known workarounds for this vulnerability.
Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.3 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
GitHub_MCNA
7.3 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 36%
Debian logo
Debian Releases
Debian Product
Codename
smarty3
bookworm
3.1.47-2+deb12u1
fixed
bookworm (security)
3.1.47-2+deb12u1
fixed
bullseye
vulnerable
bullseye (security)
3.1.39-2+deb11u2
fixed
forky
3.1.48-2
fixed
sid
3.1.48-2
fixed
trixie
3.1.48-2
fixed
smarty4
bookworm
4.3.0-1+deb12u2
fixed
bookworm (security)
4.3.0-1+deb12u2
fixed
forky
4.5.5-1
fixed
sid
4.5.5-1
fixed
trixie
4.5.5-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
smarty3
bionic
Fixed 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1+esm1
released
focal
Fixed 3.1.34+20190228.1.c9f0de05+selfpack1-1ubuntu0.1
released
jammy
Fixed 3.1.39-2ubuntu1.22.04.2
released
mantic
ignored
noble
Fixed 3.1.48-1ubuntu0.24.04.1
released
oracular
Fixed 3.1.48-1ubuntu0.24.10.1
released
plucky
needs-triage
questing
needs-triage
xenial
needs-triage
smarty4
focal
dne
jammy
dne
mantic
ignored
noble
Fixed 4.3.1-1ubuntu0.24.04.1
released
oracular
Fixed 4.3.1-1ubuntu0.24.10.1
released
plucky
not-affected
questing
not-affected