Apache Lucene.Net.Replicator Deserialization of Untrusted Data vulnerability
Published 31 Oct 2024 · Updated 11 Feb 2025
Is your project on an affected Lucene.Net.Replicator?
Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=4.8.0-beta00005 <4.8.0-beta00017
- Fixed in
- 4.8.0-beta00017
dotnet add package Lucene.Net.Replicator --version 4.8.0-beta00017Details
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.
Is GHSA-2qw8-ppr5-m96c in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected Lucene.Net.Replicator, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.