← Back to Pull requests

Bump dnspython from 2.9.0 to 2.9.2 #136

Closed
unknown closed this pull request without merging on Nov 16, 2026 14:02 UTC
View on GitHub
unknown unknown commented on Nov 13, 2026 21:39 UTC
Author

Bumps dnspython from 2.9.0 to 2.9.2.
<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.9.2</h2>
<p>A malicious WKS record in text format can consume excessive memory and CPU when parsed, possibly causing the process to exit due to memory exhaustion. Thanks to Jace (GitHub <a href="https://github.com/manus-use"><code>@​manus-use</code></a>) for discovering and reporting this issue.</p>
<p>See <a href="https://dnspython.readthedocs.io/en/stable/whatsnew.html">What's New</a> for details.</p>
<p>The minimum supported version of Python is 3.11.</p>
<p>My thanks to the many people who have contributed to this release. Also thanks to my co-maintainers: Nicki Křížek, Petr Špaček, and Brian Wellington.</p>
<p>This release was published to PyPI using Trusted Publishing.</p>
<h2>dnspython 2.9.1</h2>
<p>See <a href="https://dnspython.readthedocs.io/en/stable/whatsnew.html">What's New</a> for details.</p>
<p>The minimum supported version of Python is 3.11.</p>
<p>My thanks to the many people who have contributed to this release. Also thanks to my co-maintainers: Nicki Křížek, Petr Špaček, and Brian Wellington.</p>
<p>This release was published to PyPI using Trusted Publishing.</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.9.2</h2>
<ul>
<li>A maliciously crafted zone file could use a WKS record to consume excessive
memory and CPU, possibly causing the process to exit due to memory exhaustion.
Thanks to Jace (GitHub <a href="https://github.com/manus-use"><code>@​manus-use</code></a>) for discovering and reporting this issue.</li>
</ul>
<h2>2.9.1</h2>
<ul>
<li>
<p>LOC text parsing now converts the altitude, size, horizontal precision, and
vertical precision fields to centimeters exactly, and requires them to be
decimal numbers of meters with at most two fractional digits, as RFC 1876
section 3 specifies. They were converted with <code>float()</code>, so <code>9.29m</code>
became 928 cm rather than 929 cm and the text and wire forms of the record
disagreed, forms such as <code>1e3m</code>, <code>1_000m</code>, <code>+10m</code>, <code>nanm</code>, and
<code>infm</code> were accepted, extra fractional digits were silently dropped, and an
altitude outside the representable range was accepted and then failed in
<code>to_wire()</code> with a non-DNS exception. <code>dns.exception.SyntaxError</code> is
now raised for all of these.</p>
</li>
<li>
<p>The resolver now assigns a new random query id to every query.</p>
</li>
<li>
<p>For transports that require a 0 query id, set it in a way that does not break
TSIG.</p>
</li>
<li>
<p><code>dns.message.QueryMessage.resolve_chaining()</code> now caps the minimum TTL of
a negative response with no SOA record at 300 seconds
(<code>dns.message.NEGATIVE_TTL_WITHOUT_SOA</code>). Previously the TTL was left at
its initial value of 2^32 - 1, so a single NXDOMAIN or NODATA response with
no SOA, e.g. a spoofed one, stayed in the resolver cache for the life of
the process.</p>
</li>
<li>
<p>DNSSEC validation now rejects an RRSIG whose type covered or class does not
match the RRset, as RFC 4035 section 5.3.1 requires. This was not checked,
so a revoked DNSKEY, which may only validate the DNSKEY RRset, still
validated any RRset signed with its private key if the RRSIG claimed to
cover DNSKEY.</p>
</li>
<li>
<p><code>dns.tokenizer.Tokenizer</code> now ends a line at a carriage return, or at a
carriage return followed by a line feed, unless the carriage return is in a
quoted string. The carriage return of CRLF line ends used to stay in the
last token of each line and in the text of a comment, so e.g.
<code>dns.zone.from_text()</code> rejected a zone with CRLF line ends.</p>
</li>
<li>
<p>DNSSEC validation no longer uses a DNSKEY with the REVOKE flag set to
validate anything other than the DNSKEY RRset. RFC 5011 section 2.1 says a
revoked key must not be used for any other purpose, but it was a candidate
key like any other, so as long as the revoked key was still published, data
signed with its private key, e.g. by whoever compromised it, validated.</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/854bedd6d641cb42785d26ca674ed2c0f20131e0"><code>854bedd</code></a> bump README.md version</li>
<li><a href="https://github.com/rthalley/dnspython/commit/388db14ee9923288f6e73f86e482c77706e59d73"><code>388db14</code></a> Constrain WKS bitmap size.</li>
<li><a href="https://github.com/rthalley/dnspython/commit/7e1832f58a9f1583db00461ae97f7a8603c6989f"><code>7e1832f</code></a> version bump</li>
<li><a href="https://github.com/rthalley/dnspython/commit/dddd69c1ca32a94d18d2662a2dc6085c8750dd6d"><code>dddd69c</code></a> black lint</li>
<li><a href="https://github.com/rthalley/dnspython/commit/185cc38a0ab2d2ca1837b53d91b915e0f020b895"><code>185cc38</code></a> release prep</li>
<li><a href="https://github.com/rthalley/dnspython/commit/cf22838ab0c64f3c6a4d157278ae7e9fb707de8d"><code>cf22838</code></a> Randomize the id of every message the resolver sends. (<a href="https://redirect.github.com/rthalley/dnspython/issues/1395">#1395</a>)</li>
<li><a href="https://github.com/rthalley/dnspython/commit/e0fce7f5a9962325d64873c31103fb33dae55112"><code>e0fce7f</code></a> use a short negative TTL for a negative answer with no SOA in resolve_chainin...</li>
<li><a href="https://github.com/rthalley/dnspython/commit/ad0803c88d90fbba86ee20de747fcc676ce769ec"><code>ad0803c</code></a> check the RRSIG type covered and class against the RRset (<a href="https://redirect.github.com/rthalley/dnspython/issues/1388">#1388</a>)</li>
<li><a href="https://github.com/rthalley/dnspython/commit/8c38a048424b7f44b46b0e4b4318c08de00e0457"><code>8c38a04</code></a> Strictly apply RFC 3597 compression rules when decompressing. (<a href="https://redirect.github.com/rthalley/dnspython/issues/1383">#1383</a>)</li>
<li><a href="https://github.com/rthalley/dnspython/commit/ab5ade8af1b0cd3ecd1e38410df07f38da67841e"><code>ab5ade8</code></a> end a line at a carriage return in the tokenizer (<a href="https://redirect.github.com/rthalley/dnspython/issues/1387">#1387</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rthalley/dnspython/compare/v2.9.0...v2.9.2">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](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.

    </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: cjrh Review duration: 3863m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #136"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%