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

Replace std::string query inputs with a custom type that prohibits embedded null bytes

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization

      In response to CVE-141 and SERVER-95347, implement systematic protection against null byte injection in query code. Make this assertion in getValidFieldName() checked more universally, rather than checked in just a certain case.

      This would be similar to SERVER-95279 but applied to query code. Other examples of this pattern in query code are:

            Assignee:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            steve.tarzia@mongodb.com Steve Tarzia
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: