Activity log
- Created suggestion
Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR
Net::DNS versions through 1.55 for Perl allow remote execution injection via EDNS EXTENDED ERROR. Net::DNS::RR::OPT::EXTENDED_ERROR::_decompose parses the EXTRA-TEXT field of an EDNS EXTENDED-ERROR option (RFC 8914) by tokenising the raw bytes and passing the result to Perl's eval. There is some escaping done for $ and @, but not for backticks. This can be exploited for command execution if $pkt->edns->option('EXTENDED-ERROR') is called in array context, for example with a payload of {0:`"<command>"`} in EXTRA-TEXT.
References
Affected products
- =<1.55
Matching in nixpkgs
pkgs.perlPackages.NetDNS
Perl Interface to the Domain Name System
pkgs.perl5Packages.NetDNS
Perl Interface to the Domain Name System
pkgs.perlPackages.NetDNSNative
Non-blocking system DNS resolver
pkgs.akkuPackages.chibi-net-dns
Domain Name Service library, with high-level utilities for address, mx and text record lookups
pkgs.perl5Packages.NetDNSNative
Non-blocking system DNS resolver
pkgs.perlPackages.NetDNSResolverMock
Mock a DNS Resolver object for testing
-
nixos-unstable 1.20230216
- nixpkgs-unstable 1.20230216
- nixos-unstable-small 1.20230216
-
nixos-26.05 1.20230216
- nixos-26.05-small 1.20230216
- nixpkgs-26.05-darwin 1.20230216
pkgs.perl5Packages.NetDNSResolverMock
Mock a DNS Resolver object for testing
-
nixos-unstable 1.20230216
- nixpkgs-unstable 1.20230216
- nixos-unstable-small 1.20230216
-
nixos-26.05 1.20230216
- nixos-26.05-small 1.20230216
- nixpkgs-26.05-darwin 1.20230216
pkgs.perlPackages.NetDNSResolverProgrammable
Programmable DNS resolver class for offline emulation of DNS
Package maintainers
-
@TomaSajt TomaSajt