This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ce2ab46e1a Update serialization-security.md
2ce2ab46e1a is described below

commit 2ce2ab46e1abb7fec082c43e3efd1ae734fdd0b3
Author: Albumen Kevin <[email protected]>
AuthorDate: Fri Oct 20 15:21:02 2023 +0800

    Update serialization-security.md
---
 content/en/blog/security-notices/serialization-security.md | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/content/en/blog/security-notices/serialization-security.md 
b/content/en/blog/security-notices/serialization-security.md
index 9ceb812207c..1ce62dba500 100644
--- a/content/en/blog/security-notices/serialization-security.md
+++ b/content/en/blog/security-notices/serialization-security.md
@@ -6,10 +6,15 @@ tags: ["Security Vulnerabilities"]
 description: "Safer use of serialization protocols in Dubbo"
 ---
 
-Dubbo 3.0 has enhanced the security aspects of serialization protocols and 
recommends using the Triple protocol in non-Wrapper mode. This protocol is 
secure by default but requires developers to write IDL files.
+Dubbo 3 has enhanced the security aspects of serialization protocols and 
recommends using the Triple protocol in non-Wrapper mode. This protocol is 
secure by default but requires developers to write IDL files.
 
 In the Triple protocol's Wrapper mode, compatibility with other serialization 
data is allowed, offering good compatibility. However, other protocols may have 
deserialization security flaws. For the Hessian2 protocol, users who require 
high-security attributes should enable whitelist mode according to the sample 
code. The framework will enable blacklist mode by default to block malicious 
calls.
 
 Using other serialization protocols is not recommended. When an attacker can 
access the Provider interface, security flaws in other serialization protocols 
may lead to command execution through the Provider interface.
 
-If you must use other serialization protocols and wish to maintain some level 
of security, you should enable the Token authentication mechanism. This will 
prevent threats to the Provider's security from unauthenticated and untrusted 
request sources. When enabling Token authentication, you should also enable the 
authentication feature in the registry.
\ No newline at end of file
+If you must use other serialization protocols and wish to maintain some level 
of security, you should enable the Token authentication mechanism. This will 
prevent threats to the Provider's security from unauthenticated and untrusted 
request sources. When enabling Token authentication, you should also enable the 
authentication feature in the registry.
+
+## Notice
+The following serializations are proved that not safe enough to transfer on 
network and not recommend to use.
+- native-hessian
+- native-java (Java ObjectOutputStream and ObjectInputStream)

Reply via email to