# What is CVE-2021-20023?

> CVE-2021-20023 is a medium-severity flaw (CVSS 4.9) in Email Security from SonicWall, published on 20 April 2021. It is on the list of flaws known to be exploited, so criminals are already using it. The latest forecast puts its chance of use in the next 30 days at 52%. If you run an affected version, patch it first.

Canonical page: https://www.precursorintelligence.com/what-is/cve-2021-20023

## At a glance

- **Verdict:** Fix this now. Attackers are using this flaw today. If you run an affected version, it goes to the top of your list.
- **Precursor Intelligence risk score:** 75 out of 100 (High); action: Emergency patch. Kept up to date as the evidence changes.
- **Severity:** Medium (CVSS 4.9 out of 10)
- **Known to be exploited:** Yes, it is on the government list of flaws known to be exploited
- **Chance of use in the next 30 days:** 52% (latest exploit-likelihood forecast)
- **Published:** 20 April 2021
- **Record last updated:** 22 October 2025
- **Main product:** Email Security from SonicWall
- **Affected products:** 2

## What is CVE-2021-20023? In plain terms

It can be attacked from anywhere on the internet with an administrator account, and nobody has to click anything. If it works, the attacker can read data.

### The official description

SonicWall Email Security version 10.0.9.x contains a vulnerability that allows a post-authenticated attacker to read an arbitrary file on the remote host.

### What kind of flaw is it?

- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

### How an attack on it works

- Where an attacker can be: Anywhere on the internet
- How hard it is to pull off: Easy: no special conditions
- Login needed first: An administrator account
- Does someone have to click: No, nobody has to do anything
- What an attacker gets: Can read data

Severity vector: `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`

## Is CVE-2021-20023 being exploited? Yes

Attackers are already using it. It is on the government list of flaws known to be exploited, and the latest forecast puts the chance of it being used in the next 30 days at 52%.

Exploit likelihood over the last 7 days: 52%, 52%, 52%, 52%, 52%, 52%, 52%.

### Timeline

- 20 April 2021: Published
- 22 October 2025: Record last updated
- 23 October 2025: Exploit likelihood jumped

### How Precursor Intelligence ranks it

CVE-2021-20023 scores **75 out of 100 (High)**, with the action "Emergency patch".

Every published flaw gets a risk score from 0 to 100, kept up to date as the evidence changes. Four things go into the score, from the one that counts most to the ones that count less:

- Evidence it is being exploited: biggest factor
- How severe it is: strong factor
- How widely exposed it is: smaller factor
- Threat activity around it: smaller factor

85 and above is Critical. Anything confirmed as exploited is always marked for an emergency patch, whatever its score. When this flaw matches software you track, it lands in your list with its score and the reasons behind it.

## Who is affected by CVE-2021-20023?

The published record lists 2 products. Versions are as published: "before 10.0.9.6173" means every version up to, but not including, 10.0.9.6173.

- [Email Security](https://www.precursorintelligence.com/product/sonicwall/email_security) by [SonicWall](https://www.precursorintelligence.com/vendors/sonicwall) (Application): before 10.0.9.6173
- [Hosted Email Security](https://www.precursorintelligence.com/product/sonicwall/hosted_email_security) by [SonicWall](https://www.precursorintelligence.com/vendors/sonicwall) (Application): before 10.0.9.6173

## How do I fix CVE-2021-20023?

1. **Check whether you run it.** Compare your versions with the affected products above. Not sure what you run? Precursor Intelligence can work it out from your public website, or you can pick it from a list.
2. **Apply the vendor’s fix.** Install the update named in the vendor’s advisory. We’ve put the advisory first in the list.
3. **If you can’t patch today.** Follow any mitigation the vendor publishes, and limit who can reach the affected system from the internet until the update is in.
4. **Check it wasn’t used before you patched.** Because criminals are already using this flaw, look for signs of a break-in on affected systems using the vendor’s guidance.

### References

- [psirt.global.sonicwall.com](https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0010) (Vendor advisory)
- [cisa.gov](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-20023)

## Questions

### What is CVE-2021-20023?

CVE-2021-20023 is a medium-severity flaw in Email Security from SonicWall, published on 20 April 2021. It can be attacked from anywhere on the internet with an administrator account, and nobody has to click anything. If it works, the attacker can read data.

### How serious is CVE-2021-20023?

It scores 4.9 out of 10 on the CVSS severity scale, which is medium. Our risk score for CVE-2021-20023 is 75 out of 100, which is High. Its action is "Emergency patch". Attackers are using this flaw today. If you run an affected version, it goes to the top of your list.

### Is CVE-2021-20023 being exploited?

Attackers are already using it. It is on the government list of flaws known to be exploited, and the latest forecast puts the chance of it being used in the next 30 days at 52%.

### Which versions does CVE-2021-20023 affect?

For Email Security from SonicWall: before 10.0.9.6173. The record lists 2 products in all, each with its versions, under "Who is affected" on this page.

### How do I fix CVE-2021-20023?

Install the update the vendor names in its advisory, linked first under "How do I fix" on this page. If you can't patch today, follow the vendor's mitigation and limit who can reach the affected system from the internet. Because criminals are already using it, also check affected systems for signs of a break-in.

## Does CVE-2021-20023 affect you?

Precursor Intelligence keeps checking for you:

- **Tell us what you run.** Pick your software from a list, or let us work it out from your website.
- **We match it to every flaw.** Over 400,000 published flaws, checked against your list.
- **Ranked by real-world risk.** Every flaw gets a 0 to 100 risk score, kept up to date, led by evidence criminals are using it.
- **Told as soon as we know.** An alert by email, in the app or by webhook to your own tools.

Start free (no card, nothing to install): https://www.precursorintelligence.com/register
Book a demo: https://www.precursorintelligence.com/contact

