22 Star 51 Fork 35

SOFAStack / sofa-hessian

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.46 KB
一键复制 编辑 原始数据 按行查看 历史
nobodyiam 提交于 2023-06-29 12:04 . Add disclaimer (#91)

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.

Java
1
https://gitee.com/sofastack/sofa-hessian.git
git@gitee.com:sofastack/sofa-hessian.git
sofastack
sofa-hessian
sofa-hessian
master

搜索帮助