The vulnerability exists in the 'connection-test' endpoint of NocoDB, where user-supplied database host information is not properly validated, leading to a Server-Side Request Forgery (SSRF) vulnerability. The advisory explicitly mentions that the fix was to introduce a new validateDbConnectionHost helper function to validate the host before attempting a connection. Based on the NocoDB codebase structure, the controller responsible for handling database connections is DbConnectionController, and the specific function for testing the connection is dbConnectionTest. This function, prior to the patch, would have been the one to take the user input and initiate the vulnerable connection. Therefore, DbConnectionController.dbConnectionTest is the vulnerable function.