CVE-2018-13982

Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization. This allows attackers controlling the executed template code to bypass the trusted directory security restriction and read arbitrary files.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 84%
VendorProductVersion
smartysmarty
𝑥
< 3.1.33
debiandebian_linux
9.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
smarty3
bullseye (security)
3.1.39-2+deb11u1
fixed
bullseye
3.1.39-2+deb11u1
fixed
jessie
not-affected
bookworm
3.1.47-2
fixed
sid
3.1.48-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
smarty3
jammy
not-affected
impish
not-affected
hirsute
not-affected
groovy
not-affected
focal
not-affected
eoan
not-affected
disco
not-affected
cosmic
ignored
bionic
Fixed 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
released
xenial
not-affected
trusty
dne