{"api_version":"1","generated_at":"2026-04-23T02:34:00+00:00","cve":"CVE-2017-2298","urls":{"html":"https://cve.report/CVE-2017-2298","api":"https://cve.report/api/cve/CVE-2017-2298.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-2298","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-2298"},"summary":{"title":"CVE-2017-2298","description":"The mcollective-sshkey-security plugin before 0.5.1 for Puppet uses a server-specified identifier as part of a path where a file is written. A compromised server could use this to write a file to an arbitrary location on the client with the filename appended with the string \"_pub.pem\".","state":"PUBLIC","assigner":"security@puppet.com","published_at":"2017-06-30 20:29:00","updated_at":"2021-09-09 12:57:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://puppet.com/security/cve/cve-2017-2298","name":"https://puppet.com/security/cve/cve-2017-2298","refsource":"CONFIRM","tags":["Mitigation","Patch","Vendor Advisory"],"title":"CVE-2017-2298 - mcollective-sshkey-security missing input sanitization | Puppet.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/puppetlabs/mcollective-sshkey-security/blob/0.5.1/CHANGELOG.md","name":"https://github.com/puppetlabs/mcollective-sshkey-security/blob/0.5.1/CHANGELOG.md","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"mcollective-sshkey-security/CHANGELOG.md at 0.5.1 · choria-legacy/mcollective-sshkey-security · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/puppetlabs/mcollective-sshkey-security/commit/3388a3109f4fb1c69fa8505e991bf59ca20d19a2","name":"https://github.com/puppetlabs/mcollective-sshkey-security/commit/3388a3109f4fb1c69fa8505e991bf59ca20d19a2","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"(MCOP-600) Prevent public key overwriting attack via identity · choria-legacy/mcollective-sshkey-security@3388a31 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-2298","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-2298","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"2298","vulnerable":"1","versionEndIncluding":"0.5.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"puppet","cpe5":"mcollective-sshkey-security","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"puppet","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"2298","vulnerable":"1","versionEndIncluding":"0.5.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"puppetlabs","cpe5":"mcollective-sshkey-security","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"puppet","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@puppet.com","DATE_PUBLIC":"2017-06-30T00:00:00","ID":"CVE-2017-2298","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"mcollective","version":{"version_data":[{"version_value":"< 0.5.1"}]}}]},"vendor_name":"Puppet"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The mcollective-sshkey-security plugin before 0.5.1 for Puppet uses a server-specified identifier as part of a path where a file is written. A compromised server could use this to write a file to an arbitrary location on the client with the filename appended with the string \"_pub.pem\"."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"missing input sanitization"}]}]},"references":{"reference_data":[{"name":"https://github.com/puppetlabs/mcollective-sshkey-security/blob/0.5.1/CHANGELOG.md","refsource":"CONFIRM","url":"https://github.com/puppetlabs/mcollective-sshkey-security/blob/0.5.1/CHANGELOG.md"},{"name":"https://puppet.com/security/cve/cve-2017-2298","refsource":"CONFIRM","url":"https://puppet.com/security/cve/cve-2017-2298"},{"name":"https://github.com/puppetlabs/mcollective-sshkey-security/commit/3388a3109f4fb1c69fa8505e991bf59ca20d19a2","refsource":"CONFIRM","url":"https://github.com/puppetlabs/mcollective-sshkey-security/commit/3388a3109f4fb1c69fa8505e991bf59ca20d19a2"}]}},"nvd":{"publishedDate":"2017-06-30 20:29:00","lastModifiedDate":"2021-09-09 12:57:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:puppet:mcollective-sshkey-security:*:*:*:*:*:puppet:*:*","versionEndIncluding":"0.5.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"2298","Ordinal":"98437","Title":"CVE-2017-2298","CVE":"CVE-2017-2298","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"2298","Ordinal":"1","NoteData":"The mcollective-sshkey-security plugin before 0.5.1 for Puppet uses a server-specified identifier as part of a path where a file is written. A compromised server could use this to write a file to an arbitrary location on the client with the filename appended with the string \"_pub.pem\".","Type":"Description","Title":null},{"CveYear":"2017","CveId":"2298","Ordinal":"2","NoteData":"2017-06-30","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"2298","Ordinal":"3","NoteData":"2017-06-30","Type":"Other","Title":"Modified"}]}}}