The vulnerability affects RouterOS versions prior to 6.42. The following versions are specifically vulnerable: