mirror of
https://github.com/github/codeql.git
synced 2026-05-14 11:19:27 +02:00
Do not make such a strong security claim
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -21,10 +21,11 @@ Jackson, Jabsorb, Jodd JSON, Flexjson, Gson, JMS, and Java IO serialization thro
|
||||
<p>
|
||||
Note that a deserialization method is only dangerous if it can instantiate
|
||||
arbitrary classes. Serialization frameworks that use a schema to instantiate
|
||||
only expected, predefined types are generally safe and are not tracked by this
|
||||
query. For example, Apache Avro's deserialization methods follow a schema and
|
||||
therefore cannot instantiate arbitrary classes, making them safe to use even
|
||||
with untrusted data.
|
||||
only expected, predefined types are generally not tracked by this query. For
|
||||
example, Apache Avro's deserialization methods follow a schema and are
|
||||
therefore generally safe with respect to arbitrary-class-instantiation and
|
||||
gadget-chain attacks when the schema is trusted and does not permit
|
||||
user-controlled type resolution.
|
||||
</p>
|
||||
</overview>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user