Skip to content

Resolver hardening issue in Zonemaster::Engine::Recursor #1501

Description

@pawal

In Zonemaster::Engine::Recursor, glue A/AAAA records from responses are accepted into the internal glue map without validating bailiwick first (lib/Zonemaster/Engine/Recursor.pm, around lines 367-369 and 407-413). Because those addresses are later used for follow-up nameserver queries, this looks like a potential cache/glue poisoning path if an upstream server returns crafted additional records. A safer approach would be to only trust glue for NS names that are actually in the delegation NS RRset and in-bailiwick for that delegation.

Metadata

Metadata

Assignees

Labels

T-FeatureType: New feature in software or test case description

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions