Bug 1732781 (CVE-2019-13636) - CVE-2019-13636 patch: the following of symlinks in inp.c and util.c is mishandled in cases other than input files
Summary: CVE-2019-13636 patch: the following of symlinks in inp.c and util.c is mishan...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-13636
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: 1732842 1733564 1733565
Blocks: 1731850
TreeView+ depends on / blocked
 
Reported: 2019-07-24 10:54 UTC by Marian Rehak
Modified: 2023-10-06 18:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:33:30 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1852 0 None None None 2020-04-28 16:00:03 UTC

Description Marian Rehak 2019-07-24 10:54:18 UTC
In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than input files. This affects inp.c and util.c.

Upstream patch:

https://git.savannah.gnu.org/cgit/patch.git/commit/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a

Comment 2 Marian Rehak 2019-07-24 13:49:35 UTC
Created patch tracking bugs for this issue:

Affects: fedora-all [bug 1732842]

Comment 9 Marco Benatto 2019-07-26 17:33:21 UTC
There is a flaw on patch package. When applying patch files patch application follows symlinks by default, even with no --follow-symlinks option being used. This can be used by an attacker to access other filesystem files other than the expected one via a crafted patch file.

Comment 10 errata-xmlrpc 2020-04-28 16:00:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 11 Product Security DevOps Team 2020-04-28 16:33:30 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-2019-13636


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