You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No fuzz targets for the NSEC walk, HTTPS and Cert Spotter parsers; CI never fuzzes #470
The seven fuzz targets cover the older parsers. The parsers added since v0.11 that read bytes from servers (the NSEC walk, HTTPS/SVCB records, Cert Spotter pages) have no fuzz target, and CI only replays seed corpora (no -fuzz step, scheduled or manual).
Not fuzzed: internal/dns/nsecwalk.go:169 (readCoveringNSEC/nsecNext), internal/dns/https.go:66 (HTTPS/SVCB formatting), internal/passive/certspotter.go:115 (page JSON).
.github/workflows/go.yml:90, :162 (go test ./... replays seeds only).
Impact
Panics or broken invariants in these parsers are found only when someone points subenum at a misbehaving server.
Suggested fix
Add FuzzReadCoveringNSEC, FuzzFormatHTTPS (raw rdata) and FuzzCertSpotterPage, each asserting no panic and that returned names respect host-name limits.
Add a scheduled or workflow_dispatch job that runs every fuzz target with -fuzztime=60s and uploads new crashers as artifacts, so the existing targets get real fuzzing too.
Getting started
Relevant files: the parsers above; internal/dns/axfr_hostile_test.go shows the existing fuzz style
How to run a target: go test ./internal/dns -run=^$ -fuzz=FuzzReadDenial -fuzztime=30s
Filed by repo-audit/full-audit at a45b999. Severity: medium. Effort: M. audit-key: testing|.github/workflows/go.yml|fuzz
Activity