Security mailing lists by PureSourceCode

CVE-2009-5054

HIGH 7.5CVSS 2.0

Smarty Does Not Consider Umask Values When Setting Permissions

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.

Published
3 Feb 2011
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-264CWE-281
Also known as
GHSA-6m9f-8vwq-97pm
Sources
NVDJSONOSV GHSA-6m9f-8vwq-97pmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD smarty smarty
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*
<= 2.6.26
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.0:*:*:*:*:*:*:*
= 1.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.0a:*:*:*:*:*:*:*
= 1.0a
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.0b:*:*:*:*:*:*:*
= 1.0b
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.1.0:*:*:*:*:*:*:*
= 1.1.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.2.0:*:*:*:*:*:*:*
= 1.2.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.2.1:*:*:*:*:*:*:*
= 1.2.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.2.2:*:*:*:*:*:*:*
= 1.2.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.3.0:*:*:*:*:*:*:*
= 1.3.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.3.1:*:*:*:*:*:*:*
= 1.3.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.3.2:*:*:*:*:*:*:*
= 1.3.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.0:*:*:*:*:*:*:*
= 1.4.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.0:b1:*:*:*:*:*:*
= 1.4.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.0:b2:*:*:*:*:*:*
= 1.4.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.1:*:*:*:*:*:*:*
= 1.4.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.2:*:*:*:*:*:*:*
= 1.4.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.3:*:*:*:*:*:*:*
= 1.4.3
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.4:*:*:*:*:*:*:*
= 1.4.4
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.5:*:*:*:*:*:*:*
= 1.4.5
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.4.6:*:*:*:*:*:*:*
= 1.4.6
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.5.0:*:*:*:*:*:*:*
= 1.5.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.5.1:*:*:*:*:*:*:*
= 1.5.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:1.5.2:*:*:*:*:*:*:*
= 1.5.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.0.0:*:*:*:*:*:*:*
= 2.0.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.0.1:*:*:*:*:*:*:*
= 2.0.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.1.0:*:*:*:*:*:*:*
= 2.1.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.1.1:*:*:*:*:*:*:*
= 2.1.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.2.0:*:*:*:*:*:*:*
= 2.2.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.3.0:*:*:*:*:*:*:*
= 2.3.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.3.1:*:*:*:*:*:*:*
= 2.3.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.4.0:*:*:*:*:*:*:*
= 2.4.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.4.1:*:*:*:*:*:*:*
= 2.4.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.4.2:*:*:*:*:*:*:*
= 2.4.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.5.0:*:*:*:*:*:*:*
= 2.5.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.5.0:rc1:*:*:*:*:*:*
= 2.5.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.5.0:rc2:*:*:*:*:*:*
= 2.5.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.0:*:*:*:*:*:*:*
= 2.6.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.0:rc1:*:*:*:*:*:*
= 2.6.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.0:rc2:*:*:*:*:*:*
= 2.6.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.0:rc3:*:*:*:*:*:*
= 2.6.0
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.1:*:*:*:*:*:*:*
= 2.6.1
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.2:*:*:*:*:*:*:*
= 2.6.2
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.3:*:*:*:*:*:*:*
= 2.6.3
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.4:*:*:*:*:*:*:*
= 2.6.4
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.5:*:*:*:*:*:*:*
= 2.6.5
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.6:*:*:*:*:*:*:*
= 2.6.6
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.7:*:*:*:*:*:*:*
= 2.6.7
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.9:*:*:*:*:*:*:*
= 2.6.9
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.10:*:*:*:*:*:*:*
= 2.6.10
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.11:*:*:*:*:*:*:*
= 2.6.11
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.12:*:*:*:*:*:*:*
= 2.6.12
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.13:*:*:*:*:*:*:*
= 2.6.13
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.14:*:*:*:*:*:*:*
= 2.6.14
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.15:*:*:*:*:*:*:*
= 2.6.15
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.16:*:*:*:*:*:*:*
= 2.6.16
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.17:*:*:*:*:*:*:*
= 2.6.17
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.18:*:*:*:*:*:*:*
= 2.6.18
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.20:*:*:*:*:*:*:*
= 2.6.20
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.22:*:*:*:*:*:*:*
= 2.6.22
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.24:*:*:*:*:*:*:*
= 2.6.24
NVD smarty smarty
cpe:2.3:a:smarty:smarty:2.6.25:*:*:*:*:*:*:*
= 2.6.25
OSV Packagist smarty/smarty < 3.0.0-beta4 3.0.0-beta4

References

History

  • 25 Nov 2026 20:16 UTC · NVD: first stored (published 3 Feb 2011)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.