Operational Defect Database

BugZero found this defect 30 days ago.

MongoDB | 2648339

Invalid role configuration for fsyncunlock command

Last update date:

4/19/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

[direct: mongos] test> db.getSiblingDB("admin").fsyncUnlock() MongoServerError[Unauthorized]: not authorized on admin to execute command { fsyncUnlock: 1, lsid: { id: UUID("015b53df-9147-4bff-80bd-197438e71aaa") }, $clusterTime: { clusterTime: Timestamp(1713328347, 1), signature: { hash: BinData(0, 5D83869EB170A3A0988F51E11062C69D01B2944D), keyId: 7358683174655754254 } }, $db: "admin" } We encounter the above permission issue when executing with the root role for the fsyncunlock command. The fsync unlock cmd has the ActionType::fsyncUnlock, but we do not have a corresponding role in the builtin_roles.cpp (here)

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Needs Scheduling

Learn More

Search:

...