Buffer overflow in Mikrotik Routeros

CVE-2021-41987

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 scep_server_name value. This affects RouterOS 6.46.8, 6.47.9…

Vulnerability class: Buffer Overflow

EPSS: 0.162 (96.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-41987?
CVE-2021-41987 is a high-severity vulnerability in Mikrotik Routeros, classified under Out-of-bounds Write. CVSS score: 8.1/10. Published 2022-03-16.
How severe is CVE-2021-41987?
High severity. CVSS v3 base score is 8.1 out of 10.