CVE-2021-26423: .NET Core Elevation of Privilege Vulnerability

CVE-2021-26423 · Severity: low · CVSS 3.1 · Published 2022-10-25

.NET Core Elevation of Privilege Vulnerability

Technologies: Microsoft.NetCore.App.Runtime.linux-arm (NuGet), Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet), Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet), Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet), Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet), Microsoft.NetCore.App.Runtime.linux-x64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.linux-arm (NuGet), Microsoft.NETCore.App.Runtime.Mono.linux-arm64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.linux-x64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 (NuGet), Microsoft.NETCore.App.Runtime.Mono.osx-x64 (NuGet), Microsoft.NetCore.App.Runtime.osx-x64 (NuGet), Microsoft.NETCore.App.Runtime.rhel.6-x64 (NuGet), Microsoft.NetCore.App.Runtime.win-arm (NuGet), Microsoft.NetCore.App.Runtime.win-arm64 (NuGet), Microsoft.NetCore.App.Runtime.win-x64 (NuGet), Microsoft.NetCore.App.Runtime.win-x86 (NuGet). Vendors: NuGet.

Quick answers

Is CVE-2021-26423 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-26423 being exploited in the wild.
How severe is CVE-2021-26423?
Low severity, with a CVSS score of 3.1, published 25 October 2022.
Which products and versions are affected?
Microsoft.NetCore.App.Runtime.linux-arm (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18; Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18; Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9; Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18; and 19 more.
Is there a fix for CVE-2021-26423?
Yes. Microsoft.NetCore.App.Runtime.linux-arm (NuGet): upgrade to 3.1.18 or later; Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): upgrade to 3.1.18 or later; Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): upgrade to 5.0.9 or later; Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): upgrade to 3.1.18 or later; Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): upgrade to 3.1.18 or later; Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): upgrade to 3.1.18 or later; Microsoft.NETCore.App.Runtime.Mono.linux-arm (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.linux-arm64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.linux-x64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NETCore.App.Runtime.Mono.osx-x64 (NuGet): upgrade to 5.0.9 or later; Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): upgrade to 3.1.18 or later; Microsoft.NETCore.App.Runtime.rhel.6-x64 (NuGet): upgrade to 3.1.18 or later; Microsoft.NetCore.App.Runtime.win-arm (NuGet): upgrade to 3.1.18 or later; Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): upgrade to 3.1.18 or later; Microsoft.NetCore.App.Runtime.win-x64 (NuGet): upgrade to 3.1.18 or later; Microsoft.NetCore.App.Runtime.win-x86 (NuGet): upgrade to 3.1.18 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-26423?
Check whether you run Microsoft.NetCore.App.Runtime.linux-arm (NuGet), Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet), Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Microsoft.NetCore.App.Runtime.linux-arm (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-arm --version 3.1.18
  • Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-arm64 --version 3.1.18
  • Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm --version 5.0.9
  • Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm64 --version 3.1.18
  • Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-x64 --version 3.1.18
  • Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-x64 --version 3.1.18
  • Microsoft.NETCore.App.Runtime.Mono.linux-arm (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.linux-arm --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.linux-arm64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.linux-arm64 --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.linux-x64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.linux-x64 --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 --version 5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.osx-x64 (NuGet): upgrade to 5.0.9 or later
    dotnet add package Microsoft.NETCore.App.Runtime.Mono.osx-x64 --version 5.0.9
  • Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.osx-x64 --version 3.1.18
  • Microsoft.NETCore.App.Runtime.rhel.6-x64 (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NETCore.App.Runtime.rhel.6-x64 --version 3.1.18
  • Microsoft.NetCore.App.Runtime.win-arm (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.win-arm --version 3.1.18
  • Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.win-arm64 --version 3.1.18
  • Microsoft.NetCore.App.Runtime.win-x64 (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.win-x64 --version 3.1.18
  • Microsoft.NetCore.App.Runtime.win-x86 (NuGet): upgrade to 3.1.18 or later
    dotnet add package Microsoft.NetCore.App.Runtime.win-x86 --version 3.1.18

Affected products

  • Microsoft.NetCore.App.Runtime.linux-arm (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NetCore.App.Runtime.linux-x64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NETCore.App.Runtime.Mono.linux-arm (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.linux-arm64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.linux-x64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NETCore.App.Runtime.Mono.osx-x64 (NuGet) ECOSYSTEM:introduced=5.0.0,fixed=5.0.9
  • Microsoft.NetCore.App.Runtime.osx-x64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NETCore.App.Runtime.rhel.6-x64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NetCore.App.Runtime.win-arm (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NetCore.App.Runtime.win-arm64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NetCore.App.Runtime.win-x64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18
  • Microsoft.NetCore.App.Runtime.win-x86 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.18

Identifiers

  • CVE-2021-26423
  • GHSA-rh58-r7jh-xhx3

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.