File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
spring-web/src/main/java/org/springframework/remoting/httpinvoker Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
36
36
* expense of being tied to Java. Nevertheless, it is as easy to set up as
37
37
* Hessian and Burlap, which is its main advantage compared to RMI.
38
38
*
39
+ * <p><b>WARNING: Be aware of vulnerabilities due to unsafe Java deserialization:
40
+ * Manipulated input streams could lead to unwanted code execution on the server
41
+ * during the deserialization step. As a consequence, do not expose HTTP invoker
42
+ * endpoints to untrusted clients but rather just between your own services.</b>
43
+ *
39
44
* @author Juergen Hoeller
40
45
* @since 1.1
41
46
* @see #setServiceInterface
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
47
47
* expense of being tied to Java. Nevertheless, it is as easy to set up as
48
48
* Hessian and Burlap, which is its main advantage compared to RMI.
49
49
*
50
+ * <p><b>WARNING: Be aware of vulnerabilities due to unsafe Java deserialization:
51
+ * Manipulated input streams could lead to unwanted code execution on the server
52
+ * during the deserialization step. As a consequence, do not expose HTTP invoker
53
+ * endpoints to untrusted clients but rather just between your own services.</b>
54
+ *
50
55
* @author Juergen Hoeller
51
56
* @since 1.1
52
57
* @see HttpInvokerClientInterceptor
You can’t perform that action at this time.
0 commit comments