CVE-2022-45315 Memory corruption in RouterOS

Medium 6.4 Published Updated

Authenticated attackers can execute arbitrary code on Mikrotik RouterOS devices via a crafted SNMP packet exploiting an out-of-bounds read.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-45315?

CVE-2022-45315 is a medium-severity memory corruption vulnerability in Mikrotik Routeros, published on 5 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Mikrotik RouterOs before stable v7.6 was discovered to contain an out-of-bounds read in the snmp process. This vulnerability allows authenticated attackers to execute arbitrary code via a crafted packet.

Weakness: CWE-125

Which versions are affected by CVE-2022-45315?

It affects 1 product.

Products include Mikrotik Routeros.

How do I fix CVE-2022-45315?

No fix has been published for CVE-2022-45315 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-45315 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45315 exists.

All Mikrotik Routeros vulnerabilities

Sources

Also known as GHSA-xcmj-vx3m-mj2h.

Is CVE-2022-45315 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free