[
https://issues.apache.org/jira/browse/AMQ-7399?focusedWorklogId=384313&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-384313
]
ASF GitHub Bot logged work on AMQ-7399:
---------------------------------------
Author: ASF GitHub Bot
Created on: 10/Feb/20 10:02
Start Date: 10/Feb/20 10:02
Worklog Time Spent: 10m
Work Description: coheigea commented on pull request #446: [AMQ-7399]
org.apache.activemq.SERIALIZABLE_PACKAGES doesn't contain java* by default
URL: https://github.com/apache/activemq/pull/446#discussion_r376963164
##########
File path: assembly/src/release/bin/env
##########
@@ -113,3 +113,10 @@ ACTIVEMQ_USER=""
# (set JAVACMD to "auto" for automatic detection)
#JAVA_HOME=""
JAVACMD="auto"
+
+# Packages allowed for serialization (when used with ObjectMessage).
+# Packages set is limited to org.apache.activemmq, org.fusesource.hawtbuf and
com.thoughtworks.xstream.mapper by default.
+# java* packages are excluded by default for security reason.
+#ACTIVEMQ_OPTS="-Dorg.apache.activemq.SERIALIZABLE_PACKAGES=org.apache.activemq,org.fusesource.hawtbuf,com.thoughtworks.xstream.mapper"
+# You have explicitely add java* packages and your packages (and probably
java* packages):
Review comment:
I think this could be re-worded - you have to explicitly add java.util +
java.lang packages ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 384313)
Time Spent: 40m (was: 0.5h)
> SERIALIZABLE_PACKAGES should exclude java* by default
> -----------------------------------------------------
>
> Key: AMQ-7399
> URL: https://issues.apache.org/jira/browse/AMQ-7399
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.15.10, 5.15.11
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.16.0, 5.15.12
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> To avoid potential security issue when using {{ObjectMessage}},
> {{SERIALIZABLE_PACKAGE}} should be limited by default. Now, it contains
> {{java.lang, ...}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)