CVE-2021-40870
Path Traversal in Aviatrix Controller 6.2 – 6.2.2043
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2021-40870 is a critical-severity Relative Path Traversal (CWE-23) vulnerability in Aviatrix Controller. Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Credential Access (T1212); ranked in the top 0.2% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
The vulnerability tracked as CVE-2021-40870 is an unrestricted file upload flaw that permits dangerous file types and leads to arbitrary code execution through directory traversal. It affects the Aviatrix Controller in all 6.x releases prior to 6.5-1804.1922 and is assigned CWE-23 with a CVSS 3.1 base score of 9.8.
An unauthenticated attacker with network access can upload a malicious file and traverse directories to place and execute arbitrary code on the controller, resulting in full confidentiality, integrity, and availability impact without any required user interaction.
Public advisories and release notes from Aviatrix dated 9 September 2021, along with the TradeCraft advisory TC-2021-0002, direct customers to apply the fixed version 6.5-1804.1922 or later; exploit code demonstrating the issue has been published on Packet Storm.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2021-28025
Vulnerability Data
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.
- CWE(s)
- KEV Date Added
- 18 January 2022
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V5.3.2
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require input validation and path sanitization that prevent relative traversal.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development catches path traversal via static/dynamic analysis, but does not itself implement the fix.
A.6.3's training of technical teams on secure development practices reduces some instances of path traversal by raising developer awareness of input validation needs, but the practice is fallible and the strongest control for this implementation-phase code defect is A.8.29 security testing, mirroring the A.8.28 -> CWE-79 and A.6.3 -> CWE-598 anchors.
Secure coding standards require neutralizing path traversal sequences, directly addressing CWE-23.
A.8.30 carries secure design, coding and testing practices (8.25–8.29) into outsourced development contracts, which reduces path-traversal defects in delivered code the way those practices do; the clause has a declared ceiling of `partial` on this verb and the mechanism is fallible human practice, so a minority of instances are prevented.
A.8.8's reach is DISCLOSURE: it sees only instances that carry a vendor-published flaw. CWE-23 is an implementation defect that commonly surfaces as CVEs in third-party components (many observed examples), so A.8.8 finds that disclosed minority; the bulk of path-traversal instances in custom first-party code are never published as advisories and remain outside the clause's reach.