Skip to content

fix(security): handle punycode OverflowError in host suffix - #7660

Merged
dan-petty merged 1 commit into
mainfrom
fix/7333-punycode-overflow-domain-suffix
Nov 29, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/7333-punycode-overflow-domain-suffix

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Catch OverflowError from tldextract punycode IDNA decoding in a shared helper so host classification and public DNS validation return False instead of crashing.

Closes #7333
Change: openspec/changes/archive/2026-11-28-7333-punycode-overflow-domain-suffix/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault labels Nov 28, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 29, 2026 00:02
@dan-petty
dan-petty merged commit dce0b96 into main Nov 29, 2026
27 checks passed
@dan-petty
dan-petty deleted the fix/7333-punycode-overflow-domain-suffix branch November 29, 2026 00:07
dan-petty-release Bot added a commit that referenced this pull request Nov 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.242.0](v0.241.1...v0.242.0)
(2026-11-29)


### Features

* **roadmap:** file, update and close finding issues
([#7658](#7658))
([e09ce62](e09ce62))


### Bug Fixes

* **repos:** exclude agent scratch in worktree prune and name kept data
([#7659](#7659))
([04667dd](04667dd))
* **roadmap:** complete 300-file compare via local three-dot diff
([#7662](#7662))
([572f3f9](572f3f9))
* **security:** handle punycode OverflowError in host suffix
([#7660](#7660))
([dce0b96](dce0b96))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(security): host classifier raises OverflowError on a punycode label

1 participant