Security Exception in org.apache.lucene.util.ArrayUtil.growExact
Summary
OSV-2023-533: Security exception in org.apache.lucene.util.ArrayUtil.growExact. Affects lucene versions >= 5d203f8337cb6a2350c1abe5d83e3e103d060645. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Apache Lucene package is a high-performance, full-featured text search engine library written in Java. It provides indexing and searching capabilities for various applications. The vulnerability in question affects the Lucene package and specifically the ArrayUtil.growExact method.
Vulnerability Detail
The vulnerability is a security exception that occurs in the ArrayUtil.growExact method of the Lucene package. It has been reported through the OSS-Fuzz project. The crash state indicates that the exception is triggered during the growth of an array, leading to a security issue. The severity of this vulnerability is classified as LOW. The vulnerability was introduced in commit 5d203f8337cb6a2350c1abe5d83e3e103d060645 and affects versions up to commit 8af305892d726c180f03316c73aebf8183c2e481.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No specific workaround has been provided for this vulnerability.
Conclusion
In conclusion, the Lucene package is affected by a security exception in the ArrayUtil.growExact method. The vulnerability has a LOW severity and can be fixed by updating the package to a version after commit 8af305892d726c180f03316c73aebf8183c2e481. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for lucene →
FAQ
The Lucene package is a Java library that provides indexing and searching capabilities for applications.
The severity of this vulnerability is classified as LOW.
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will provide real-time alerts for open-source vulnerabilities.
Yes, a fix for this vulnerability is available in versions after commit 8af305892d726c180f03316c73aebf8183c2e481 of the Lucene package.
You can find more information about this vulnerability in the OSS-Fuzz report at https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=60248.
References
Related vulnerabilities
Recent vulnerabilities recorded for lucene.