Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-67915

Prevent rpc::upconvertRequest() from moving duplicate field in $queryOptions to top-level

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • Service Arch 2022-08-22

    Description

      The fuzzer can generate commands with the same field at the top-level and in the $queryOptions sub-object. Rpc::upconvertRequest() moves fields from the sub-object to the top-level, which later triggers an fassert due to there being duplicate fields. upconvertRequest() should throw ErrorCodes::InvalidOptions instead to prevent duplicate fields at the top-level.

      Attachments

        Activity

          People

            reo.kimura@mongodb.com Reo Kimura (Inactive)
            reo.kimura@mongodb.com Reo Kimura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: