{"api_version":"1","generated_at":"2026-07-23T13:49:55+00:00","cve":"CVE-2021-40391","urls":{"html":"https://cve.report/CVE-2021-40391","api":"https://cve.report/api/cve/CVE-2021-40391.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40391","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40391"},"summary":{"title":"CVE-2021-40391","description":"An out-of-bounds write vulnerability exists in the drill format T-code tool number functionality of Gerbv 2.7.0, dev (commit b5f1eacd), and the forked version of Gerbv (commit 71493260). A specially-crafted drill file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.","state":"PUBLIC","assigner":"talos-cna@cisco.com","published_at":"2021-11-19 19:15:00","updated_at":"2023-11-07 03:38:00"},"problem_types":["CWE-787","CWE-755"],"metrics":[],"references":[{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1402","name":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1402","refsource":"MISC","tags":[],"title":"TALOS-2021-1402 ||  Cisco Talos Intelligence Group - Comprehensive Threat Intelligence","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00003.html","name":"[debian-lts-announce] 20211203 [SECURITY] [DLA 2839-1] gerbv security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2839-1] gerbv security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TUM5GIUZJ7AVHVCXDZW6ZVCAPV2ISN47/","name":"FEDORA-2022-4a3ef86baa","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: gerbv-2.9.2-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUM5GIUZJ7AVHVCXDZW6ZVCAPV2ISN47/","name":"FEDORA-2022-4a3ef86baa","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: gerbv-2.9.2-1.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-40391","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40391","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"40391","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40391","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40391","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gerbv_project","cpe5":"gerbv","cpe6":"2.7.0","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40391","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gerbv_project","cpe5":"gerbv","cpe6":"2.7.0","cpe7":"dev","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"40391","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gerbv_project","cpe5":"gerbv","cpe6":"2.7.0","cpe7":"forked_dev","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-40391","qid":"178926","title":"Debian Security Update for gerbv (DLA 2839-1)"},{"cve":"CVE-2021-40391","qid":"179620","title":"Debian Security Update for gerbv (CVE-2021-40391)"},{"cve":"CVE-2021-40391","qid":"282925","title":"Fedora Security Update for gerbv (FEDORA-2022-4a3ef86baa)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-40391","ASSIGNER":"talos-cna@cisco.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Gerbv","version":{"version_data":[{"version_value":"Gerbv 2.7.0 , Gerbv dev (commit b5f1eacd) ,Gerbv forked dev (commit 71493260)"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-390: Detection of Error Condition Without Action"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1402","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1402"},{"refsource":"MLIST","name":"[debian-lts-announce] 20211203 [SECURITY] [DLA 2839-1] gerbv security update","url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00003.html"},{"refsource":"FEDORA","name":"FEDORA-2022-4a3ef86baa","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TUM5GIUZJ7AVHVCXDZW6ZVCAPV2ISN47/"}]},"description":{"description_data":[{"lang":"eng","value":"An out-of-bounds write vulnerability exists in the drill format T-code tool number functionality of Gerbv 2.7.0, dev (commit b5f1eacd), and the forked version of Gerbv (commit 71493260). A specially-crafted drill file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability."}]},"impact":{"cvss":{"baseScore":10,"baseSeverity":null,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.0"}}},"nvd":{"publishedDate":"2021-11-19 19:15:00","lastModifiedDate":"2023-11-07 03:38:00","problem_types":["CWE-787","CWE-755"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gerbv_project:gerbv:2.7.0:-:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gerbv_project:gerbv:2.7.0:forked_dev:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gerbv_project:gerbv:2.7.0:dev:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"40391","Ordinal":"216125","Title":"CVE-2021-40391","CVE":"CVE-2021-40391","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"40391","Ordinal":"1","NoteData":"An out-of-bounds write vulnerability exists in the drill format T-code tool number functionality of Gerbv 2.7.0, dev (commit b5f1eacd), and the forked version of Gerbv (commit 71493260). A specially-crafted drill file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"40391","Ordinal":"2","NoteData":"2021-11-19","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"40391","Ordinal":"3","NoteData":"2021-12-03","Type":"Other","Title":"Modified"}]}}}