ID CVE-2019-13636
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:gnu:patch:2.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.5.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.5.9:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.5.9:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.6:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.6:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.7:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.7:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.7.2:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.7.2:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.7.3:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.7.3:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.7.4:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.7.4:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.7.5:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.7.5:*:*:*:*:*:*:*
  • cpe:2.3:a:gnu:patch:2.7.6:*:*:*:*:*:*:*
    cpe:2.3:a:gnu:patch:2.7.6:*:*:*:*:*:*:*
CVSS
Base: 5.8 (as of 24-07-2019 - 17:15)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:M/Au:N/C:N/I:P/A:P
redhat via4
advisories
bugzilla
id 1732781
title CVE-2019-13636 patch: the following of symlinks in inp.c and util.c is mishandled in cases other than input files
oval
OR
  • comment Red Hat Enterprise Linux must be installed
    oval oval:com.redhat.rhba:tst:20070304026
  • AND
    • comment Red Hat Enterprise Linux 8 is installed
      oval oval:com.redhat.rhba:tst:20193384074
    • OR
      • AND
        • comment patch is earlier than 0:2.7.6-11.el8
          oval oval:com.redhat.rhsa:tst:20201852001
        • comment patch is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20181199002
      • AND
        • comment patch-debugsource is earlier than 0:2.7.6-11.el8
          oval oval:com.redhat.rhsa:tst:20201852003
        • comment patch-debugsource is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20192798004
rhsa
id RHSA-2020:1852
released 2020-04-28
severity Moderate
title RHSA-2020:1852: patch security and bug fix update (Moderate)
rpms
  • patch-0:2.7.6-11.el8
  • patch-debuginfo-0:2.7.6-11.el8
  • patch-debugsource-0:2.7.6-11.el8
refmap via4
bugtraq
  • 20190730 [SECURITY] [DSA 4489-1] patch security update
  • 20190816 Details about recent GNU patch vulnerabilities
confirm https://security.netapp.com/advisory/ntap-20190828-0001/
debian DSA-4489
fedora FEDORA-2019-ac709da87f
gentoo GLSA-201908-22
misc
mlist [debian-lts-announce] 20190719 [SECURITY] [DLA 1856-1] patch security update
ubuntu
  • USN-4071-1
  • USN-4071-2
Last major update 24-07-2019 - 17:15
Published 17-07-2019 - 21:15
Last modified 24-07-2019 - 17:15
Back to Top