Usually, this happens because you have installed a package using a third-party repository, or a third-party plugin in cPanel.
Your third-party package or cPanel plugin may not work correctly with a different package version. In most cases, it will work just fine with cPanel.
That message is shown mostly for security reasons in case of an unauthorized third-party changes something in your server without your knowledge. So, it's usually safe to ignore but depends on the compatibility of the remaining services and apps you have installed in your server.
Future updates of your third-party plugin may also replace the version cPanel uses, and you might have to execute that command again. It's up to you to decide which version to use.
If you don't know what to do or what to decide, I suggest fixing the RPMs unless the creator of your third-party package or cPanel plugin mentions explicitly to leave that version.