Vulnerability Details : CVE-2021-40401
Potential exploit
A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
Vulnerability category: Memory Corruption
Products affected by CVE-2021-40401
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:a:gerbv_project:gerbv:2.7.0:-:*:*:*:*:*:*
- cpe:2.3:a:gerbv_project:gerbv:2.7.1:forked_dev:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-40401
0.25%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-40401
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
10.0
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H |
3.9
|
6.0
|
Talos | |
8.6
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
1.8
|
6.0
|
NIST |
CWE ids for CVE-2021-40401
-
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.Assigned by:
- nvd@nist.gov (Primary)
- talos-cna@cisco.com (Secondary)
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Secondary)
References for CVE-2021-40401
-
https://www.debian.org/security/2022/dsa-5306
Debian -- Security Information -- DSA-5306-1 gerbvThird Party Advisory
-
https://talosintelligence.com/vulnerability_reports/TALOS-2021-1415
TALOS-2021-1415 || Cisco Talos Intelligence Group - Comprehensive Threat IntelligenceExploit;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TUM5GIUZJ7AVHVCXDZW6ZVCAPV2ISN47/
[SECURITY] Fedora 36 Update: gerbv-2.9.2-1.fc36 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
Jump to