OS Command Injection Affecting foreman-cli package, versions *


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.1% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-FOREMANCLI-5442310
  • published21 Apr 2023
  • disclosed19 Apr 2023

Introduced: 19 Apr 2023

CVE-2022-3874  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 foreman-cli.

NVD Description

Note: Versions mentioned in the description apply only to the upstream foreman-cli package and not the foreman-cli package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

A command injection flaw was found in foreman. This flaw allows an authenticated user with admin privileges on the foreman instance to transpile commands through CoreOS and Fedora CoreOS configurations in templates, possibly resulting in arbitrary command execution on the underlying operating system.

CVSS Scores

version 3.1