Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2019-1317

Active Important

ALAS2-2019-1317 (important): patch

Published
21 Oct 2019
Updated
07 Nov 2019

Related CVEs

CVE identifiers linked by this publisher.

4
Publisher relationship details 4 records
Explicit publisher CVE relationships
CVE
CVE-2016-10713
CVE-2018-20969
CVE-2018-6952
CVE-2019-13638

Description

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-2018-20969) GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a

Read full publisher description 1015 characters

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-2018-20969) 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 CVE-2018-1000156.(CVE-2019-13638) A heap-based out-of-bounds read flaw was found in the way the patch utility parsed patch files. An attacker could potentially use this flaw to crash the patch utility by tricking it into processing crafted patch files.(CVE-2016-10713) A double-free flaw was found in the way the patch utility processed patch files. An attacker could potentially use this flaw to crash the patch utility by tricking it into processing crafted patches.(CVE-2018-6952)

Solution

Run yum update patch or yum update --advisory ALAS2-2019-1317 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1patch

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • patch-2.7.1-12.amzn2.aarch64
    • patch-debuginfo-2.7.1-12.amzn2.aarch64
  2. 2patch

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • patch-2.7.1-12.amzn2.i686
    • patch-debuginfo-2.7.1-12.amzn2.i686
  3. 3patch

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • patch-2.7.1-12.amzn2.src
  4. 4patch

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • patch-2.7.1-12.amzn2.x86_64
    • patch-debuginfo-2.7.1-12.amzn2.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

8
  • CVE-2016-10713 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2016-10713
  • CVE-2018-20969 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-20969
  • CVE-2018-6952 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-6952
  • CVE-2019-13638 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-13638
  • CVE-2016-10713 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10713
  • CVE-2018-20969 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20969
  • CVE-2018-6952 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6952
  • CVE-2019-13638 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-13638

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2019-1317.htmlUnknownc35fc8901fdea29222d8bed1122177d6ae8abbf06eac0ded28e7b821301c2762amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2019-1317.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2019-1317.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected