Bug 1872642 (CVE-2020-15692) - CVE-2020-15692 nim: mishandling the URL argument to browsers.openDefaultBrowser could lead to arbitrary command execution
Summary: CVE-2020-15692 nim: mishandling the URL argument to browsers.openDefaultBrows...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-15692
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1872643
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-26 09:35 UTC by Marian Rehak
Modified: 2020-08-26 13:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-26 13:17:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2020-08-26 09:35:20 UTC
In Nim 1.2.4, the standard library browsers mishandles the URL argument to browsers.openDefaultBrowser. This argument can be a local file path that will be opened in the default explorer. An attacker can pass one argument to the underlying open command to execute arbitrary registered system commands.

Upstream patch:

https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/browsers.nim#L48

Comment 1 Marian Rehak 2020-08-26 09:35:47 UTC
Created nim tracking bugs for this issue:

Affects: fedora-all [bug 1872643]

Comment 2 Product Security DevOps Team 2020-08-26 13:17:35 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.