Vulnerabilities in pkg:nuget/Lucene.Net.Replicator

PACKAGE
Advisory Identifier: GHSA-2qw8-ppr5-m96c
Advisory Summary

CVE-2024-43383 is a HIGH (CVSS 8.0) apache lucene.net.replicator deserialization of untrusted vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Lucene.Net.Replicator libraries in the NuGet ecosystem. The issue involves apache lucene.net.replicator deserialization of untrusted data vulnerability. Remediation is available by upgrading affected packages to version 4.8.0-beta00017.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/Lucene.Net.Replicator

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/Lucene.Net.Replicator. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2qw8-ppr5-m96c CVE-2024-43383 HIGH Apache Lucene.Net.Replicator Deserialization of Untrusted Data vulnerability

CVE-2024-43383 at a Glance

CVE Identifier CVE-2024-43383
GHSA Identifier GHSA-2qw8-ppr5-m96c
Severity HIGH
CVSS v3.1 Base Score 8.0
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Lucene.Net.Replicator
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 8.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Adjacent (AV:A)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2024-43383

To remediate this vulnerability, upgrade all affected Lucene.Net.Replicator dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Lucene.Net.Replicator fixed: 4.8.0-beta00017
Upgrade Lucene.Net.Replicator to 4.8.0-beta00017
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Lucene.Net.Replicator

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-43383, inspect your project dependencies for Lucene.Net.Replicator:

inspect dependencies for Lucene.Net.Replicator

Analyze the terminal output to locate any version of Lucene.Net.Replicator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.8.0-beta00017), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Lucene.Net.Replicator, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Deserialization of Untrusted Data vulnerability in Apache Lucene.Net.Replicator. This issue affects Apache Lucene.NET's Replicator library: from 4.8.0-beta00005 through 4.8.0-beta00016. An attacker that can intercept traffic between a replication client and server, or control the target replication node URL, can provide a specially-crafted JSON response that is deserialized as an attacker-provided exception type. This can result in remote code execution or other potential unauthorized access. Users are recommended to upgrade to version 4.8.0-beta00017, which fixes the issue.

CVE-2024-43383 Affected Lucene.Net.Replicator Versions

1 component(s)
Fixed Versions:
4.8.0-beta00017
Product / Package Ecosystem Affected Versions Fixed Version
Lucene.Net.Replicator
NuGet
≥ 4.8.0-beta00005
< 4.8.0-beta00017
4.8.0-beta00017

References

Frequently Asked Questions

What is CVE-2024-43383?
CVE-2024-43383 is a security vulnerability in Lucene.Net.Replicator involving Apache Lucene.Net.Replicator Deserialization of Untrusted Data vulnerability under CWE-502: Deserialization of Untrusted Data.
Which Lucene.Net.Replicator versions are affected?
Affected versions include releases prior to 4.8.0-beta00017 across affected packages: Lucene.Net.Replicator.
What version fixes CVE-2024-43383?
Upgrading to 4.8.0-beta00017 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Lucene.Net.Replicator affected?
Yes, Lucene.Net.Replicator is affected in releases prior to 4.8.0-beta00017. Upgrade your dependency to 4.8.0-beta00017 or later.
What is the CVSS score of CVE-2024-43383?
CVE-2024-43383 has a CVSS v3.1 base score of 8.0 (HIGH) with vector string CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2024-43383?
CVE-2024-43383 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check NuGet dependencies for CVE-2024-43383?
Run the dependency tree command: 'inspect dependencies for Lucene.Net.Replicator'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2qw8-ppr5-m96c",
  "modified" : "2025-02-11T19:01:31Z",
  "published" : "2024-10-31T12:30:32Z",
  "aliases" : [ "CVE-2024-43383" ],
  "summary" : "Apache Lucene.Net.Replicator Deserialization of Untrusted Data vulnerability",
  "details" : "Deserialization of Untrusted Data vulnerability in Apache Lucene.Net.Replicator.\n\nThis issue affects Apache Lucene.NET's Replicator library: from 4.8.0-beta00005 through 4.8.0-beta00016.\n\nAn attacker that can intercept traffic between a replication client and server, or control the target replication node URL, can provide a specially-crafted JSON response that is deserialized as an attacker-provided exception type. This can result in remote code execution or other potential unauthorized access.\n\nUsers are recommended to upgrade to version 4.8.0-beta00017, which fixes the issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Lucene.Net.Replicator"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.8.0-beta00005"
      }, {
        "fixed" : "4.8.0-beta00017"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-43383"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/lucenenet/commit/1f61dd0fdb465e17141a79d22eb2f2bc02059acc"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/lucenenet"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/wlz1p76dxpt4rl9o29voxjd5zl7717nh"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/10/31/2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-10-31T15:01:08Z",
    "nvd_published_at" : "2024-10-31T10:15:04Z"
  }
}