The Macintosh docker for desktop team did not sign a component of docker correctly; when Apple sees this improperly signed component, it thinks that it’s malware.
If you remove this component, and reinstall the latest version of docker, you resolve the issue because the component has been signed correctly in the latest versions.
you should make sure that all of your settings and all of your containers are backed up if you’re going to uninstall Docker. Otherwise just uninstalling dockers vmnet and reinstalling latest version preserves your settings and work.