Access of Resource Using Incompatible Type ('Type Confusion') Affecting system.formats.nrbf package, versions [,9.0.0)


Severity

Recommended
0.0
critical
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-8367155
  • 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 Access of Resource Using Incompatible Type ('Type Confusion') through the NrbfDecoder component. An attacker can execute arbitrary code by sending specially crafted requests to a vulnerable .NET web application or loading a specially crafted file into an application.

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
9.3 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None