CVE-2018-13982

unknown
Published 2022-05-13 ยท Modified 2024-02-16
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

Description

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed3.1.33+20180830.1.3a78a21f+selfpack1-1
debian debianbullseyefixed3.1.33+20180830.1.3a78a21f+selfpack1-1
debian debianforkyfixed3.1.33+20180830.1.3a78a21f+selfpack1-1
debian debiansidfixed3.1.33+20180830.1.3a78a21f+selfpack1-1
debian debiantrixiefixed3.1.33+20180830.1.3a78a21f+selfpack1-1

Package impact

EcosystemPackageVulnerableFixed
php Packagistsmarty/smarty<3.1.333.1.33

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.