Vulnerability · Published Jan 31, 2020 · Assigned by GitHub_M

CVE-2020-5234Untrusted data can lead to DoS attack in MessagePack for C# and Unity

Medium 4.8

In plain English

A medium-severity stack buffer overflow in MessagePack from neuecc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)1.6%top 24.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

MessagePack for C# and Unity before version 1.9.11 and 2.1.90 has a vulnerability where untrusted data can lead to DoS attack due to hash collisions and stack overflow. Review the linked GitHub Security Advisory for more information and remediation steps.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
NuGetmessagepack2.1.90GHSA-7q36-4xx7-xcxf
NuGetmessagepack1.9.11GHSA-7q36-4xx7-xcxf
NuGetmessagepack.immutablecollection1.9.11GHSA-7q36-4xx7-xcxf
NuGetmessagepack.immutablecollection2.1.90GHSA-7q36-4xx7-xcxf
NuGetmessagepack.reactiveproperty2.1.90GHSA-7q36-4xx7-xcxf
NuGetmessagepack.reactiveproperty1.9.11GHSA-7q36-4xx7-xcxf
NuGetmessagepack.unity1.9.11GHSA-7q36-4xx7-xcxf
NuGetmessagepack.unity2.1.90GHSA-7q36-4xx7-xcxf
NuGetmessagepack.unityshims1.9.11GHSA-7q36-4xx7-xcxf
NuGetmessagepack.unityshims2.1.90GHSA-7q36-4xx7-xcxf

Affected products (as reported)

VendorProductVersions
neuecc MessagePack < 1.9.11>= 2.0.0, < 2.1.90
neuecc MessagePack.ImmutableCollection < 1.9.11>= 2.0.0, < 2.1.90
neuecc MessagePack.ReactiveProperty < 1.9.11>= 2.0.0, < 2.1.90
neuecc MessagePack.UnityShims < 1.9.11>= 2.0.0, < 2.1.90

Weakness: CWE-121 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H

References