Unchecked Input for Loop Condition Affecting system.formats.nrbf package, versions [,9.0.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

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 ID SNYK-DOTNET-SYSTEMFORMATSNRBF-8367154
  • published 13 Nov 2024
  • disclosed 12 Nov 2024
  • credit Unknown

How to fix?

Upgrade System.Formats.Nrbf to version 9.0.0 or higher.

Overview

System.Formats.Nrbf is a package that exposes only one component: NrbfDecoder: a stateless, forward-only decoder class that can decode .NET Remoting Binary Format (NRBF) binary data from a stream.

Affected versions of this package are vulnerable to Unchecked Input for Loop Condition via the NrbfDecoder component, due to jagged arrays in the payload that can contain cycles. An attacker can cause the application to crash or become unresponsive by sending specially crafted input.

Note:

By default, .NET console apps and web apps do not reference the NrbfDecoder component.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.7 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None