Users who cached their CLI authentication before Jenkins was updated to 2.150.2 and newer, or 2.160 and newer, would remain authenticated in Jenkins 2.171 and earlier and Jenkins LTS 2.164.1 and earlier, because the fix for CVE-2019-1003004 in these releases did not reject existing remoting-based CLI authentication caches.
https://www.oracle.com/security-alerts/cpuapr2022.html
https://jenkins.io/security/advisory/2019-04-10/#SECURITY-1289