Bug 1192949 - (CVE-2021-40391) VUL-0: CVE-2021-40391: gerbv: out-of-bounds write in the drill format T-code tool number functionality
(CVE-2021-40391)
VUL-0: CVE-2021-40391: gerbv: out-of-bounds write in the drill format T-code ...
Status: NEW
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Security
Leap 15.3
Other Other
: P3 - Medium : Normal (vote)
: ---
Assigned To: Wojciech Kazubski
Security Team bot
https://smash.suse.de/issue/315433/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-22 13:33 UTC by Thomas Leroy
Modified: 2022-05-04 09:42 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Leroy 2021-11-22 13:33:48 UTC
CVE-2021-40391

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.

Upstream commit:
https://github.com/gerbv/gerbv/commit/672214abb47a802fc000125996e6e0a46c623a4e

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-40391
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40391
https://www.talosintelligence.com/vulnerability_reports/TALOS-2021-1402
https://github.com/gerbv/gerbv/issues/30
Comment 1 Thomas Leroy 2021-11-22 14:54:43 UTC
Affected codestreams:
- openSUSE:Backports:SLE-15-SP1:Update
- openSUSE:Backports:SLE-15-SP2:Update
- openSUSE:Backports:SLE-15-SP3:Update
- openSUSE:Leap:15.2:Update
- openSUSE:Factory
Comment 2 Christophe Marin 2022-05-04 09:42:58 UTC
https://build.opensuse.org/request/show/974875 submitted to the devel project