Download Latest Version fastjson 1.2.84Ban Ben Fa Bu source code.zip (4.4 MB)
Email in envelope

Get an email when there's a new version of fastjson

Home / 1.2.84
Name Modified Size InfoDownloads / Week
Parent folder
fastjson 1.2.84Ban Ben Fa Bu source code.tar.gz 2026-07-29 2.6 MB
fastjson 1.2.84Ban Ben Fa Bu source code.zip 2026-07-29 4.4 MB
README.md 2026-07-29 2.1 kB
Totals: 3 Items   7.0 MB 0

fastjson 1.2.84 Release Notes

Release Date: 29 Jul 2026 Tag: 1.2.84 (72553ed)

Security fix release, backporting the fastjson2 AutoType hardening to the 1.2.x line. All users parsing untrusted JSON are strongly recommended to upgrade.

Security Fixes

  1. Reject type names containing URL-special characters (:/!) in ParserConfig.checkAutoType and TypeUtils.loadClass, so a non-class-name string never reaches the class loader
  2. Verify the accept name text after a whitelist hash match, so a hash collision alone cannot whitelist a type name
  3. An accept prefix no longer covers ClassLoader/DataSource/RowSet gadget base types; only an accept entry naming the type in full is an explicit opt-in
  4. Fixed deny classes being cached by loadClass before the blacklist check, so a repeated checkAutoType call could return a blacklisted class from the cache

Maven Dependency Configuration

:::xml
<dependency>
    <groupId>com.alibaba</groupId>
    <artifactId>fastjson</artifactId>
    <version>1.2.84</version>
</dependency>
中文版本 ## 概述 安全修复版本,将 fastjson2 的 AutoType 加固回移到 1.2.x 版本线。**强烈建议所有解析不可信 JSON 的用户升级。** ## 安全修复 1. 在 `ParserConfig.checkAutoType` 和 `TypeUtils.loadClass` 中拒绝包含 URL 特殊字符(`:`/`!`)的类型名,非类名字符串不再可能到达类加载器 2. 白名单 hash 命中后增加 accept 名称文本回验,仅 hash 碰撞无法再绕过白名单 3. accept 前缀不再覆盖 `ClassLoader`/`DataSource`/`RowSet` 等危险基类;只有完整类名的 accept 条目才视为显式放行 4. 修复危险类在黑名单检查前被 `loadClass` 缓存的问题:此前重复调用 `checkAutoType` 可能从缓存中直接返回黑名单类 ## Maven 依赖配置 :::xml <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.84</version> </dependency>
Source: README.md, updated 2026-07-29