dependabot[bot] opened a new pull request, #41609: URL: https://github.com/apache/beam/pull/41609
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.10.1 to 1.10.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/go-sql-driver/mysql/releases">github.com/go-sql-driver/mysql's releases</a>.</em></p> <blockquote> <h2>v1.10.2</h2> <p>Changes since v1.10.1.</p> <h3>Security fixes</h3> <ul> <li> <p>Return <code>ErrMalformPkt</code> instead of panicking on truncated initial handshake packets, including the greeting received before TLS negotiation. (GHSA-9qjq-77h9-895w, <a href="https://redirect.github.com/go-sql-driver/mysql/issues/1850">#1850</a>)</p> </li> <li> <p>Discard connections after a failed <code>LOAD DATA LOCAL INFILE</code>, including reader <code>Close()</code> errors, so unread results from a multi-statement batch cannot be returned to a later caller. Preserve the server's response status and avoid retrying the batch after an upload write failure. (GHSA-4v5x-9mc8-gr98)</p> </li> <li> <p>Reject <code>interpolateParams=true</code> combined with an unsafe multibyte charset (<code>big5</code>, <code>sjis</code>, <code>gbk</code>, <code>cp932</code>, <code>gb18030</code>) given by <code>charset</code> or <code>Charset()</code>. Previously only <code>collation</code> was checked. Collations are now matched case-insensitively and by their charset prefix. The check also runs again after a <code>BeforeConnect</code> callback has modified the config. Stop rejecting <code>gb2312_bin</code>; GB2312 trailing bytes cannot contain a backslash. The error text changed from <code>invalid DSN: interpolateParams can not be used with unsafe collations</code> to <code>interpolateParams cannot be used with unsafe charsets</code>, because it may also be returned by <code>NewConnector</code> or <code>Connector.Connect</code> after <code>BeforeConnect</code>. Applications comparing the complete error string must update their comparison. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1836">#1836</a>)</p> </li> <li> <p>Fix <code>interpolateParams</code> not treating <code>--</code> followed by <code>\v</code>, <code>\f</code>, another control character, DEL, or a raw <code>0xA0</code> byte as a comment. Other non-ASCII bytes after <code>--</code> remain outside the supported interpolation grammar. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1836">#1836</a>)</p> </li> <li> <p>Fix <code>interpolateParams</code> treating the <code>*</code> that opens <code>/*/</code> as closing the comment. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1835">#1835</a>)</p> </li> </ul> <h3>Bugfixes</h3> <ul> <li> <p>Honor <code>BeforeConnect</code> changes to the timeout, dialer, logger, and connection attributes without modifying the shared connector. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1809">#1809</a>)</p> </li> <li> <p>Validate prepared statement arguments and packet size before sending long data, and reset the statement if a long-data write fails. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1810">#1810</a>)</p> </li> <li> <p>Fix the reported precision of unsigned DECIMAL columns. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1813">#1813</a>)</p> </li> <li> <p>Preserve full two-byte column collation IDs so IDs above 255 do not cause text columns to be reported as binary columns. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1818">#1818</a>)</p> </li> <li> <p>Fix the inverted check for collations outside the handshake's one-byte map. Accept them when a charset is supplied, using <code>SET NAMES ... COLLATE</code>; reject them when no charset is supplied instead of silently using the default collation. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1832">#1832</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md">github.com/go-sql-driver/mysql's changelog</a>.</em></p> <blockquote> <h2>v1.10.2 (2026-11-17)</h2> <p>Changes since v1.10.1.</p> <h3>Security fixes</h3> <ul> <li> <p>Return <code>ErrMalformPkt</code> instead of panicking on truncated initial handshake packets, including the greeting received before TLS negotiation. (GHSA-9qjq-77h9-895w, <a href="https://redirect.github.com/go-sql-driver/mysql/issues/1850">#1850</a>)</p> </li> <li> <p>Discard connections after a failed <code>LOAD DATA LOCAL INFILE</code>, including reader <code>Close()</code> errors, so unread results from a multi-statement batch cannot be returned to a later caller. Preserve the server's response status and avoid retrying the batch after an upload write failure. (GHSA-4v5x-9mc8-gr98)</p> </li> <li> <p>Reject <code>interpolateParams=true</code> combined with an unsafe multibyte charset (<code>big5</code>, <code>sjis</code>, <code>gbk</code>, <code>cp932</code>, <code>gb18030</code>) given by <code>charset</code> or <code>Charset()</code>. Previously only <code>collation</code> was checked. Collations are now matched case-insensitively and by their charset prefix. The check also runs again after a <code>BeforeConnect</code> callback has modified the config. Stop rejecting <code>gb2312_bin</code>; GB2312 trailing bytes cannot contain a backslash. The error text changed from <code>invalid DSN: interpolateParams can not be used with unsafe collations</code> to <code>interpolateParams cannot be used with unsafe charsets</code>, because it may also be returned by <code>NewConnector</code> or <code>Connector.Connect</code> after <code>BeforeConnect</code>. Applications comparing the complete error string must update their comparison. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1836">#1836</a>)</p> </li> <li> <p>Fix <code>interpolateParams</code> not treating <code>--</code> followed by <code>\v</code>, <code>\f</code>, another control character, DEL, or a raw <code>0xA0</code> byte as a comment. Other non-ASCII bytes after <code>--</code> remain outside the supported interpolation grammar. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1836">#1836</a>)</p> </li> <li> <p>Fix <code>interpolateParams</code> treating the <code>*</code> that opens <code>/*/</code> as closing the comment. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1835">#1835</a>)</p> </li> </ul> <h3>Bugfixes</h3> <ul> <li> <p>Honor <code>BeforeConnect</code> changes to the timeout, dialer, logger, and connection attributes without modifying the shared connector. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1809">#1809</a>)</p> </li> <li> <p>Validate prepared statement arguments and packet size before sending long data, and reset the statement if a long-data write fails. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1810">#1810</a>)</p> </li> <li> <p>Fix the reported precision of unsigned DECIMAL columns. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1813">#1813</a>)</p> </li> <li> <p>Preserve full two-byte column collation IDs so IDs above 255 do not cause text columns to be reported as binary columns. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1818">#1818</a>)</p> </li> <li> <p>Fix the inverted check for collations outside the handshake's one-byte map. Accept them when a charset is supplied, using <code>SET NAMES ... COLLATE</code>; reject them when no charset is supplied instead of silently using the default collation. (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1832">#1832</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-sql-driver/mysql/commit/69ff5442bda1ca7cbc1e524387d832b8559ffa57"><code>69ff544</code></a> release v1.10.2</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/6feffa42772cc022a3b6f1b6dacc70755a8e3a94"><code>6feffa4</code></a> Expand truncated handshake regression coverage</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/b385bb36b08a5e87effc54318f532ad3ad5670ce"><code>b385bb3</code></a> Return ErrMalformPkt for truncated initial handshake packets (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1850">#1850</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/a52707ecc1ee764fbb7ff6bec4acaf7e5864faa3"><code>a52707e</code></a> Fix connection reuse after LOAD DATA LOCAL INFILE failures</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/d081619ffe9c8efeece7e2f5a0b25d2683685b3b"><code>d081619</code></a> ci: pin Ubuntu runners to 24.04</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/e507d41aa79459bc02b75ea876cbcc23e3009a40"><code>e507d41</code></a> Clarify changes since v1.10.1 for the v1.10.2 release</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/3ff07d553ee8882ee8aad6fe085d0efab90de9ef"><code>3ff07d5</code></a> Document fixes backported to the 1.10 branch</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/9d2079fa5f50ff507af94e92ab7681b974c02f38"><code>9d2079f</code></a> ci: refresh the 1.10 test matrix without dropping compatibility</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/d71e224464bdc171b2f829fcf968229791353aee"><code>d71e224</code></a> conncheck: preserve and report idle server errors (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1843">#1843</a>)</li> <li><a href="https://github.com/go-sql-driver/mysql/commit/38b6ecbed813a778d66d7841d738700c879b86e8"><code>38b6ecb</code></a> Harden interpolateParams against unsafe charsets and -- comments (<a href="https://redirect.github.com/go-sql-driver/mysql/issues/1836">#1836</a>)</li> <li>Additional commits viewable in <a href="https://github.com/go-sql-driver/mysql/compare/v1.10.1...v1.10.2">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]
