I would like to ask everyone, using TiDB has been found to have CVE-2019-2632 and CVE-2021-2144 vulnerabilities. After checking, I found that the MySQL version corresponding to TiDB 6.1.0 is 5.7.25, and to fix the vulnerabilities, it needs to be upgraded to 5.7.30. So I would like to ask what the MySQL versions corresponding to the various TiDB versions are now.
Don’t blindly trust vulnerability scans. Turn off external network access to the database, ensure the firewall (hardware in the data center, not the system firewall) is properly configured. You don’t need to worry about those vulnerability scans for the database unless you encounter a bug or have application requirements. Don’t upgrade a stable-running database lightly.
Vulnerability scans are a scam. They just take the official vulnerability list, compare versions, and generate a report for the leadership. It’s not very useful.
Currently, domestic vulnerability scans do not (or rather, the vast majority do not) actually perform an intrusion to check if a vulnerability truly exists. They simply and crudely look at the version number and directly produce results based on the version number and the official CVE list. Therefore, changing the version number is feasible.