Skip to content

An internal improved version of Hessian powered by Ant Financial.

License

Notifications You must be signed in to change notification settings

hessian-group/sofa-hessian

 
 

Repository files navigation

SOFA-Hessian

Build Status Coverage Status License

Hessian 是一个性能较优且兼容性较好的二进制序列化协议。

SOFA-Hessian 基于原生 Hessian v4.0.51 进行改进,目前已经蚂蚁金服内部稳定运行多年。我们修复了一些 bug,增强了一些功能,并且添加了一些特性,包括:

  • 增加泛化序列化。
  • 增加 ClassNameResolverClassNameFilter 用于类名的映射、转换、过滤等。
  • 增加序列化黑名单(来自蚂蚁金服安全团队)。
  • 改进 SerializerFactory 内缓存的锁机制。
  • 更多参见:改进点

需要

  • JDK 6 及以上。

文档

开源许可

免责声明

Hessian 是一种二进制序列化协议。

由于 Hessian 自身实现关系,通过构造特定的序列化流,经过反序列化后可能会造成任意代码执行,存在安全风险,建议用户配置黑名单或白名单的方式来解决该问题。

本项目内置的黑名单来自内部实践和外部贡献,仅供参考,不做主动更新,我方不因此承担法律责任。如需要更严格的校验,请使用白名单功能。

Hessian is a binary serialization protocol.

Because of the implement of Hessian, by constructing a specific serialization stream, it may cause arbitrary code execution when doing deserialization. It is recommended that users configure blacklist or whitelist to solve the problem.

The blacklist built into the project comes from internal practices and external contributions, and is for reference only and is not actively updated, we do not assume any legal responsibility for this. For more rigorous verification, please use the whitelist feature.

About

An internal improved version of Hessian powered by Ant Financial.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • Other 0.2%