HorizonApplication · Opennms

CVE-2023-40313

HIGH · 8.8 CVSS v3.1 Published 2023-08-17
Fix available
A fix is available. Upgrade to 32.0.2 / 2020.1.38 or later.
See remediation →
93/100
Remediation priority · Urgent
No privileges Zero-click Patch available

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis
How this class of weakness works · CWE-94

The application evaluates attacker-influenced input as code, handing them a way to run logic inside the process. Depending on the runtime this can escalate directly to remote code execution. Remediation means removing dynamic evaluation of untrusted input and replacing it with safe, data-driven alternatives.

General guidance for the code injection class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
HorizonApplication
Affected:< 32.0.2
MeridianApplication
Affected:< 2020.1.38>= 2021.1.0, < 2021.1.30>= 2022.1.0, < 2022.1.19>= 2023.1.0, < 2023.1.6

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Adjacent
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 32.0.2 / 2020.1.38 / 2021.1.30 or later
Fixed in 32.0.22020.1.382021.1.30
Vendor patch github.com →
Recommended fix High confidence

Horizon 32.0.2 or Meridian 2023.1.6/2022.1.19/2021.1.30/2020.1.38 depending on product line and version branch

  1. Identify the current OpenNMS product (Horizon or Meridian) and version running in your environment
  2. For Horizon installations: upgrade to version 32.0.2 or newer
  3. For Meridian installations: upgrade to the appropriate fixed version based on your current branch: 2020.1.38 (for 2020.x branches), 2021.1.30 (for 2021.x branches), 2022.1.19 (for 2022.x branches), or 2023.1.6 (for 2023.x branches)
  4. Review the official OpenNMS upgrade documentation at docs.opennms.com before performing the upgrade
  5. Test the upgrade in a non-production environment before deploying to production
  6. After upgrade, verify the BeanShell remote server mode has been properly secured or disabled per the security fix
Caveat Review OpenNMS upgrade release notes for version-specific migration considerations and potential breaking changes between major versions

Generated from the published advisory — verify against the referenced sources before acting.

We can perform the upgrade in your staging environment and verify nothing breaks — typical engagement from $3,200. Get the upgrade done

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-40313 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-40313 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data