dependabot[bot] opened a new pull request, #71286: URL: https://github.com/apache/doris/pull/71286
Bumps [com.alibaba:fastjson](https://github.com/alibaba/fastjson) from 1.2.83 to 1.2.84. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/alibaba/fastjson/releases">com.alibaba:fastjson's releases</a>.</em></p> <blockquote> <h2>fastjson 1.2.84版本发布</h2> <h1>fastjson 1.2.84 Release Notes</h1> <p><strong>Release Date:</strong> 29 Jul 2026 <strong>Tag:</strong> 1.2.84 (72553ed)</p> <p>Security fix release, backporting the fastjson2 AutoType hardening to the 1.2.x line. <strong>All users parsing untrusted JSON are strongly recommended to upgrade.</strong></p> <h2>Security Fixes</h2> <ol> <li>Reject type names containing URL-special characters (<code>:</code>/<code>!</code>) in <code>ParserConfig.checkAutoType</code> and <code>TypeUtils.loadClass</code>, so a non-class-name string never reaches the class loader</li> <li>Verify the accept name text after a whitelist hash match, so a hash collision alone cannot whitelist a type name</li> <li>An accept prefix no longer covers <code>ClassLoader</code>/<code>DataSource</code>/<code>RowSet</code> gadget base types; only an accept entry naming the type in full is an explicit opt-in</li> <li>Fixed deny classes being cached by <code>loadClass</code> before the blacklist check, so a repeated <code>checkAutoType</code> call could return a blacklisted class from the cache</li> </ol> <h2>Maven Dependency Configuration</h2> <pre lang="xml"><code><dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.84</version> </dependency> </code></pre> <!-- raw HTML omitted --> <h2>概述</h2> <p>安全修复版本,将 fastjson2 的 AutoType 加固回移到 1.2.x 版本线。<strong>强烈建议所有解析不可信 JSON 的用户升级。</strong></p> <h2>安全修复</h2> <ol> <li>在 <code>ParserConfig.checkAutoType</code> 和 <code>TypeUtils.loadClass</code> 中拒绝包含 URL 特殊字符(<code>:</code>/<code>!</code>)的类型名,非类名字符串不再可能到达类加载器</li> <li>白名单 hash 命中后增加 accept 名称文本回验,仅 hash 碰撞无法再绕过白名单</li> <li>accept 前缀不再覆盖 <code>ClassLoader</code>/<code>DataSource</code>/<code>RowSet</code> 等危险基类;只有完整类名的 accept 条目才视为显式放行</li> <li>修复危险类在黑名单检查前被 <code>loadClass</code> 缓存的问题:此前重复调用 <code>checkAutoType</code> 可能从缓存中直接返回黑名单类</li> </ol> <h2>Maven 依赖配置</h2> <pre lang="xml"><code><dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.84</version> </dependency> </code></pre> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/alibaba/fastjson/commit/72553ed7c60f560018445cf23efbf6e1eaa89ce6"><code>72553ed</code></a> build: disable javadoc doclint for modern JDK builds</li> <li><a href="https://github.com/alibaba/fastjson/commit/6ac7847b25078d7d11eec6f27078a97985e09246"><code>6ac7847</code></a> 1.2.84 release: add central-publishing plugin, bump version</li> <li><a href="https://github.com/alibaba/fastjson/commit/73675f6a87a3d7107bd184dfba23a263b5639dbd"><code>73675f6</code></a> build: restore junit test dependency (as in 1.2.84 init)</li> <li><a href="https://github.com/alibaba/fastjson/commit/ad353ff71e27a587bfb18cab329572fd5cc44ea6"><code>ad353ff</code></a> fix: strengthen autoType type name validation and whitelist verification</li> <li>See full diff in <a href="https://github.com/alibaba/fastjson/compare/1.2.83...1.2.84">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/doris/network/alerts). </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
