summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/security.rdoc20
1 files changed, 0 insertions, 20 deletions
diff --git a/doc/security.rdoc b/doc/security.rdoc
index c980113..566920a 100644
--- a/doc/security.rdoc
+++ b/doc/security.rdoc
@@ -54,26 +54,6 @@ deserialized:
Because of this, many of the security considerations applying to Marshal are
also applicable to YAML. Do not use YAML to deserialize untrusted data.
-== CSV
-
-Never use +CSV.load+ to parse untrusted CSV data. +CSV.load+ shares many of the
-same issues as YAML and Marshal in that it will deserialize to arbitrary
-classes:
-
- class,ERB
- @src
- puts `uname`
-
-However, CSV's +load+ method is significantly more dangerous than Marshal and
-YAML as it will call arbitrary methods with attacker controlled arguments in
-some cases:
-
- class,Object
- eval
- puts `uname`
-
-If you need to parse user supplied CSV data, use +CSV.parse+ instead.
-
== Symbols
Symbols are often seen as syntax sugar for simple strings, but they play a much