Bug 1347225 (CVE-2016-1000021) - CVE-2016-1000021 nodejs-cli: Insecure use of temporary files
Summary: CVE-2016-1000021 nodejs-cli: Insecure use of temporary files
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2016-1000021
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1347226 1347227
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-16 10:42 UTC by Adam Mariš
Modified: 2021-02-17 03:42 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-06-16 10:43:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2016-06-16 10:42:29 UTC
It was found that node-cli insecurely uses the lock_file and log_file. Both of these are temporary, but it allows the starting user to overwrite any file they have access to.

lock_file = '/tmp/' + cli.app + '.pid',
log_file = '/tmp/' + cli.app + '.log';

External References:

https://nodesecurity.io/advisories/95

Comment 1 Adam Mariš 2016-06-16 10:42:55 UTC
Created nodejs-cli tracking bugs for this issue:

Affects: fedora-all [bug 1347226]
Affects: epel-all [bug 1347227]


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