Operational Defect Database

BugZero found this defect 67 days ago.

MongoDB | 2608006

Don't attach encryptionInformation to compact unless there are range fields

Last update date:

3/14/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0.0-rc0

Description:

Info

When the encrypted legacy shell sends a compactStructuredEncryptionData command through the `compact` call, it now appends an `encryptionInformation` field to the command regardless of whether range (v2) fields are present in the schema. Since `encryptionInformation` is only really required if there are range v2 fields, it should not be included if there are none.

Top User Comments

xgen-internal-githook commented on Thu, 14 Mar 2024 15:34:36 +0000: Author: {'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'} Message: SERVER-87946 Don't attach encryptionInformation to compact unless there are range fields GitOrigin-RevId: 0aa6f5a908e4cdfabd174c72e46fa2cdb4a1fb0f Branch: master https://github.com/mongodb/mongo/commit/64fb2ffabec69df8547ca84609e70b270f5a1629

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Closed

Learn More

Search:

...