dependabot[bot] opened a new pull request, #980: URL: https://github.com/apache/fesod/pull/980
Bumps [com.alibaba.fastjson2:fastjson2](https://github.com/alibaba/fastjson2) from 2.0.62 to 2.0.63. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/alibaba/fastjson2/releases">com.alibaba.fastjson2:fastjson2's releases</a>.</em></p> <blockquote> <h2>fastjson 2.0.63版本发布</h2> <h1>FASTJSON 2.0.63 Release Notes</h1> <p><strong>Release Date:</strong> 29 Jul 2026 <strong>Tag:</strong> 2.0.63 (82eda3e)</p> <h2>Overview</h2> <p>This is a security fix release. It hardens AutoType deserialization and fixes several parser robustness issues (OOM / DoS) that can be triggered by crafted input. <strong>All users are strongly recommended to upgrade</strong>, especially applications parsing untrusted JSON or JSONB data.</p> <p>Users who cannot upgrade immediately can mitigate the AutoType issue with <code>-Dfastjson2.parser.safeMode=true</code> (applications not using a custom <code>AutoTypeBeforeHandler</code>).</p> <p>fastjson 1.x users: the same AutoType hardening is available in <strong>fastjson 1.2.84</strong>.</p> <h2>Security Fixes</h2> <ol> <li>Strengthened AutoType type name validation and whitelist verification: type names containing URL-special characters are rejected before reaching the class loader; the accept name text is verified after a whitelist hash match so a hash collision alone cannot whitelist a type; 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 treated as an explicit opt-in <a href="https://redirect.github.com/alibaba/fastjson2/issues/7703">#7703</a></li> <li>Limited number literal digits to prevent <code>BigInteger</code> O(n²) DoS with crafted long number literals <a href="https://redirect.github.com/alibaba/fastjson2/issues/7668">#7668</a> <a href="https://redirect.github.com/alibaba/fastjson2/issues/7694">#7694</a></li> <li>Fixed JSONB <code>BC_BIGINT</code> declared-length OOM from crafted payloads declaring a huge length <a href="https://redirect.github.com/alibaba/fastjson2/issues/7669">#7669</a> <a href="https://redirect.github.com/alibaba/fastjson2/issues/7696">#7696</a></li> <li>Fixed JSONB <code>BC_BINARY</code> declared-length OOM <a href="https://redirect.github.com/alibaba/fastjson2/issues/7669">#7669</a> <a href="https://redirect.github.com/alibaba/fastjson2/issues/7705">#7705</a></li> </ol> <h2>Changes & Bug Fixes</h2> <ol start="5"> <li>Fixed missing reference detection for <code>Collection</code> elements (e.g. <code>HashSet</code>), duplicate elements now serialize as <code>$ref</code> when <code>ReferenceDetection</code> is on <a href="https://redirect.github.com/alibaba/fastjson2/issues/7678">#7678</a> <a href="https://redirect.github.com/alibaba/fastjson2/issues/7701">#7701</a></li> <li>Fixed Metaspace leak caused by <code>ObjectWriter</code> created in the switch block of <code>getObjectWriterInternal</code> <a href="https://redirect.github.com/alibaba/fastjson2/issues/7626">#7626</a> <a href="https://redirect.github.com/alibaba/fastjson2/issues/7627">#7627</a></li> <li>Fixed performance: hoisted <code>getInt</code>/<code>setInt</code> out of lambda to avoid per-call spin <a href="https://redirect.github.com/alibaba/fastjson2/issues/7677">#7677</a> <a href="https://redirect.github.com/alibaba/fastjson2/issues/7693">#7693</a></li> <li>Added support for JSONCompiled records <a href="https://redirect.github.com/alibaba/fastjson2/issues/7665">#7665</a></li> <li>Added warning when a Kotlin class loses field values due to missing kotlin-reflect <a href="https://redirect.github.com/alibaba/fastjson2/issues/7675">#7675</a></li> </ol> <h2>Maven Dependency Configuration</h2> <h3>Standard Version</h3> <pre lang="xml"><code><dependency> <groupId>com.alibaba.fastjson2</groupId> <artifactId>fastjson2</artifactId> <version>2.0.63</version> </dependency> </code></pre> <h3>Android 5 Optimized Version</h3> <pre lang="xml"><code><dependency> <groupId>com.alibaba.fastjson2</groupId> <artifactId>fastjson2</artifactId> <version>2.0.63.android5</version> </dependency> </code></pre> <h3>Android 8 Optimized Version</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/alibaba/fastjson2/commit/82eda3e44bfca5f282a675e3c7262efb94b95f88"><code>82eda3e</code></a> 2.0.63 release (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7710">#7710</a>)</li> <li><a href="https://github.com/alibaba/fastjson2/commit/01eab36318f5085690bbc58539f5248f3e6e74ed"><code>01eab36</code></a> fix: detect references for Collection elements (e.g. HashSet) (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7678">#7678</a>) (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7701">#7701</a>)</li> <li><a href="https://github.com/alibaba/fastjson2/commit/373cbe728a6873c7af2ca3023ff18eb358d794fa"><code>373cbe7</code></a> fix: JSONB BC_BINARY declared-length OOM (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7669">#7669</a>) (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7705">#7705</a>)</li> <li><a href="https://github.com/alibaba/fastjson2/commit/ec47e24c487fdc864bfe0d18e1850398de634cef"><code>ec47e24</code></a> fix: strengthen autoType type name validation and whitelist verification (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7703">#7703</a>)</li> <li><a href="https://github.com/alibaba/fastjson2/commit/33be4ada0ba8793626ca87e5f0750664c99a450a"><code>33be4ad</code></a> fix: hoist getInt/setInt out of lambda to avoid per-call spin (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7677">#7677</a>) (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7693">#7693</a>)</li> <li><a href="https://github.com/alibaba/fastjson2/commit/1357fdccb1e49de88f31935ca60a819cdfcd804a"><code>1357fdc</code></a> fix: JSONB BC_BIGINT declared-length OOM (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7669">#7669</a>) (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7696">#7696</a>)</li> <li><a href="https://github.com/alibaba/fastjson2/commit/d6f7de39303a451b4ef74354d247d08b06c04180"><code>d6f7de3</code></a> docs: 修正兼容模式升级说明中的中文错别字 (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7689">#7689</a>)</li> <li><a href="https://github.com/alibaba/fastjson2/commit/d7ad403f3f96e77cc9f4ad8c760b814d50ab095d"><code>d7ad403</code></a> fix: limit number literal digits to prevent BigInteger O(n²) DoS (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7668">#7668</a>) (<a href="https://redirect.github.com/alibaba/fastjson2/issues/7694">#7694</a>)</li> <li><a href="https://github.com/alibaba/fastjson2/commit/f68fd88fa63575b8b2956c8c5458be718023974d"><code>f68fd88</code></a> fix: warn when Kotlin class loses field values due to missing kotlin-reflect ...</li> <li><a href="https://github.com/alibaba/fastjson2/commit/067995902fb586606cccea29aa0579a18b9bbf3a"><code>0679959</code></a> fix: cache ObjectWriter created in switch block of getObjectWriterInternal to...</li> <li>Additional commits viewable in <a href="https://github.com/alibaba/fastjson2/compare/2.0.62...2.0.63">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) </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]
