Skip to content

Commit

Permalink
[SECURITY-360] Add to blacklist.
Browse files Browse the repository at this point in the history
  • Loading branch information
abayer committed Nov 11, 2016
1 parent 5d6ce5f commit b7ac85e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/main/java/hudson/remoting/ClassFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,24 @@ public final Class check(Class c) {

private static final String[] DEFAULT_PATTERNS = {
"^com[.]google[.]inject[.].*",
"^com[.]sun[.]jndi[.]rmi[.].*",
"^com[.]sun[.]jndi[.].*",
"^com[.]sun[.]corba[.].*",
"^com[.]sun[.]javafx[.].*",
"^com[.]sun[.]org[.]apache[.]regex[.]internal[.].*",
"^java[.]awt[.].*",
"^java[.]rmi[.].*",
"^java[.]security[.].*",
"^javax[.]management[.].*",
"^javax[.]naming[.].*",
"^javax[.]script[.].*",
"^javax[.]swing[.].*",
"^org[.]apache[.]commons[.]beanutils[.].*",
"^org[.]apache[.]commons[.]collections[.]functors[.].*",
".*org[.]apache[.]xalan.*",
"^org[.]codehaus[.]groovy[.]runtime[.].*",
"^org[.]hibernate[.].*",
"^org[.]springframework[.](?!(\\p{Alnum}+[.])*\\p{Alnum}*Exception$).*",
"^sun[.]rmi[.].*",
"^sun[.]rmi[.].*"
};

/**
Expand Down

0 comments on commit b7ac85e

Please sign in to comment.