PT-2021-18261 · Microsoft · .Net Binaryformatter

Rogeralsing

·

Published

2021-05-11

·

Updated

2021-05-25

·

CVE-2021-29508

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Wire (affected versions not specified) Wire fork, AkkaDotNet/Hyperion (affected versions not specified)
Description: The issue arises from how Wire handles type information in its serialization format, allowing malicious payloads to be passed to a deserializer. An attacker can use a surrogate on the sender end to pass information about a different type for the receiving end, enabling the serializer to create any type on the deserializing end. This issue is similar to the one existing for .NET BinaryFormatter.
Recommendations: For Wire, consider disabling the deserialization of untrusted data until a patch is available. For Wire fork, AkkaDotNet/Hyperion, restrict the use of the serialization format to trusted sources to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-29508
GHSA-HPW7-3VQ3-MMV6

Affected Products

.Net Binaryformatter