nanopb@0.4.4.dev1192 vulnerabilities

Nanopb is a small code-size Protocol Buffers implementation in ansi C. It is especially suitable for use in microcontrollers, but fits any memory restricted system.

  • latest version

    1.0.0.dev1528

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    24 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the nanopb package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Release of Invalid Pointer or Reference

    nanopb is a python binding for C package nanopb.

    Affected versions of this package are vulnerable to Release of Invalid Pointer or Reference. Decoding a specifically formed message can cause invalid free() or realloc() calls if the message type contains an oneof field, and the oneof directly contains both a pointer field and a non-pointer field. If the message data first contains the non-pointer field and then the pointer field, the data of the non-pointer field is incorrectly treated as if it was a pointer value. Such message data rarely occurs in normal messages, but it is a concern when untrusted data is parsed.

    How to fix Release of Invalid Pointer or Reference?

    Upgrade nanopb to version 0.3.9.8, 0.4.5 or higher.

    [,0.3.9.8)[0.4.0,0.4.5)