CVE-2009-5054
high
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
7.5
Description
Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operations.
Predictions
Exploit likelihood
20%
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 withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 3.0~rc1-1 |
| debian | bullseye | fixed | 3.0~rc1-1 |
| debian | forky | fixed | 3.0~rc1-1 |
| debian | sid | fixed | 3.0~rc1-1 |
| debian | trixie | fixed | 3.0~rc1-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | smarty/smarty | <3.0.0-beta4 | 3.0.0-beta4 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| smarty | smarty | {"endIncluding":"2.6.26"} | |
| smarty | smarty | 1.0 | |
| smarty | smarty | 1.0a | |
| smarty | smarty | 1.0b | |
| smarty | smarty | 1.1.0 | |
| smarty | smarty | 1.2.0 | |
| smarty | smarty | 1.2.1 | |
| smarty | smarty | 1.2.2 | |
| smarty | smarty | 1.3.0 | |
| smarty | smarty | 1.3.1 | |
| smarty | smarty | 1.3.2 | |
| smarty | smarty | 1.4.0 | |
| smarty | smarty | 1.4.1 | |
| smarty | smarty | 1.4.2 | |
| smarty | smarty | 1.4.3 | |
| smarty | smarty | 1.4.4 | |
| smarty | smarty | 1.4.5 | |
| smarty | smarty | 1.4.6 | |
| smarty | smarty | 1.5.0 | |
| smarty | smarty | 1.5.1 | |
| smarty | smarty | 1.5.2 | |
| smarty | smarty | 2.0.0 | |
| smarty | smarty | 2.0.1 | |
| smarty | smarty | 2.1.0 | |
| smarty | smarty | 2.1.1 | |
| smarty | smarty | 2.2.0 | |
| smarty | smarty | 2.3.0 | |
| smarty | smarty | 2.3.1 | |
| smarty | smarty | 2.4.0 | |
| smarty | smarty | 2.4.1 | |
| smarty | smarty | 2.4.2 | |
| smarty | smarty | 2.5.0 | |
| smarty | smarty | 2.6.0 | |
| smarty | smarty | 2.6.1 | |
| smarty | smarty | 2.6.2 | |
| smarty | smarty | 2.6.3 | |
| smarty | smarty | 2.6.4 | |
| smarty | smarty | 2.6.5 | |
| smarty | smarty | 2.6.6 | |
| smarty | smarty | 2.6.7 | |
| smarty | smarty | 2.6.9 | |
| smarty | smarty | 2.6.10 | |
| smarty | smarty | 2.6.11 | |
| smarty | smarty | 2.6.12 | |
| smarty | smarty | 2.6.13 | |
| smarty | smarty | 2.6.14 | |
| smarty | smarty | 2.6.15 | |
| smarty | smarty | 2.6.16 | |
| smarty | smarty | 2.6.17 | |
| smarty | smarty | 2.6.18 | |
| smarty | smarty | 2.6.20 | |
| smarty | smarty | 2.6.22 | |
| smarty | smarty | 2.6.24 | |
| smarty | smarty | 2.6.25 | |
References
- http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt
- https://nvd.nist.gov/vuln/detail/CVE-2009-5054
- https://github.com/smarty-php/smarty
- https://web.archive.org/web/20101116174040/http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt
- https://security-tracker.debian.org/tracker/CVE-2009-5054
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.