Out-of-Bounds Affecting patch package, versions <2.7.6-1


low

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Availability High

    Threat Intelligence

    EPSS 0.2% (58th percentile)
Expand this section
NVD
5.5 medium
Expand this section
Red Hat
3.3 low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN11-PATCH-519374
  • published 13 Feb 2018
  • disclosed 13 Feb 2018

How to fix?

Upgrade Debian:11 patch to version 2.7.6-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream patch package and not the patch package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

An issue was discovered in GNU patch before 2.7.6. Out-of-bounds access within pch_write_line() in pch.c can possibly lead to DoS via a crafted input file.