[
https://issues.apache.org/jira/browse/AMQ-7399?focusedWorklogId=384311&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-384311
]
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_r376962668
##########
File path:
activemq-http/src/test/java/org/apache/activemq/transport/http/HttpJMSMessagesWithCompressionTest.java
##########
@@ -71,6 +72,7 @@ public void tearDown() throws Exception {
protected ConnectionFactory createConnectionFactory() throws
URISyntaxException {
ActiveMQConnectionFactory factory = new
ActiveMQConnectionFactory(getBrokerURL());
+
factory.setTrustedPackages(Arrays.asList("java.lang,javax.security,java.util,org.apache.activemq,org.fusesource.hawtbuf,com.thoughtworks.xstream.mapper".split(",")));
Review comment:
java.lang only required here
----------------------------------------------------------------
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: 384311)
Time Spent: 20m (was: 10m)
> 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: 20m
> 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)