SERVER-132463ClosedFixed

Clustered Index names allow null embedded bytes

Discovered via the fuzzer. Attaching a minimal reproducer. I would recommend updating the up-front validation of clustered index names. One of the problems with storing embedded null bytes in an index name is that collStats cannot represent the name in BSON since SERVER-95279 introduced stronger checks in the server.

Affected Versions
Versions known to exhibit this issue
9.0 Required
Fixed Versions
Versions that include the fix
9.1.0-rc08.3.99.0.0-rc28.0.377.0.49
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
bkp