# CVE-2024-4871: Foreman: host ssh key not being checked in remote execution

- Severity: Medium 6.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-02)
- Published: 2024-05-14T14:27:41.323Z
- Modified: 2026-11-26T20:17:21.653Z
- Weaknesses: CWE-322
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

A vulnerability was found in Satellite. When running a remote execution job on a host, the host's SSH key is not being checked. When the key changes, the Satellite still connects it because it uses "-o StrictHostKeyChecking=no". This flaw can lead to a man-in-the-middle attack (MITM), denial of service, leaking of secrets the remote execution job contains, or other issues that may arise from the attacker's ability to forge an SSH key. This issue does not directly allow unauthorized remote execution on the Satellite, although it can leak secrets that may lead to it.

(As written by CVE List.)

## Affected

- foreman: 3.9.1.8 (not affected: from 0:3.9.1.8-1.el8sat before *)
- candlepin: no versions given (not affected: from 0:4.3.14-1.el8sat before *)
- foreman-installer: no versions given (not affected: from 1:3.9.3.2-1.el8sat before *)
- python-pulp-container: no versions given (not affected: from 0:2.16.9-1.el8pc before *)
- python-pulpcore: no versions given (not affected: from 0:3.39.15-1.el8pc before *)
- rubygem-dynflow: no versions given (not affected: from 0:1.8.3-1.el8sat before *)
- rubygem-foreman_ansible: no versions given (not affected: from 0:13.0.6-1.el8sat before *)
- rubygem-foreman_remote_execution: no versions given (not affected: from 0:12.0.7-1.el8sat before *)
- rubygem-katello: no versions given (not affected: from 0:4.11.0.15-1.el8sat before *)
- rubygem-smart_proxy_container_gateway: no versions given (not affected: from 0:3.0.0-1.el8sat before *)
- rubygem-smart_proxy_remote_execution_ssh: no versions given (not affected: from 0:0.10.6-1.el8sat before *)
- satellite: no versions given (not affected: from 0:6.15.2-1.el8sat before *)

## References

- <https://access.redhat.com/errata/RHBA-2024:4589> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-4871> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2278627> (issue-tracking)

## Sources

- CVE List: [CVE-2024-4871](https://www.cve.org/CVERecord?id=CVE-2024-4871), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2024-4871](https://nvd.nist.gov/vuln/detail/CVE-2024-4871), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2024-4871 · Whole record: https://cve.day/CVE-2024-4871.json · Rebuilt by cve.day 2026-11-26T20:32:33.060Z
