GHSA-c4mc-49hq-q275

Suggest an improvement
Source
https://github.com/advisories/GHSA-c4mc-49hq-q275
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c4mc-49hq-q275/GHSA-c4mc-49hq-q275.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c4mc-49hq-q275
Aliases
Published
2022-05-14T00:56:45Z
Modified
2024-11-28T05:38:52.671592Z
Summary
Puppet uses predictable filenames, allowing arbitrary file overwrite
Details

Puppet 2.6.x before 2.6.15 and 2.7.x before 2.7.13, and Puppet Enterprise (PE) Users 1.0, 1.1, 1.2.x, 2.0.x, and 2.5.x before 2.5.1 uses predictable file names when installing Mac OS X packages from a remote source, which allows local users to overwrite arbitrary files or install arbitrary packages via a symlink attack on a temporary file in /tmp.

Database specific
{
    "nvd_published_at": "2012-05-29T20:55:00Z",
    "cwe_ids": [
        "CWE-377"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-08-29T21:02:11Z"
}
References

Affected packages

RubyGems / puppet

Package

Name
puppet
Purl
pkg:gem/puppet

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6
Fixed
2.6.15

Affected versions

2.*

2.6.0
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6
2.6.7
2.6.8
2.6.9
2.6.10
2.6.11
2.6.12
2.6.13
2.6.14

RubyGems / puppet

Package

Name
puppet
Purl
pkg:gem/puppet

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.7
Fixed
2.7.13

Affected versions

2.*

2.7.1
2.7.3
2.7.4
2.7.5
2.7.6
2.7.8
2.7.9
2.7.11
2.7.12