CVE-2021-1104 Information disclosure in Machine Trap Base Address (MTVEC) Register

Critical 9.8 Published Updated

Undefined initial state of the MTVEC register in RISC-V processors may allow attackers to disclose information, tamper with data, or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-1104?

CVE-2021-1104 is a critical vulnerability in RISCV.org Machine Trap Base Address (MTVEC) Register, published on 13 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The RISC-V Instruction Set Manual contains a documented ambiguity for the Machine Trap Vector Base Address (MTVEC) register that may lead to a vulnerability due to the initial state of the register not being defined, potentially leading to information disclosure, data tampering and denial of service.

Weakness: CWE-908

Which versions are affected by CVE-2021-1104?

It affects 1 product.

Products include Risc-v Instruction Set Manual.

How do I fix CVE-2021-1104?

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

Is CVE-2021-1104 being exploited?

There is no known exploitation of CVE-2021-1104 in the wild and no public exploit code.

Sources

Also known as GHSA-5pxp-m22f-2m9x.

Is CVE-2021-1104 in your software?

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

Check your SBOMs for free