CVE-2021-40870
CRITICALCVE-2021-40870 is a critical-severity (CVSS 9.8) CWE-23 vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2022-01-18) — treat it as actively exploited and patch now. No vendor fix is recorded yet; mitigation options are listed below.
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922. Unrestricted upload of a file with a dangerous type is possible, which allows an unauthenticated user to execute…
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2022-01-18. Federal agencies were required to remediate by 2022-02-01.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2021-40870.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-40870 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Description
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922. Unrestricted upload of a file with a dangerous type is possible, which allows an unauthenticated user to execute arbitrary code via directory traversal.
Affected Products
controlleraviatrixResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922.…
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922.…
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922.…
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922.…
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922.…
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922.…
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922.…
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922.…
An issue was discovered in Aviatrix Controller 6.x before 6.5-1804.1922.…
Detection & mitigation playbook
VulnerabilityDetect
Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).
Remediation status
No fixed release is recorded for CVE-2021-40870 yet. Track the upstream advisory, and apply the exposure-reduction steps below in the meantime.
Mitigate without a patch
Treat uploaded files as untrusted until proven otherwise: validate the actual content type rather than the supplied extension, store uploads outside the web root on a volume mounted without execute permission, and rename them to server-generated identifiers so an attacker cannot choose the path a request will later resolve.
How to detect CVE-2021-40870
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2021-40870 -u https://target- Template
- Aviatrix Controller 6.x before 6.5-1804.1922 - Remote Command Execution
- Severity
- critical
- Impact
- Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected system.
- Remediation
- Upgrade Aviatrix Controller to version 6.5-1804.1922 or later to mitigate this vulnerability.
Template by ProjectDiscovery nuclei-templates (pikpikcu), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2021-40870 in your dependencies?
Find it across , including transitive dependencies.