7.8
HIGH
CVE-2021-40158
Autodesk Inventor/AutoCAD Boundaries Violation Buffer Overflow Vulnerability
Description

A maliciously crafted JT file in Autodesk Inventor 2022, 2021, 2020, 2019 and AutoCAD 2022 may be forced to read beyond allocated boundaries when parsing the JT file. This vulnerability in conjunction with other vulnerabilities could lead to code execution in the context of the current process.

INFO

Published Date :

Jan. 25, 2022, 8:15 p.m.

Last Modified :

Nov. 16, 2022, 4:05 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2021-40158 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Autodesk autocad
2 Autodesk advance_steel
3 Autodesk autocad_architecture
4 Autodesk autocad_electrical
5 Autodesk autocad_lt
6 Autodesk autocad_map_3d
7 Autodesk autocad_mechanical
8 Autodesk autocad_mep
9 Autodesk autocad_plant_3d
10 Autodesk civil_3d
11 Autodesk inventor
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-40158.

URL Resource
https://www.autodesk.com/trust/security-advisories/adsk-sa-2022-0002 Vendor Advisory
https://www.zerodayinitiative.com/advisories/ZDI-22-281/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-283/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-284/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-285/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-286/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-287/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-288/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-441/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-443/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-444/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-445/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-447/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-448/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-449/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-450/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-451/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-452/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-453/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-454/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-455/ Third Party Advisory VDB Entry
https://www.zerodayinitiative.com/advisories/ZDI-22-466/ Third Party Advisory VDB Entry

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-40158 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-40158 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Nov. 16, 2022

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 07, 2022

    Action Type Old Value New Value
    Changed Description A maliciously crafted JT file in Autodesk Inventor 2022, 2021, 2020, 2019 may be forced to read beyond allocated boundaries when parsing the JT file. This vulnerability can be exploited to execute arbitrary code A maliciously crafted JT file in Autodesk Inventor 2022, 2021, 2020, 2019 and AutoCAD 2022 may be forced to read beyond allocated boundaries when parsing the JT file. This vulnerability in conjunction with other vulnerabilities could lead to code execution in the context of the current process.
  • Modified Analysis by [email protected]

    May. 13, 2022

    Action Type Old Value New Value
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-441/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-441/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-443/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-443/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-444/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-444/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-445/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-445/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-447/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-447/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-448/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-448/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-449/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-449/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-450/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-450/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-451/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-451/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-452/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-452/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-453/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-453/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-454/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-454/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-455/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-455/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-466/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-466/ Third Party Advisory, VDB Entry
    Changed CPE Configuration OR *cpe:2.3:a:autodesk:inventor:2019:*:*:*:*:*:*:* *cpe:2.3:a:autodesk:inventor:2020:*:*:*:*:*:*:* *cpe:2.3:a:autodesk:inventor:2021:*:*:*:*:*:*:* *cpe:2.3:a:autodesk:inventor:2022:*:*:*:*:*:*:* OR *cpe:2.3:a:autodesk:advance_steel:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:autocad:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:autocad_architecture:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:autocad_electrical:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:autocad_lt:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:autocad_map_3d:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:autocad_mechanical:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:autocad_mep:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:autocad_plant_3d:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:civil_3d:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.1.2 *cpe:2.3:a:autodesk:inventor:2019:*:*:*:*:*:*:* *cpe:2.3:a:autodesk:inventor:2020:*:*:*:*:*:*:* *cpe:2.3:a:autodesk:inventor:2021:*:*:*:*:*:*:* *cpe:2.3:a:autodesk:inventor:*:*:*:*:*:*:*:* versions from (including) 2022 up to (excluding) 2022.2
  • CVE Modified by [email protected]

    Mar. 10, 2022

    Action Type Old Value New Value
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-444/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-466/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-455/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-454/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-443/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-445/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-451/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-450/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-453/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-441/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-452/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-448/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-447/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-449/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Feb. 28, 2022

    Action Type Old Value New Value
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-281/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-281/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-283/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-283/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-284/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-284/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-285/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-285/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-286/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-286/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-287/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-287/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.zerodayinitiative.com/advisories/ZDI-22-288/ No Types Assigned https://www.zerodayinitiative.com/advisories/ZDI-22-288/ Third Party Advisory, VDB Entry
  • CVE Modified by [email protected]

    Feb. 10, 2022

    Action Type Old Value New Value
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-283/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-284/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-281/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-287/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-288/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-285/ [No Types Assigned]
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-22-286/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Jan. 31, 2022

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.autodesk.com/trust/security-advisories/adsk-sa-2022-0002 No Types Assigned https://www.autodesk.com/trust/security-advisories/adsk-sa-2022-0002 Vendor Advisory
    Added CWE NIST CWE-125
    Added CPE Configuration OR *cpe:2.3:a:autodesk:inventor:2019:*:*:*:*:*:*:* *cpe:2.3:a:autodesk:inventor:2020:*:*:*:*:*:*:* *cpe:2.3:a:autodesk:inventor:2021:*:*:*:*:*:*:* *cpe:2.3:a:autodesk:inventor:2022:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-40158 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-40158 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.48 }} 0.06%

score

0.76290

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability