VYPR

apk package

wolfi/patch

pkg:apk/wolfi/patch

Vulnerabilities (7)

  • CVE-2019-20633Mar 25, 2020
    affected < 2.7.6-r3fixed 2.7.6-r3

    GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.

  • CVE-2018-20969Aug 16, 2019
    affected < 2.7.6-r3fixed 2.7.6-r3

    do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.

  • CVE-2019-13638Jul 26, 2019
    affected < 2.7.6-r3fixed 2.7.6-r3

    GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an ed style diff payload with shell metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from C

  • CVE-2019-13636Jul 17, 2019
    affected < 2.7.6-r3fixed 2.7.6-r3

    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.

  • CVE-2018-1000156HigApr 6, 2018
    affected < 2.7.6-r3fixed 2.7.6-r3

    GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution. This attack appear to be exploitable via a patch file processed via the patch utility. This is simil

  • CVE-2018-6952HigFeb 13, 2018
    affected < 2.7.6-r3fixed 2.7.6-r3

    A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.

  • CVE-2018-6951HigFeb 13, 2018
    affected < 2.7.6-r3fixed 2.7.6-r3

    An issue was discovered in GNU patch through 2.7.6. There is a segmentation fault, associated with a NULL pointer dereference, leading to a denial of service in the intuit_diff_type function in pch.c, aka a "mangled rename" issue.