File tree Expand file tree Collapse file tree
csharp/ql/src/Security Features/CWE-502 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77<p >Deserializing an object from untrusted input may result in security problems, such
88as denial of service or remote code execution.</p >
99
10+ <p >
11+ Note that a deserialization method is only dangerous if it can instantiate
12+ arbitrary classes. Serialization frameworks that use a schema to instantiate
13+ only expected, predefined types are generally not tracked by this query. Such
14+ frameworks are generally safe with respect to arbitrary-class-instantiation and
15+ gadget-chain attacks when the schema is trusted and does not permit
16+ user-controlled type resolution.
17+ </p >
18+
1019</overview >
1120<recommendation >
1221
Original file line number Diff line number Diff line change 77<p >Deserializing an object from untrusted input may result in security problems, such
88as denial of service or remote code execution.</p >
99
10+ <p >
11+ Note that a deserialization method is only dangerous if it can instantiate
12+ arbitrary classes. Serialization frameworks that use a schema to instantiate
13+ only expected, predefined types are generally not tracked by this query. Such
14+ frameworks are generally safe with respect to arbitrary-class-instantiation and
15+ gadget-chain attacks when the schema is trusted and does not permit
16+ user-controlled type resolution.
17+ </p >
18+
1019</overview >
1120<recommendation >
1221
You can’t perform that action at this time.
0 commit comments