GHSA-hpw7-3vq3-mmv6

Suggest an improvement
Source
https://github.com/advisories/GHSA-hpw7-3vq3-mmv6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-hpw7-3vq3-mmv6/GHSA-hpw7-3vq3-mmv6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hpw7-3vq3-mmv6
Aliases
  • CVE-2021-29508
Published
2021-05-19T23:02:38Z
Modified
2024-02-17T05:36:14.499587Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
Insecure deserialization in Wire
Details

Due to how Wire handles type information in its serialization format, malicious payloads can be passed to a deserializer. e.g. using a surrogate on the sender end, an attacker can pass information about a different type for the receiving end. And by doing so allowing the serializer to create any type on the deserializing end.

This is the same issue that exists for .NET BinaryFormatter https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2300?view=vs-2019

This also applies to the fork of Wire, AkkaDotNet/Hyperion.

Database specific
{
    "nvd_published_at": "2021-05-11T17:15:00Z",
    "cwe_ids": [
        "CWE-502"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-19T19:38:22Z"
}
References

Affected packages

NuGet / Wire

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.0

Affected versions

0.*

0.0.1
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.7.0
0.7.1
0.8.0
0.8.1
0.8.2

1.*

1.0.0