CVE-2018-13982

Summary

CVECVE-2018-13982
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-09-18 21:29:00 UTC
Updated2021-11-02 14:01:00 UTC
DescriptionSmarty_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.

Risk And Classification

Problem Types: CWE-22

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Application Smarty Smarty All All All All
Application Smarty Smarty All All All All

References

ReferenceSourceLinkTags
- bugfix possible Security Vulnerability in Smarty_Security class. · smarty-php/smarty@8d21f38 · GitHub CONFIRM github.com Patch, Vendor Advisory
[SECURITY] [DLA 2618-3] smarty3 regression update MLIST lists.debian.org
- bugfix regarding Security Vulnerability did not solve the problem … · smarty-php/smarty@2e081a5 · GitHub CONFIRM github.com Patch, Vendor Advisory
- bugfix regarding Security Vulnerability did not solve the problem … · smarty-php/smarty@c9dbe1d · GitHub CONFIRM github.com Patch, Vendor Advisory
Release version 3.1.32 · smarty-php/smarty@bcedfd6 · GitHub CONFIRM github.com Patch, Vendor Advisory
[SECURITY] [DLA 2618-2] smarty3 regression update MLIST lists.debian.org
[SECURITY] [DLA 2618-1] smarty3 security update MLIST lists.debian.org
advisories/2018/SBA-ADV-20180420-01_Smarty_Path_Traversal at public · sbaresearch/advisories · GitHub MISC github.com Exploit, Patch, Third Party Advisory
- bugfix regarding Security Vulnerability did not solve the problem … · smarty-php/smarty@f9ca3c6 · GitHub CONFIRM github.com Patch, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178513 Debian Security Update for smarty3 (DLA 2618-1)
  • 178545 Debian Security Update for smarty3 (DLA 2618-2)
  • 178846 Debian Security Update for smarty3 (DLA 2618-3)
  • 198715 Ubuntu Security Notification for Smarty Vulnerabilities (USN-5348-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report