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

XMLWordPrintableJSON

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

      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:
            Unassigned
            Reporter:
            Steve Tarzia
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: