CVE-2021-41987: Buffer Overflow

Published Mar 16, 2022
·
Updated

In the SCEP Server of RouterOS in certain Mikrotik products, an attacker can trigger a heap-based buffer overflow that leads to remote code execution. The attacker must know the scepservername value. This affects RouterOS 6.46.8, 6.47.9, and 6.47.10.

Affected Software

3 affected components
Mikrotik RouterOS=6.46.8
Mikrotik RouterOS=6.47.9
Mikrotik RouterOS=6.47.10

Event History

Mar 16, 2022
CVE Published
via MITRE·02:44 PM
Data Sourced
via MITRE·02:44 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-41987?

CVE-2021-41987 is a vulnerability in the SCEP Server of RouterOS in certain MikroTik products that allows an attacker to trigger a heap-based buffer overflow and execute remote code.

2

What is the severity of CVE-2021-41987?

The severity of CVE-2021-41987 is classified as high with a CVSS score of 8.1.

3

Which products are affected by CVE-2021-41987?

CVE-2021-41987 affects certain versions of MikroTik RouterOS including 6.46.8, 6.47.9, and 6.47.10.

4

How can an attacker exploit CVE-2021-41987?

To exploit CVE-2021-41987, the attacker must know the scep_server_name value and can then trigger a heap-based buffer overflow to execute remote code.

5

How can I mitigate CVE-2021-41987?

To mitigate CVE-2021-41987, it is recommended to update RouterOS to versions that have fixed the vulnerability as provided by MikroTik.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203