CVE-2024-4871

Foreman: host ssh key not being checked in remote execution

State
Published
Severity
6.8 Medium
Published
May 14, 2024
Updated
Feb 25, 2026
Reserved
May 14, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Nredhat

Weaknesses

  • CWE-322 Key Exchange without Entity Authentication

Affected Products

ProductVersions
foreman
  • 3.9.1.8Affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:4.3.14-1.el8sat and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:3.9.1.8-1.el8sat and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 1:3.9.3.2-1.el8sat and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:2.16.9-1.el8pc and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:3.39.15-1.el8pc and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:1.8.3-1.el8sat and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:13.0.6-1.el8sat and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:12.0.7-1.el8sat and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:4.11.0.15-1.el8sat and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:3.0.0-1.el8sat and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:0.10.6-1.el8sat and laterNot affected
Red Hat Satellite 6.15 for RHEL 8Red Hat
  • 0:6.15.2-1.el8sat and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.