Low firefox Logic Error 🔧 Commit mapped

Overview

Low
Severity
CVSS
No
Exploited ITW
Fixed
Fix Status
Impactlow
DescriptionOther issue in the Networking: DNS component
ComponentNetworking
Bug ClassLogic Error
Tracker2022726
Fix commitef598a2de8f5 (firefox) +4/-0
CISA KEVNot listed
Creditedb00rito
Disclosed2026-04-21

Files Changed

  • netwerk/ipc/NeckoParent.cpp
diff --git a/netwerk/ipc/NeckoParent.cpp b/netwerk/ipc/NeckoParent.cpp
index 4ab04649693..39a07556300 100644
--- a/netwerk/ipc/NeckoParent.cpp
+++ b/netwerk/ipc/NeckoParent.cpp
@@ -548,6 +548,10 @@ mozilla::ipc::IPCResult NeckoParent::RecvPDNSRequestConstructor(
     const nsACString& aTrrServer, const int32_t& aPort, const uint16_t& aType,
     const OriginAttributes& aOriginAttributes,
     const nsIDNSService::DNSFlags& aFlags) {
+  if (!aTrrServer.IsEmpty()) {
+    return IPC_FAIL(this, "Content process should not specify TRR server");
+  }
+
   RefPtr<DNSRequestParent> actor = static_cast<DNSRequestParent*>(aActor);
   RefPtr<DNSRequestHandler> handler =
       actor->GetDNSRequest()->AsDNSRequestHandler();
Loading diff…