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, and 6.47.10.

Vulnerability class: Buffer Overflow

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.162 (96.9th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 96.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-41987: held from 0.162 to 0.162.

EPSS over last 30 days · oldest: 0.162 · newest: 0.162 · change: 0.000

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.