CVE-2018-13982

EUVD-2022-2995
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
NISTPrimary
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 84%
Affected Products (NVD)
VendorProductVersion
smartysmarty
𝑥
< 3.1.33
debiandebian_linux
9.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
smarty3
bookworm
3.1.47-2
fixed
bullseye
3.1.39-2+deb11u1
fixed
bullseye (security)
3.1.39-2+deb11u1
fixed
jessie
not-affected
sid
3.1.48-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
smarty3
bionic
Fixed 3.1.31+20161214.1.c7d42e4+selfpack1-3ubuntu0.1
released
cosmic
ignored
disco
not-affected
eoan
not-affected
focal
not-affected
groovy
not-affected
hirsute
not-affected
impish
not-affected
jammy
not-affected
trusty
dne
xenial
not-affected