Skip to content

Foreman Transpilation Enables OS Command Injection

Critical severity GitHub Reviewed Published Sep 22, 2023 to the GitHub Advisory Database • Updated Nov 9, 2023
Withdrawn This advisory was withdrawn on Sep 27, 2023

Package

bundler foreman (RubyGems)

Affected versions

<= 3.8.0

Patched versions

None

Description

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.

References

Published by the National Vulnerability Database Sep 22, 2023
Published to the GitHub Advisory Database Sep 22, 2023
Reviewed Sep 27, 2023
Withdrawn Sep 27, 2023
Last updated Nov 9, 2023

Severity

Critical
9.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-3874

GHSA ID

GHSA-9jfq-54vc-9rr2

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.