Skip to content
OpenAdvisories
Medium CVE-2009-5054 EUVD-2022-2823GHSA-6m9f-8vwq-97pm

Smarty Does Not Consider Umask Values When Setting Permissions

Published Feb 3, 2011 · Updated Sep 17, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 smarty3 3.0~rc1-1 —
Debian 13 smarty3 3.0~rc1-1 —
Debian 12 smarty3 3.0~rc1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist smarty/smarty < 3.0.0-beta4 3.0.0-beta4 GHSA-6m9f-8vwq-97pm

References