GHSA-6m9f-8vwq-97pm

Suggest an improvement
Source
https://github.com/advisories/GHSA-6m9f-8vwq-97pm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6m9f-8vwq-97pm/GHSA-6m9f-8vwq-97pm.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-6m9f-8vwq-97pm
Aliases
Published
2022-05-02T04:00:47Z
Modified
2024-12-04T05:40:47.032547Z
Summary
Smarty Does Not Consider Umask Values When Setting Permissions
Details

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.

Database specific
{
    "nvd_published_at": "2011-02-03T17:00:00Z",
    "cwe_ids": [
        "CWE-281"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-02-08T22:08:36Z"
}
References

Affected packages

Packagist / smarty/smarty

Package

Name
smarty/smarty
Purl
pkg:composer/smarty/smarty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0-beta4

Affected versions

v2.*

v2.6.24
v2.6.25
v2.6.26
v2.6.27
v2.6.28
v2.6.29
v2.6.30
v2.6.31
v2.6.33