CVE-2024-51127 hornetq vulnerable to file overwrite, sensitive information disclosure
Attackers can exploit a path traversal flaw in HornetQ to overwrite arbitrary files or access sensitive information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-51127?
CVE-2024-51127 is a critical path traversal vulnerability in n/a, published on 4 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue in the createTempFile method of hornetq v2.4.9 allows attackers to arbitrarily overwrite files or access sensitive information.
Weakness: CWE-22
Which versions are affected by CVE-2024-51127?
2 open source packages ship an affected version, including org.hornetq:hornetq-core-client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.hornetq:hornetq-core-client Maven | All versions to 2.4.9 | None |
org.hornetq:hornetq-core-client Maven | All versions to 2.4.9 | None |
Linux distribution packages (38)
eap7-hal-console Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.3.25-1.Final_redhat_00001.1.el7eap |
eap7-hibernate Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el7eap |
eap7-hibernate-core Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el7eap |
eap7-hibernate-entitymanager Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el7eap |
eap7-hibernate-envers Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el7eap |
eap7-hibernate-java8 Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el7eap |
eap7-hornetq Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:2.4.11-1.Final_redhat_00001.1.el7eap |
eap7-hornetq-commons Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:2.4.11-1.Final_redhat_00001.1.el7eap |
eap7-hornetq-core-client Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:2.4.11-1.Final_redhat_00001.1.el7eap |
eap7-hornetq-jms-client Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:2.4.11-1.Final_redhat_00001.1.el7eap |
eap7-jbossws-common Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.0-1.Final_redhat_00001.1.el7eap |
eap7-jbossws-cxf Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:5.4.14-1.Final_redhat_00001.1.el7eap |
eap7-opensaml Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-core Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-profile-api Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-saml-api Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-saml-impl Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-security-api Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-security-impl Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-soap-api Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-xacml-api Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-xacml-impl Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-xacml-saml-api Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-xacml-saml-impl Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-xmlsec-api Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-opensaml-xmlsec-impl Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:3.4.6-1.redhat_00001.1.el7eap |
eap7-wildfly Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:7.4.21-2.GA_redhat_00001.1.el7eap |
eap7-wildfly-java-jdk11 Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:7.4.21-2.GA_redhat_00001.1.el7eap |
eap7-wildfly-java-jdk8 Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:7.4.21-2.GA_redhat_00001.1.el7eap |
eap7-wildfly-javadocs Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:7.4.21-2.GA_redhat_00001.1.el7eap |
eap7-wildfly-modules Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:7.4.21-2.GA_redhat_00001.1.el7eap |
eap7-xml-security Red Hat:jboss_enterprise_application_platform:7.4::el7 | All versions | 0:2.3.5-1.redhat_00001.1.el7eap |
eap7-hal-console Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:3.3.25-1.Final_redhat_00001.1.el8eap |
eap7-hibernate Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el8eap |
eap7-hibernate-core Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el8eap |
eap7-hibernate-entitymanager Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el8eap |
eap7-hibernate-envers Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el8eap |
eap7-hibernate-java8 Red Hat:jboss_enterprise_application_platform:7.4::el8 | All versions | 0:5.3.37-1.Final_redhat_00001.1.el8eap |
Products include Redhat Hornetq.
How do I fix CVE-2024-51127?
Apply the vendor's patch.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-51127 being exploited?
There is no known exploitation of CVE-2024-51127 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-r7mv-mv7m-pjw3, RHSA-2024:11529, RHSA-2025:0371, RHSA-2025:1636, RHSA-2025:1637, RHSA-2025:1638.