We have Pritunl version v1.32.3897.75 e28567 and we are upgrading the Pymongo to 4.6 due to vulnerability on exiting 3.13 version. But after upgrading the Pymongo pritunl is failing to start and giving error as below:
TypeError: ‘Collection’ object is not callable. If you meant to call the ‘insert’ method on a ‘Collection’ object it is failing because no such method exists.
Upgrading the pyMongo package requires significant refactoring. It has been completed in the codebase and will be included in the next release. This involved hundreds of calls that needed to be refactored and it will take time to test. The vulnerability is only relevant if a malicious MongoDB server is intentionally configured in the Pritunl configuration.