Skip to content

Add advisory for domain: Dnskey::parse bypass the 16-bit RDATA length invariant#2922

Closed
yilin0518 wants to merge 1 commit into
rustsec:mainfrom
yilin0518:domain
Closed

Add advisory for domain: Dnskey::parse bypass the 16-bit RDATA length invariant#2922
yilin0518 wants to merge 1 commit into
rustsec:mainfrom
yilin0518:domain

Conversation

@yilin0518
Copy link
Copy Markdown

Affected crate(s)

  • domain (1,338,549 downloads on crates.io)

Links to upstream issue(s) or PR(s)

Severity

Soundness issue: safe parsing bypasses the DNSKEY RDATA 16-bit length invariant, allowing construction of invalid records and violating new_unchecked safety preconditions, which can undermine memory safety assumptions.

Checklist

  • Advisory filename(s) starts with RUSTSEC-0000-0000 as the ID
  • date field is set to the public disclosure date
  • Contains a concise and descriptive title after advisory metadata
  • Asked maintainer(s) if publishing an advisory is appropriate

The mentioned issue is open for more than two months and no response has been received so far.

@djc djc closed this May 28, 2026
@djc
Copy link
Copy Markdown
Member

djc commented May 28, 2026

Closing this per upstream discussion; seems low-risk and low-impact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants