CVE-2021-43676: Path manipulation in matyhtf/framework
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.68152%
CWE
Published
12/4/2021
Updated
2/5/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
matyhtf/framework | composer | < 3.0.6 | 3.0.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is a path traversal (CWE-22) in Smarty.class.php
. While the exact commit diff is unavailable, Smarty template engines commonly handle template paths in methods like fetch()
. The advisory specifies the vulnerability was fixed in v3.0.6, suggesting improper path sanitization in template handling. The fetch()
method is a primary candidate as it's responsible for template rendering and would require path validation to prevent directory traversal. High confidence comes from the vulnerability context and standard Smarty implementation patterns.