Bug 1611613 (CVE-2017-18869) - CVE-2017-18869 nodejs-chownr: TOCTOU vulnerability in `chownr` function in chownr.js
Summary: CVE-2017-18869 nodejs-chownr: TOCTOU vulnerability in `chownr` function in ch...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-18869
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: 1612067 1612068
Blocks: 1611614
TreeView+ depends on / blocked
 
Reported: 2018-08-02 13:15 UTC by Pedro Sampaio
Modified: 2020-06-19 05:20 UTC (History)
16 users (show)

Fixed In Version: nodejs-chownr 1.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-19 05:20:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:2625 0 None None None 2020-06-19 03:44:19 UTC

Description Pedro Sampaio 2018-08-02 13:15:26 UTC
Affected versions of chownr are vulnerable to Time of Check Time of Use (TOCTOU). It does not dereference symbolic links and changes the owner of the link.

Upstream bug:

https://github.com/isaacs/chownr/issues/14

Upstream patch:

https://github.com/simevo/chownr/commit/0307bb7520c856f3e586815959141103ed7590c4

References:

https://snyk.io/vuln/npm:chownr:20180731
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863985#10

Comment 2 errata-xmlrpc 2020-06-19 03:44:16 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS

Via RHSA-2020:2625 https://access.redhat.com/errata/RHSA-2020:2625

Comment 3 Product Security DevOps Team 2020-06-19 05:20:29 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2017-18869


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