Resource Exhaustion Affecting nanopb package, versions [,0.3.9.7)[0.4.0,0.4.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.4% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-NANOPB-1045832
  • published26 Nov 2020
  • disclosed25 Nov 2020
  • creditniooss-ledger

Introduced: 25 Nov 2020

CVE-2020-26243  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade nanopb to version 0.3.9.7, 0.4.4 or higher.

Overview

nanopb is a python binding for C package nanopb.

Affected versions of this package are vulnerable to Resource Exhaustion. Decoding a specifically formed message can leak memory if dynamic allocation is enabled and an oneof field contains a static submessage that contains a dynamic field, and the message being decoded contains the submessage multiple times. This is rare in normal messages, but it is a concern when untrusted data is parsed.

CVSS Scores

version 3.1