Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1 uses cryptographically weak random number generator to brute-force the confirmation code for customer registration.
https://github.com/advisories/GHSA-c4r2-3f9r-rwp8
https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update