Skip to content
Fencer Intel
medium 5.9

CVE-2022-34716 json

.NET Spoofing Vulnerability

published 4y ago modified 4mo ago also BIT-dotnet-2022-34716 , BIT-dotnet-sdk-2022-34716 , BIT-powershell-2022-34716 , EUVD-2024-0733 , GHSA-vh55-786g-wjwj

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.5%
EPSS 2.5% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

.NET Spoofing Vulnerability

Patch / fix

  • nuget System.Security.Cryptography.Xml 4.7.1, 6.0.1
  • nuget Microsoft.AspNetCore.App.Runtime.win-x64 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.linux-x64 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.win-x86 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.osx-x64 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.linux-musl-x64 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.linux-arm64 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.linux-arm 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.win-arm64 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.win-arm 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.osx-arm64 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 3.1.28, 6.0.8
  • nuget Microsoft.AspNetCore.App.Runtime.linux-musl-arm 3.1.28, 6.0.8
  • bitnami dotnet 6.0.8
  • bitnami dotnet-sdk 6.0.8
  • bitnami powershell 7.0.12, 7.2.6
  • Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 15.9.50
  • Microsoft Microsoft Visual Studio 2022 version 17.2 17.2.7
  • Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8) 16.9.24
  • Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) 16.11.18
  • Microsoft Microsoft Visual Studio 2022 version 17.0 17.0.13
  • Microsoft .NET 6.0 6.0.8
  • Microsoft .NET Core 3.1 3.1.28
  • Microsoft PowerShell 7.0 7.0.12
  • Microsoft PowerShell 7.2 7.2.6
  • dotnet3.1 RHEL 8 3.1.422-1.el8_6
  • dotnet-sdk-3.1 RHEL 8 3.1.422-1.el8_6
  • dotnet-hostfxr-3.1 RHEL 8 3.1.28-1.el8_6
  • dotnet-runtime-3.1 RHEL 8 3.1.28-1.el8_6
  • dotnet-templates-3.1 RHEL 8 3.1.422-1.el8_6
  • aspnetcore-runtime-3.1 RHEL 8 3.1.28-1.el8_6
  • dotnet-apphost-pack-3.1 RHEL 8 3.1.28-1.el8_6
  • dotnet-targeting-pack-3.1 RHEL 8 3.1.28-1.el8_6

red hat advisories RHSA-2022:6057RHSA-2022:6058RHSA-2022:6043RHSA-2022:6037RHSA-2022:6038

  • dotnet-sdk-3.1 AlmaLinux 8 3.1.422-1.el8_6
  • dotnet-hostfxr-3.1 AlmaLinux 8 3.1.28-1.el8_6
  • dotnet-runtime-3.1 AlmaLinux 8 3.1.28-1.el8_6
  • dotnet-templates-3.1 AlmaLinux 8 3.1.422-1.el8_6
  • aspnetcore-runtime-3.1 AlmaLinux 8 3.1.28-1.el8_6
  • dotnet-apphost-pack-3.1 AlmaLinux 8 3.1.28-1.el8_6
  • dotnet-targeting-pack-3.1 AlmaLinux 8 3.1.28-1.el8_6
  • aspnetcore-targeting-pack-3.1 AlmaLinux 8 3.1.28-1.el8_6

almalinux advisories ALSA-2022:6057ALSA-2022:6058ALSA-2022:6043

  • dotnet6.0 Rocky Linux 8 6.0.108-1.el8_6
  • dotnet3.1 Rocky Linux 8 3.1.422-1.el8_6

rocky linux advisories RLSA-2022:6058RLSA-2022:6057

  • dotnet6-build Alpine 3.20, Alpine 3.19, Alpine 3.18 +2 more 6.0.108-r0
  • dotnet6-runtime Alpine 3.20, Alpine 3.19, Alpine 3.18 +2 more 6.0.8-r0

alpine advisories ALPINE-CVE-2022-34716

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2022-34716 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-34716 updated cvss 5.9

dotnet: External Entity Injection during XML signature verification

  • Red Hat .NET Core on Red Hat Enterprise Linux ComputeNode (v. 7) rh-dotnet31-dotnet 3.1.422-1.el7_9, rh-dotnet60-dotnet 6.0.108-1.el7_9, rh-dotnet60-dotnet-host 6.0.8-1.el7_9, rh-dotnet31-dotnet-host 3.1.28-1.el7_9, rh-dotnet31-dotnet-sdk-3.1 3.1.422-1.el7_9, rh-dotnet60-dotnet-sdk-6.0 6.0.108-1.el7_9, +18 more Red Hat .NET Core on Red Hat Enterprise Linux Server (v. 7) rh-dotnet31-dotnet 3.1.422-1.el7_9, rh-dotnet60-dotnet 6.0.108-1.el7_9, rh-dotnet60-dotnet-host 6.0.8-1.el7_9, rh-dotnet31-dotnet-host 3.1.28-1.el7_9, rh-dotnet31-dotnet-sdk-3.1 3.1.422-1.el7_9, rh-dotnet60-dotnet-sdk-6.0 6.0.108-1.el7_9, +18 more Red Hat .NET Core on Red Hat Enterprise Linux Workstation (v. 7) rh-dotnet31-dotnet 3.1.422-1.el7_9, rh-dotnet60-dotnet 6.0.108-1.el7_9, rh-dotnet60-dotnet-host 6.0.8-1.el7_9, rh-dotnet31-dotnet-host 3.1.28-1.el7_9, rh-dotnet31-dotnet-sdk-3.1 3.1.422-1.el7_9, rh-dotnet60-dotnet-sdk-6.0 6.0.108-1.el7_9, +18 more
    fixed: vendor fix RHSA-2022:6037
  • Red Hat CodeReady Linux Builder (v. 9) dotnet-host 6.0.8-1.el9_0, dotnet6.0 6.0.108-1.el9_0, dotnet-sdk-6.0 6.0.108-1.el9_0, dotnet-hostfxr-6.0 6.0.8-1.el9_0, dotnet-runtime-6.0 6.0.8-1.el9_0, aspnetcore-runtime-6.0 6.0.8-1.el9_0, +6 more
    fixed: vendor fix RHSA-2022:6043
  • Red Hat Enterprise Linux AppStream (v. 8) dotnet 6.0.108-1.el8_6, dotnet-host 6.0.8-1.el8_6, dotnet3.1 3.1.422-1.el8_6, dotnet6.0 6.0.108-1.el8_6, dotnet-sdk-3.1 3.1.422-1.el8_6, dotnet-sdk-6.0 6.0.108-1.el8_6, +17 more
    fixed: vendor fix RHSA-2022:6057
  • Red Hat Enterprise Linux AppStream (v. 9) dotnet-host 6.0.8-1.el9_0, dotnet6.0 6.0.108-1.el9_0, dotnet-sdk-6.0 6.0.108-1.el9_0, dotnet-hostfxr-6.0 6.0.8-1.el9_0, dotnet-runtime-6.0 6.0.8-1.el9_0, aspnetcore-runtime-6.0 6.0.8-1.el9_0, +6 more
    fixed: vendor fix RHSA-2022:6043
  • Red Hat Enterprise Linux CRB (v. 8) dotnet 6.0.108-1.el8_6, dotnet-host 6.0.8-1.el8_6, dotnet3.1 3.1.422-1.el8_6, dotnet6.0 6.0.108-1.el8_6, dotnet-sdk-3.1 3.1.422-1.el8_6, dotnet-sdk-6.0 6.0.108-1.el8_6, +17 more
    fixed: vendor fix RHSA-2022:6057

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

2.52% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C
GitHub 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
nuget System.Security.Cryptography.Xml
<4.7.1
>=5.0.0, <6.0.1
4.7.1
6.0.1
nuget Microsoft.AspNetCore.App.Runtime.win-x64
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.linux-x64
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.win-x86
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.osx-x64
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.linux-musl-x64
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.linux-arm64
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.linux-arm
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.win-arm64
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.win-arm
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.osx-arm64
>=6.0.0, <6.0.8
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
nuget Microsoft.AspNetCore.App.Runtime.linux-musl-arm
>=3.1.0, <3.1.28
>=6.0.0, <6.0.8
3.1.28
6.0.8
bitnami dotnet
>=6.0.0, <6.0.8
6.0.8
bitnami dotnet-sdk
>=6.0.0, <6.0.8
6.0.8
bitnami powershell
>=7.0.0, <7.0.12
>=7.2.0, <7.2.6
7.0.12
7.2.6

Affected products

  • Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)
  • Microsoft Microsoft Visual Studio 2022 version 17.2
  • Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)
  • Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)
  • Microsoft Microsoft Visual Studio 2022 version 17.0
  • Microsoft .NET 6.0
  • Microsoft .NET Core 3.1
  • Microsoft PowerShell 7.0
  • Microsoft PowerShell 7.2

Classification

Weakness
  • CWE-290 Authentication Bypass by Spoofing

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.