GSD-2017-10689
Vulnerability from gsd - Updated: 2022-05-13 00:00Details
When installing a module using the system tar, the PMT will filter filesystem
permissions to a sane value. This may just be based on the user's umask.
When using minitar, files are unpacked with whatever permissions are in the
tarball. This is potentially unsafe, as tarballs can be easily created with
weird permissions.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2017-10689",
"description": "In previous versions of Puppet Agent it was possible to install a module with world writable permissions. Puppet Agent 5.3.4 and 1.10.10 included a fix to this vulnerability.",
"id": "GSD-2017-10689",
"references": [
"https://www.suse.com/security/cve/CVE-2017-10689.html",
"https://access.redhat.com/errata/RHSA-2018:2927",
"https://ubuntu.com/security/CVE-2017-10689",
"https://advisories.mageia.org/CVE-2017-10689.html"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "puppet",
"purl": "pkg:gem/puppet"
}
}
],
"aliases": [
"CVE-2017-10689",
"GHSA-vw22-465p-8j5w"
],
"details": "When installing a module using the system tar, the PMT will filter filesystem\npermissions to a sane value. This may just be based on the user\u0027s umask.\n\nWhen using minitar, files are unpacked with whatever permissions are in the\ntarball. This is potentially unsafe, as tarballs can be easily created with\nweird permissions.\n",
"id": "GSD-2017-10689",
"modified": "2022-05-13T00:00:00.000Z",
"published": "2022-05-13T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://puppet.com/security/cve/CVE-2017-10689"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:2927"
},
{
"type": "WEB",
"url": "https://usn.ubuntu.com/3567-1/"
},
{
"type": "WEB",
"url": "https://github.com/puppetlabs/puppet/commit/17d9e02da3882e44c1876e2805cf9708481715ee"
},
{
"type": "WEB",
"url": "https://github.com/puppetlabs/puppet/commit/2f1047f85e22cde139a421bc25d371f2ffc92cb1"
},
{
"type": "WEB",
"url": "https://tickets.puppetlabs.com/browse/PUP-7866"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 5.5,
"type": "CVSS_V3"
}
],
"summary": "Tarball permission preservation in puppet"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security@puppet.com",
"DATE_PUBLIC": "2018-02-05T00:00:00",
"ID": "CVE-2017-10689",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "Puppet Enterprise",
"version": {
"version_data": [
{
"version_value": "prior to 2016.4.10 or 2017.3.4"
}
]
}
},
{
"product_name": "Puppet Agent",
"version": {
"version_data": [
{
"version_value": "prior to 5.3.4 or 1.10.10"
}
]
}
}
]
},
"vendor_name": "Puppet"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "In previous versions of Puppet Agent it was possible to install a module with world writable permissions. Puppet Agent 5.3.4 and 1.10.10 included a fix to this vulnerability."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "Incorrect Permission Handling"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "USN-3567-1",
"refsource": "UBUNTU",
"url": "https://usn.ubuntu.com/3567-1/"
},
{
"name": "https://puppet.com/security/cve/CVE-2017-10689",
"refsource": "CONFIRM",
"url": "https://puppet.com/security/cve/CVE-2017-10689"
},
{
"name": "RHSA-2018:2927",
"refsource": "REDHAT",
"url": "https://access.redhat.com/errata/RHSA-2018:2927"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2017-10689",
"cvss_v3": 5.5,
"date": "2022-05-13",
"description": "When installing a module using the system tar, the PMT will filter filesystem\npermissions to a sane value. This may just be based on the user\u0027s umask.\n\nWhen using minitar, files are unpacked with whatever permissions are in the\ntarball. This is potentially unsafe, as tarballs can be easily created with\nweird permissions.\n",
"gem": "puppet",
"ghsa": "vw22-465p-8j5w",
"patched_versions": [
"~\u003e 4.10.10",
"\u003e= 5.3.4"
],
"related": {
"url": [
"https://access.redhat.com/errata/RHSA-2018:2927",
"https://usn.ubuntu.com/3567-1/",
"https://github.com/puppetlabs/puppet/commit/17d9e02da3882e44c1876e2805cf9708481715ee",
"https://github.com/puppetlabs/puppet/commit/2f1047f85e22cde139a421bc25d371f2ffc92cb1",
"https://tickets.puppetlabs.com/browse/PUP-7866"
]
},
"title": "Tarball permission preservation in puppet",
"url": "https://puppet.com/security/cve/CVE-2017-10689"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c4.10.10||\u003e=5.0.0 \u003c5.3.4",
"affected_versions": "All versions before 4.10.10, all versions starting from 5.0.0 before 5.3.4",
"cvss_v2": "AV:L/AC:L/Au:N/C:N/I:P/A:N",
"cvss_v3": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-269",
"CWE-937"
],
"date": "2022-07-22",
"description": "In previous versions of Puppet Agent it was possible to install a module with world writable permissions. Puppet Agent 5.3.4 and 1.10.10 included a fix to this vulnerability.",
"fixed_versions": [
"4.10.10",
"5.3.4"
],
"identifier": "CVE-2017-10689",
"identifiers": [
"GHSA-vw22-465p-8j5w",
"CVE-2017-10689"
],
"not_impacted": "All versions starting from 4.10.10 before 5.0.0, all versions starting from 5.3.4",
"package_slug": "gem/puppet",
"pubdate": "2022-05-13",
"solution": "Upgrade to versions 4.10.10, 5.3.4 or above.",
"title": "Improper Privilege Management",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2017-10689",
"https://access.redhat.com/errata/RHSA-2018:2927",
"https://puppet.com/security/cve/CVE-2017-10689",
"https://usn.ubuntu.com/3567-1/",
"https://github.com/puppetlabs/puppet/commit/17d9e02da3882e44c1876e2805cf9708481715ee",
"https://github.com/puppetlabs/puppet/commit/2f1047f85e22cde139a421bc25d371f2ffc92cb1",
"https://tickets.puppetlabs.com/browse/PUP-7866",
"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puppet/CVE-2017-10689.yml",
"https://github.com/advisories/GHSA-vw22-465p-8j5w"
],
"uuid": "1746140e-f6bc-4d70-a49e-3c1f53abdc73"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "1.10.10",
"versionStartIncluding": "1.10.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "2017.3.4",
"versionStartIncluding": "2017.1.0",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:puppet:puppet:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "5.3.4",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "2016.4.10",
"vulnerable": true
}
],
"operator": "OR"
},
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
},
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:redhat:satellite:6.4:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@puppet.com",
"ID": "CVE-2017-10689"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "In previous versions of Puppet Agent it was possible to install a module with world writable permissions. Puppet Agent 5.3.4 and 1.10.10 included a fix to this vulnerability."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-269"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://puppet.com/security/cve/CVE-2017-10689",
"refsource": "CONFIRM",
"tags": [
"Vendor Advisory"
],
"url": "https://puppet.com/security/cve/CVE-2017-10689"
},
{
"name": "USN-3567-1",
"refsource": "UBUNTU",
"tags": [
"Third Party Advisory"
],
"url": "https://usn.ubuntu.com/3567-1/"
},
{
"name": "RHSA-2018:2927",
"refsource": "REDHAT",
"tags": [
"Third Party Advisory"
],
"url": "https://access.redhat.com/errata/RHSA-2018:2927"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "LOCAL",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 2.1,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:L/AC:L/Au:N/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 3.9,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "LOW",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "NONE",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
"version": "3.0"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6
}
},
"lastModifiedDate": "2019-10-03T00:03Z",
"publishedDate": "2018-02-09T20:29Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…