Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. puppet-facter
  4. ›
  5. CVE-2022-25350

CVE-2022-25350: Command Injection in puppet-facter

January 26, 2023 (updated April 1, 2025)

All versions of the package puppet-facter are vulnerable to Command Injection via the getFact function due to improper input sanitization.

References

  • github.com/advisories/GHSA-g5qr-xgg7-8q2w
  • github.com/olindata/node-puppet-facter/blob/f34bcc754325d71bb3b1b534804e53d6170f15f5/index.js
  • nvd.nist.gov/vuln/detail/CVE-2022-25350
  • security.snyk.io/vuln/SNYK-JS-PUPPETFACTER-3175616

Code Behaviors & Features

Detect and mitigate CVE-2022-25350 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.2

Solution

Unfortunately, there is no solution available yet.

Impact 7.4 HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/puppet-facter/CVE-2022-25350.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.