Upgrade Jython for security, add doc warning 41/71641/1
authorliamfallon <liam.fallon@ericsson.com>
Thu, 1 Nov 2018 14:59:21 +0000 (14:59 +0000)
committerliamfallon <liam.fallon@ericsson.com>
Thu, 1 Nov 2018 15:21:08 +0000 (15:21 +0000)
Upgrading Jython to use a full release version. This will probably
noit remove security problem but upgrades Jython to the most popular
version.

A warning is added telling developers to check extra pcakages in the
Jython plugin documentation.

Issue-ID: POLICY-1065
Change-Id: I83275204c1905bd48dd5ea58e98dcbbd9c47195f
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
plugins/plugins-executor/plugins-executor-jython/pom.xml
plugins/plugins-executor/plugins-executor-jython/src/site-docs/adoc/fragments/jython-config.adoc

index cc9cee7..a6b2e80 100644 (file)
@@ -33,7 +33,7 @@
         <dependency>
             <groupId>org.python</groupId>
             <artifactId>jython-standalone</artifactId>
-            <version>2.7.1b3</version>
+            <version>2.7.1</version>
         </dependency>
     </dependencies>
 
index 53431b3..a838857 100644 (file)
 
 == Configure the Jython Executor
 
+WARNING: The Jython plugin allows you to use extra Python packages installed with *_pip_* or at
+startup using the *_setup.py_* or *_build_py.py_* configuration files. Extra modules must be checked
+by developers prior to installation to ensure that they are not malicious and do not exploit the
+Python Path Traversal vulnerability. the Jython plugin does *NOT* check extra modules for security
+vulnerabilities.
+
+
 The Jython executor is added to the configuration as follows:
 
 [source%nowrap,json]
@@ -27,4 +34,3 @@ The Jython executor is added to the configuration as follows:
     }
   }
 }
-----