org.apache.opennlp:opennlp-tools@3.0.0-M2

  • latest version

    2.5.9

  • latest non vulnerable version

  • first published

    15 years ago

  • latest version published

    14 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.apache.opennlp:opennlp-tools package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Memory Allocation with Excessive Size Value

    org.apache.opennlp:opennlp-tools is an is a machine learning based toolkit for the processing of natural language text.

    Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the AbstractModelReader class. An attacker can cause the application to exhaust system memory and crash by supplying a crafted .bin model file with manipulated count fields that trigger unbounded array allocations during deserialization.

    Note:

    This is only exploitable if the application loads model files from untrusted or semi-trusted sources.

    How to fix Memory Allocation with Excessive Size Value?

    Upgrade org.apache.opennlp:opennlp-tools to version 2.5.9, 3.0.0-M3 or higher.

    [,2.5.9)[3.0.0-M1,3.0.0-M3)