critical9.1
CVE-2022-3874
Foreman Transpilation Enables OS Command Injection
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | foreman | <= 3.8.0 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Satellite | Version 6.0 |
| Theforeman | Foreman | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/security/cve/CVE-2022-3874
- https://bugzilla.redhat.com/show_bug.cgi?id=2140577
- https://github.com/advisories/GHSA-9jfq-54vc-9rr2
- https://nvd.nist.gov/vuln/detail/CVE-2022-3874
- https://github.com/theforeman/foreman/pull/9836
- https://github.com/theforeman/theforeman.org/pull/2101