{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-2298","published":"2017-06-30T20:29:00.217000Z","last_modified":"2026-06-17T01:15:54.710000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:puppet:mcollective-sshkey-security:*:*:*:*:*:puppet:*:*","part":"a","vendor":"puppet","product":"mcollective-sshkey-security","version_end_including":"0.5.0"}],"cpes_truncated":false,"vendors":["puppet"],"products":["puppet/mcollective-sshkey-security"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2017-2298/","html_en":"/en/cve/CVE-2017-2298/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-2298","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-2298"},"untrusted":{"vendor_name":"Puppet","product_name":"Mcollective-sshkey-security","desc_en":"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\".","affected":[{"untrusted_vendor":"Puppet","untrusted_product":"mcollective"}],"references":[{"url":"https://github.com/puppetlabs/mcollective-sshkey-security/blob/0.5.1/CHANGELOG.md","tags":["Third Party Advisory"]},{"url":"https://github.com/puppetlabs/mcollective-sshkey-security/commit/3388a3109f4fb1c69fa8505e991bf59ca20d19a2","tags":["Third Party Advisory"]},{"url":"https://puppet.com/security/cve/cve-2017-2298","tags":["Mitigation","Patch","Vendor Advisory"]}]}}