com.upokecenter:cbor@4.4.4 vulnerabilities

  • latest version

    4.5.6

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    1 years ago

  • licenses detected

    • [0.23.0,4.5.5); [5.0.0-alpha1,5.0.0-alpha2)
  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the com.upokecenter:cbor 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
    Denial of Service (DoS)

    com.upokecenter:cbor is a Java implementation of Concise Binary Object Representation.

    Affected versions of this package are vulnerable to Denial of Service (DoS) via an inefficient algorithm when a maliciously crafted input is passed to DecodeFromBytes or other CBOR decoding mechanisms.

    Workaround

    An input that decodes to a single CBOR object is not capable of containing a CBOR map if:

    1. It begins with a byte other than 0x80 through 0xDF, or
    2. It does not contain a byte in the range 0xa0 through 0xBF Such an input is not affected by this vulnerability and an application can choose to perform this check before passing it to a CBOR decoding mechanism.

    How to fix Denial of Service (DoS)?

    Upgrade com.upokecenter:cbor to version 4.5.2 or higher.

    [4.0.0,4.5.2)