high7.1
CVE-2023-40313
OpenNMS vulnerable to remote code execution
Impact
A BeanShell interpreter in remote server mode runs in OpenNMS Horizon versions earlier than 32.0.2 and in related Meridian versions which could allow arbitrary remote Java code execution. The solution is to upgrade to Meridian 2023.1.6, 2022.1.19, 2021.1.30, 2020.1.38 or Horizon 32.0.2 or newer. Meridian and Horizon installation instructions state that they are intended for installation within an organization's private networks and should not be directly accessible from the Internet.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.opennms:opennms-base-assembly | < 32.0.2 | 32.0.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Opennms | Horizon | before 32.0.2 |
| Opennms | Meridian | before 2020.1.38 from 2021.1.0 before 2021.1.30 from 2022.1.0 before 2022.1.19 from 2023.1.0 before 2023.1.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://docs.opennms.com/horizon/32/releasenotes/changelog.html
- https://github.com/OpenNMS/opennms/pull/6368
- https://github.com/advisories/GHSA-5m5f-qg8r-p9qf
- https://nvd.nist.gov/vuln/detail/CVE-2023-40313
- https://github.com/OpenNMS/opennms/commit/2909448b039bd46241efa52c450ffdb4f5a7dee1