GitHub Advisoryadvisory · Packagist

GHSA-65j5-vpm7-6xp4 Smarty Path Traversal Vulnerability

MEDIUM Published 2022-05-14 Modified 2023-10-06 Official page ↗
Aliases
CVE-2018-16831
Ecosystem
Packagist
Packages
smarty/smarty
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2023-07-25

Affected packages

• Packagist smarty/smarty: < 3.1.33 → fixed in 3.1.33

Description

Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a `file:./../` substring in an include statement.

Related

Alias · CVE (1)

  • CVE-2018-16831 Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References