{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-4871 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-4871 is a medium-severity vulnerability in Red Hat Satellite 6.15 for RHEL 8, published on 14 May 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-4871 and fix it if it is affected.\n\nWhat it is: CVE-2024-4871 is a medium-severity vulnerability in Red Hat Satellite 6.15 for RHEL 8, published on 14 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-4871 in the wild and no public exploit code.\n\nAffected product: Red Hat Satellite 6.15 for RHEL 8. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-4871/ (Markdown: https://insights.sbomify.com/CVE-2024-4871/index.md)","id":"CVE-2024-4871","markdown":"https://insights.sbomify.com/CVE-2024-4871/index.md","name":"CVE-2024-4871","record":{"aliases":["GHSA-q5x2-4347-hrg2","RHBA-2024:4589"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Red Hat Satellite","requires_auth":"low_privilege","summary":"Attackers can perform man-in-the-middle attacks during remote execution because SSH host key checking is disabled, potentially leaking secrets.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-322","name":"Key Exchange without Entity Authentication"}],"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.","ecosystems":["Red Hat:satellite:6.15::el8","Red Hat:satellite_capsule:6.15::el8","Red Hat:satellite_utils:6.15::el8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Foreman: host ssh key not being checked in remote execution","id":"CVE-2024-4871","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2024"},"n_packages":51,"n_references":3,"next":{"headline":"Code injection in MicroSCADA Pro SYS600","id":"CVE-2024-4872"},"packages":[{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:4.3.14-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"candlepin","purl":"pkg:rpm/redhat/candlepin","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:4.3.14-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"candlepin-selinux","purl":"pkg:rpm/redhat/candlepin-selinux","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman","purl":"pkg:rpm/redhat/foreman","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-cli","purl":"pkg:rpm/redhat/foreman-cli","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-debug","purl":"pkg:rpm/redhat/foreman-debug","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-dynflow-sidekiq","purl":"pkg:rpm/redhat/foreman-dynflow-sidekiq","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-ec2","purl":"pkg:rpm/redhat/foreman-ec2","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["1:3.9.3.2-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-installer","purl":"pkg:rpm/redhat/foreman-installer","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["1:3.9.3.2-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-installer-katello","purl":"pkg:rpm/redhat/foreman-installer-katello","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-journald","purl":"pkg:rpm/redhat/foreman-journald","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-libvirt","purl":"pkg:rpm/redhat/foreman-libvirt","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-openstack","purl":"pkg:rpm/redhat/foreman-openstack","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-ovirt","purl":"pkg:rpm/redhat/foreman-ovirt","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-pcp","purl":"pkg:rpm/redhat/foreman-pcp","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-postgresql","purl":"pkg:rpm/redhat/foreman-postgresql","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-redis","purl":"pkg:rpm/redhat/foreman-redis","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-service","purl":"pkg:rpm/redhat/foreman-service","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-telemetry","purl":"pkg:rpm/redhat/foreman-telemetry","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-vmware","purl":"pkg:rpm/redhat/foreman-vmware","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:2.16.9-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python-pulp-container","purl":"pkg:rpm/redhat/python-pulp-container","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.39.15-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python-pulpcore","purl":"pkg:rpm/redhat/python-pulpcore","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:2.16.9-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-pulp-container","purl":"pkg:rpm/redhat/python3.11-pulp-container","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.39.15-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-pulpcore","purl":"pkg:rpm/redhat/python3.11-pulpcore","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:1.8.3-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"rubygem-dynflow","purl":"pkg:rpm/redhat/rubygem-dynflow","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:13.0.6-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"rubygem-foreman_ansible","purl":"pkg:rpm/redhat/rubygem-foreman_ansible","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:12.0.7-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"rubygem-foreman_remote_execution","purl":"pkg:rpm/redhat/rubygem-foreman_remote_execution","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:12.0.7-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"rubygem-foreman_remote_execution-cockpit","purl":"pkg:rpm/redhat/rubygem-foreman_remote_execution-cockpit","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:4.11.0.15-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"rubygem-katello","purl":"pkg:rpm/redhat/rubygem-katello","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:3.0.0-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"rubygem-smart_proxy_container_gateway","purl":"pkg:rpm/redhat/rubygem-smart_proxy_container_gateway","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:0.10.6-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"rubygem-smart_proxy_remote_execution_ssh","purl":"pkg:rpm/redhat/rubygem-smart_proxy_remote_execution_ssh","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:6.15.2-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"satellite","purl":"pkg:rpm/redhat/satellite","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:6.15.2-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"satellite-cli","purl":"pkg:rpm/redhat/satellite-cli","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite:6.15::el8","fixed":["0:6.15.2-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"satellite-common","purl":"pkg:rpm/redhat/satellite-common","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite_capsule:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman","purl":"pkg:rpm/redhat/foreman","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite_capsule:6.15::el8","fixed":["0:3.9.1.8-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-debug","purl":"pkg:rpm/redhat/foreman-debug","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite_capsule:6.15::el8","fixed":["1:3.9.3.2-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-installer","purl":"pkg:rpm/redhat/foreman-installer","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite_capsule:6.15::el8","fixed":["1:3.9.3.2-1.el8sat"],"introduced":["0"],"last_affected":[],"package":"foreman-installer-katello","purl":"pkg:rpm/redhat/foreman-installer-katello","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite_capsule:6.15::el8","fixed":["0:2.16.9-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python-pulp-container","purl":"pkg:rpm/redhat/python-pulp-container","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite_capsule:6.15::el8","fixed":["0:3.39.15-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python-pulpcore","purl":"pkg:rpm/redhat/python-pulpcore","source":"RHBA-2024:4589"},{"ecosystem":"Red Hat:satellite_capsule:6.15::el8","fixed":["0:2.16.9-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-pulp-container","purl":"pkg:rpm/redhat/python3.11-pulp-container","source":"RHBA-2024:4589"}],"prev":{"headline":"Frontend Registration – Contact Form 7 \u003c= 5.1 - Authenticated (Editor+) Privilege Escalation","id":"CVE-2024-4870"},"products":["Red Hat Satellite 6.15 for RHEL 8"],"published":"2024-05-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["Red Hat"]},"summary":"Attackers can perform man-in-the-middle attacks during remote execution because SSH host key checking is disabled, potentially leaking secrets.","url":"https://insights.sbomify.com/CVE-2024-4871/"}