diff --git a/src/site/xdoc/security.xml b/src/site/xdoc/security.xml index d8f2588804..2413ef6b51 100644 --- a/src/site/xdoc/security.xml +++ b/src/site/xdoc/security.xml @@ -32,6 +32,19 @@ incomplete, please report them privately to the Apache Security Team. Thank you.

+
+

The Apache Commons security model specifies + that it is unsafe to pass possibly malicious input to Commons libraries + unless otherwise specified. + For Commons BCEL, processing untrusted class data is supported to the extent that + this should never allow the supplier of the data to trigger arbitrary code execution, + filesystem or network access. It may still trigger other crashes, such as for example StackOverflowError or OutOfMemoryError: + if your code uses BCEL to process untrusted input + then it is up to you to compensate for that as necessary. + Loading or executing the generated classes is unsafe and may cause unexpected behaviour, + including execute arbitrary code execution. +

+