CVE-2020-5234: messagepack Stack-based Buffer Overflow
CVSS: 6.8v2.0MediumModified
AliasesGHSA-7q36-4xx7-xcxf
Published 31-01-2020Last modified 04-08-2024
Vulnerability summary
CVE-2020-5234 is a medium (CVSS 6.8) Stack-based Buffer Overflow vulnerability in messagepack. EPSS estimates a 1.58% chance of exploitation in the next 30 days, higher than 75.1% of scored vulnerabilities.
CVSS score
6.8/10
010
Medium · v2.0 (NVD)EPSS score
1.58%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 31-01-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versionsMedium 4.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:HSources3 sources · 4.8–6.5
- OSV · NugetEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:L/Au:S/C:N/I:N/A:CSourcesSingle source
EPSS trend
Probability
1.58%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
0.00 pp
From 1.58% on 20-09-2026
20-09-202620-10-2026
EPSS score1.58%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-121Stack-based Buffer OverflowA stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
NuGet5 products
- MessagePack< 1.9.11 | ≥ 2.0.0, < 2.1.90
- MessagePack.ImmutableCollection< 1.9.11 | ≥ 2.0.0, < 2.1.90
- MessagePack.ReactiveProperty< 1.9.11 | ≥ 2.0.0, < 2.1.90
- MessagePack.Unity< 1.9.11 | ≥ 2.0.0, < 2.1.90
- MessagePack.UnityShims< 1.9.11 | ≥ 2.0.0, < 2.1.90
Neuecc4 products
- messagepack< 1.9.11 | ≥ 2.0.0, < 2.1.90
- messagepack.immutablecollection< 1.9.11 | ≥ 2.0.0, < 2.1.90
- messagepack.reactiveproperty< 1.9.11 | ≥ 2.0.0, < 2.1.90
- messagepack.unityshims< 1.9.11 | ≥ 2.0.0, < 2.1.90
Messagepack1 product
- messagepack< 1.9.3 | ≥ 2.0.323, < 2.1.80 | 2.0.94:alpha | 2.0.110:alpha | 2.0.119:beta | 2.0.123:beta | 2.0.204:beta | 2.0.270:rc | 2.0.299:rc
3 vendors · 10 products
References
8 links- github.com/neuecc/MessagePack-CSharp/security/advisories/GHSA-7q36-4xx7-xcxfX Refsource CONFIRMWEBThird Party Advisory
- github.com/neuecc/MessagePack-CSharp/commit/56fa86219d01d0a183babbbbcb34abbdea588a02X Refsource MISCWEBPatchThird Party Advisory