Skip to content

Commit

Permalink
Bump dnspython from 2.4.2 to 2.6.1 in /src/stirling/source_connectors…
Browse files Browse the repository at this point in the history
…/socket_tracer/testing/containers/mongodb (#1874)

Bumps [dnspython](https://github.com/rthalley/dnspython) from 2.4.2 to
2.6.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rthalley/dnspython/releases">dnspython's
releases</a>.</em></p>
<blockquote>
<h2>dnspython 2.6.1</h2>
<p>See <a
href="https://dnspython.readthedocs.io/en/latest/whatsnew.html">What's
New</a> for details.</p>
<p>This is a bug fix release for 2.6.0 where the &quot;TuDoor&quot; fix
erroneously
suppressed legitimate Truncated exceptions.  This caused the stub
resolver to timeout instead of failing over to TCP when a legitimate
truncated response was received over UDP.</p>
<p>This release addresses the potential DoS issue discussed in the
&quot;TuDoor&quot; paper (CVE-2023-29483). The dnspython stub resolver
is
vulnerable to a potential DoS if a bad-in-some-way response from the
right address and port forged by an attacker arrives before a
legitimate one on the UDP port dnspython is using for that query.  In
this situation, dnspython might switch to querying another resolver or
give up entirely, possibly denying service for that resolution.  This
release addresses the issue by adopting the recommended mitigation,
which is ignoring the bad packets and continuing to listen for a
legitimate response until the timeout for the query has expired.</p>
<p>Thank you to all the contributors to this release, and, as usual,
thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian
Wellington.</p>
<h2>dnspython 2.6.0</h2>
<p>See <a
href="https://dnspython.readthedocs.io/en/latest/whatsnew.html">What's
New</a> for details.</p>
<p>This release addresses the potential DoS issue discussed in the
&quot;TuDoor&quot; paper (CVE-2023-29483). The dnspython stub resolver
is vulnerable to a potential DoS if a bad-in-some-way response from the
right address and port forged by an attacker arrives before a legitimate
one on the UDP port dnspython is using for that query. In this
situation, dnspython might switch to querying another resolver or give
up entirely, possibly denying service for that resolution. This release
addresses the issue by adopting the recommended mitigation, which is
ignoring the bad packets and continuing to listen for a legitimate
response until the timeout for the query has expired.</p>
<p>Thank you to all the contributors to this release, and, as usual,
thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian
Wellington.</p>
<h2>dnspython 2.5.0</h2>
<p>See the <a
href="https://dnspython.readthedocs.io/en/stable/whatsnew.html">What's
New</a> page for a summary of this release.</p>
<p>Thanks to all the contributors, and, as usual, thanks to my
co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst">dnspython's
changelog</a>.</em></p>
<blockquote>
<h2>2.6.1</h2>
<ul>
<li>The Tudoor fix ate legitimate Truncated exceptions, preventing the
resolver from
failing over to TCP and causing the query to timeout <a
href="https://redirect.github.com/rthalley/dnspython/issues/1053">#1053</a>.</li>
</ul>
<h2>2.6.0</h2>
<ul>
<li>
<p>As mentioned in the &quot;TuDoor&quot; paper and the associated
CVE-2023-29483, the dnspython
stub resolver is vulnerable to a potential DoS if a bad-in-some-way
response from the
right address and port forged by an attacker arrives before a legitimate
one on the
UDP port dnspython is using for that query.</p>
<p>This release addresses the issue by adopting the recommended
mitigation, which is
ignoring the bad packets and continuing to listen for a legitimate
response until
the timeout for the query has expired.</p>
</li>
<li>
<p>Added support for the NSID EDNS option.</p>
</li>
<li>
<p>Dnspython now looks for version metadata for optional packages and
will not
use them if they are too old.  This prevents possible exceptions when a
feature like DoH is not desired in dnspython, but an old httpx is
installed
along with dnspython for some other purpose.</p>
</li>
<li>
<p>The DoHNameserver class now allows GET to be used instead of the
default POST,
and also passes source and source_port correctly to the underlying query
methods.</p>
</li>
</ul>
<h2>2.5.0</h2>
<ul>
<li>
<p>Dnspython now uses hatchling for builds.</p>
</li>
<li>
<p>Asynchronous destinationless sockets now work on Windows.</p>
</li>
<li>
<p>Cython is no longer supported due to various typing issues.</p>
</li>
<li>
<p>Dnspython now explicitly canonicalizes IPv4 and IPv6 addresses.
Previously it was possible for non-canonical IPv6 forms to be stored
in a AAAA address, which would work correctly but possibly cause
problmes if the address were used as a key in a dictionary.</p>
</li>
<li>
<p>The number of messages in a section can be retrieved with
section_count().</p>
</li>
<li>
<p>Truncation preferences for messages can be specified.</p>
</li>
<li>
<p>The length of a message can be automatically prepended when
rendering.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rthalley/dnspython/commit/0a742b9658977175663dc30da902342a8c2bacac"><code>0a742b9</code></a>
update CI</li>
<li><a
href="https://github.com/rthalley/dnspython/commit/0ea5ad0a4583e1f519b9bcc67cfac381230d9cf2"><code>0ea5ad0</code></a>
The Tudoor fix should not eat valid Truncated exceptions <a
href="https://redirect.github.com/rthalley/dnspython/issues/1053">#1053</a>
(<a
href="https://redirect.github.com/rthalley/dnspython/issues/1054">#1054</a>)</li>
<li><a
href="https://github.com/rthalley/dnspython/commit/f12d398a6991dfaad94d7fefaf7e2f55d1fda3cb"><code>f12d398</code></a>
2.6.1 version prep</li>
<li><a
href="https://github.com/rthalley/dnspython/commit/cecb8534f61de16aaa1a1a84eaaeb14dfdf67448"><code>cecb853</code></a>
Further improve CVE fix coverage to 100% for sync and async.</li>
<li><a
href="https://github.com/rthalley/dnspython/commit/7952e311d47f6b34f5dc050681001fd34ab60d01"><code>7952e31</code></a>
test IgnoreErrors</li>
<li><a
href="https://github.com/rthalley/dnspython/commit/e093299a49967696b1c58b68e4767de5031a3e46"><code>e093299</code></a>
For the Tudoor fix, we also need the UDP nameserver to
ignore_unexpected.</li>
<li><a
href="https://github.com/rthalley/dnspython/commit/3af9f78142084fff8523bc96b5f8cfd2b909dc18"><code>3af9f78</code></a>
2.6.0 versioning</li>
<li><a
href="https://github.com/rthalley/dnspython/commit/ca63d95143e81975fc3fff4dff87b366dc661371"><code>ca63d95</code></a>
Require cryptography &gt;=41 instead of 42.</li>
<li><a
href="https://github.com/rthalley/dnspython/commit/902cbf3fcb11ddfd8625b4a071fe9f592f6fc753"><code>902cbf3</code></a>
Create CODE_OF_CONDUCT.md</li>
<li><a
href="https://github.com/rthalley/dnspython/commit/ed9795fa9b39c4a12f5a1a9e0eeea4240d1efb07"><code>ed9795f</code></a>
github contributing and pull request template</li>
<li>Additional commits viewable in <a
href="https://github.com/rthalley/dnspython/compare/v2.4.2...v2.6.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dnspython&package-manager=pip&previous-version=2.4.2&new-version=2.6.1)](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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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/pixie-io/pixie/network/alerts).

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Apr 24, 2024
1 parent e5605b9 commit 0888c38
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#
# pip-compile --generate-hashes --output-file=requirements.bazel.txt requirements.txt
#
dnspython==2.4.2 \
--hash=sha256:57c6fbaaeaaf39c891292012060beb141791735dbb4004798328fc2c467402d8 \
--hash=sha256:8dcfae8c7460a2f84b4072e26f1c9f4101ca20c071649cb7c34e8b6a93d58984
dnspython==2.6.1 \
--hash=sha256:5ef3b9680161f6fa89daf8ad451b5f1a33b18ae8a1c6778cdf4b43f08c0a6e50 \
--hash=sha256:e8f0f9c23a7b7cb99ded64e6c3a6f3e701d78f50c55e002b839dea7225cff7cc
# via pymongo
pymongo==4.5.0 \
--hash=sha256:076afa0a4a96ca9f77fec0e4a0d241200b3b3a1766f8d7be9a905ecf59a7416b \
Expand Down

0 comments on commit 0888c38

Please sign in to comment.