CVEfocus › CVE database › CVE-2009-5054

CVE-2009-5054

EPSS 1.6% (higher than 76% of CVEs)Published 2011-02-03Updated 2024-09-17Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04moodleNot affected
vulnerable_code_not_present
Ubuntu 14.04moodleNot affected
vulnerable_code_not_present
Debian 14smarty3Fixed3.0~rc1-1DEBIAN-CVE-2009-5054
Debian 13smarty3Fixed3.0~rc1-1DEBIAN-CVE-2009-5054
Debian 12smarty3Fixed3.0~rc1-1DEBIAN-CVE-2009-5054
Packagist librarysmarty/smartyFixed3.0.0-beta4GHSA-6m9f-8vwq-97pm

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.