{"id":"CVE-2022-25350","aliases":["CVE-2022-25350","GHSA-g5qr-xgg7-8q2w"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in puppet-facter","summary":"All versions of the package puppet-facter are vulnerable to Command Injection via the getFact  function due to improper input sanitization.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"All versions of the package puppet-facter are vulnerable to Command Injection via the getFact  function due to improper input sanitization.","source":"cvelist"},{"lang":"es","text":"Todas las versiones del paquete puppet-factorer son vulnerables a la inyección de comandos a través de la función getFact debido a una sanitización de entrada inadecuada.","source":"nvd"}],"published":"2023-01-24T05:00:01.270Z","modified":"2026-06-17T04:33:26.413Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"puppet-facter","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.2"}],"ecosystem":"npm","package":"puppet-facter","purl":"pkg:npm/puppet-facter","source":"ghsa"},{"ranges":[],"vendor":"helecloud","product":"puppet-facter","cpe":"cpe:2.3:a:helecloud:puppet-facter:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-PUPPETFACTER-3175616","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/olindata/node-puppet-facter/blob/f34bcc754325d71bb3b1b534804e53d6170f15f5/index.js%23L10","tags":["broken-link","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25350","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/olindata/node-puppet-facter/blob/f34bcc754325d71bb3b1b534804e53d6170f15f5/index.js#23L10","tags":["web"],"sources":["ghsa"]}],"credits":["JHU"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-04-01T15:30:34.767Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25350","url":"https://www.cve.org/CVERecord?id=CVE-2022-25350","licence":"CVE Terms of Use","modified":"2025-04-01T15:30:49.697Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g5qr-xgg7-8q2w","url":"https://github.com/advisories/GHSA-g5qr-xgg7-8q2w","licence":"CC-BY-4.0","modified":"2025-04-01T23:03:57.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25350","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25350","licence":"Public domain","modified":"2026-06-17T04:33:26.413Z"}],"updatedAt":"2026-11-25T22:58:18.324Z","epss":{"score":0.0118,"percentile":0.68558,"date":"2026-12-01T12:00:22.000Z"}}