com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf@2.20.0

  • latest version

    2.22.4

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    11 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf 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
    Integer Overflow or Wraparound

    Affected versions of this package are vulnerable to Integer Overflow or Wraparound in ProtobufParser.java. An attacker can crash the process with an OutOfMemoryError by sending a Protobuf message of about 33 bytes with a string or bytes length near Integer.MAX_VALUE, which bypasses the bounds check and makes the parser allocate an array of that size. Only services that parse untrusted Protobuf input are exposed, and neither heap tuning nor StreamReadConstraints limits the allocation.

    How to fix Integer Overflow or Wraparound?

    Upgrade com.fasterxml.jackson.dataformat:jackson-dataformat-protobuf to version 2.22.3, 2.18.11, 2.21.7 or higher.

    [2.22.0,2.22.3)[2.6.0,2.18.11)[2.19.0,2.21.7)