C#


ROSLYN.SECURITY.CA5360 : Do Not Call Dangerous Methods In Deserialization (C#)

See Roslyn-Detected C# Warning Classes for more information.

要旨

Insecure Deserialization is a vulnerability which occurs when untrusted data is used to abuse the logic of an application, inflict a Denial-of-Service (DoS) attack, or even execute arbitrary code upon it being deserialized. It’s frequently possible for malicious users to abuse these deserialization features when the application is deserializing untrusted data which is under their control. Specifically, invoke dangerous methods in the process of deserialization. Successful insecure deserialization attacks could allow an attacker to carry out attacks such as DoS attacks, authentication bypasses, and remote code execution.

この指摘はRoslynのCA5360に該当します。ルール詳細につい ては、下記リンクを参照してください。 CA5360

プロパティ

クラス名 Do Not Call Dangerous Methods In Deserialization (C#)
日本語クラス名 Do Not Call Dangerous Methods In Deserialization (C#)
クラス分類 セキュリティ (security)
ニーモニック ROSLYN.SECURITY.CA5360
カテゴリー なし
対応言語 C# で利用可能です。
有効/無効設定 このワーニングクラスのチェックはデフォルトで有効になっています。チェックを無効にするにはプロジェクト設定ファイル (configuration file)に以下の WARNING_FILTER ルールを追加してください。
WARNING_FILTER += discard class="Do Not Call Dangerous Methods In Deserialization (C#)"

関連のある設定ファイルパラメータ

設定ファイルの以下のパラメータがこのワーニングクラスのチェックに影響します。