Lucene search

K
amazonAmazonALAS2-2021-1647
HistoryJun 16, 2021 - 8:36 p.m.

Medium: systemd

2021-06-1620:36:00
alas.aws.amazon.com
48
systemd
vulnerability
state injection
memory leak
cve-2018-15686
cve-2018-16866
cve-2019-20386
cve-2019-3815
red hat
mitre
amazon linux

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

7

Confidence

Low

EPSS

0.003

Percentile

71.4%

Issue Overview:

It was discovered that systemd is vulnerable to a state injection attack when deserializing the state of a service. Properties longer than LINE_MAX are not correctly parsed and an attacker may abuse this flaw in particularly configured services to inject, change, or corrupt the service state. (CVE-2018-15686)

An out of bounds read was discovered in systemd-journald in the way it parses log messages that terminate with a colon ‘:’. A local attacker can use this flaw to disclose process memory data. (CVE-2018-16866)

A memory leak was discovered in the systemd-login when a power-switch event is received. A physical attacker may trigger one of these events and leak bytes due to a missing free. (CVE-2019-20386)

A memory leak was discovered in the backport of fixes for CVE-2018-16864 in Red Hat Enterprise Linux. Function dispatch_message_real() in journald-server.c does not free the memory allocated by set_iovec_field_free() to store the _CMDLINE= entry. A local attacker may use this flaw to make systemd-journald crash. (CVE-2019-3815)

Affected Packages:

systemd

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update systemd to update your system.

New Packages:

aarch64:  
    systemd-219-78.amzn2.0.14.aarch64  
    systemd-libs-219-78.amzn2.0.14.aarch64  
    systemd-devel-219-78.amzn2.0.14.aarch64  
    systemd-sysv-219-78.amzn2.0.14.aarch64  
    systemd-python-219-78.amzn2.0.14.aarch64  
    libgudev1-219-78.amzn2.0.14.aarch64  
    libgudev1-devel-219-78.amzn2.0.14.aarch64  
    systemd-journal-gateway-219-78.amzn2.0.14.aarch64  
    systemd-networkd-219-78.amzn2.0.14.aarch64  
    systemd-resolved-219-78.amzn2.0.14.aarch64  
    systemd-debuginfo-219-78.amzn2.0.14.aarch64  
  
i686:  
    systemd-219-78.amzn2.0.14.i686  
    systemd-libs-219-78.amzn2.0.14.i686  
    systemd-devel-219-78.amzn2.0.14.i686  
    systemd-sysv-219-78.amzn2.0.14.i686  
    systemd-python-219-78.amzn2.0.14.i686  
    libgudev1-219-78.amzn2.0.14.i686  
    libgudev1-devel-219-78.amzn2.0.14.i686  
    systemd-journal-gateway-219-78.amzn2.0.14.i686  
    systemd-networkd-219-78.amzn2.0.14.i686  
    systemd-resolved-219-78.amzn2.0.14.i686  
    systemd-debuginfo-219-78.amzn2.0.14.i686  
  
src:  
    systemd-219-78.amzn2.0.14.src  
  
x86_64:  
    systemd-219-78.amzn2.0.14.x86_64  
    systemd-libs-219-78.amzn2.0.14.x86_64  
    systemd-devel-219-78.amzn2.0.14.x86_64  
    systemd-sysv-219-78.amzn2.0.14.x86_64  
    systemd-python-219-78.amzn2.0.14.x86_64  
    libgudev1-219-78.amzn2.0.14.x86_64  
    libgudev1-devel-219-78.amzn2.0.14.x86_64  
    systemd-journal-gateway-219-78.amzn2.0.14.x86_64  
    systemd-networkd-219-78.amzn2.0.14.x86_64  
    systemd-resolved-219-78.amzn2.0.14.x86_64  
    systemd-debuginfo-219-78.amzn2.0.14.x86_64  

Additional References

Red Hat: CVE-2018-15686, CVE-2018-16866, CVE-2019-20386, CVE-2019-3815

Mitre: CVE-2018-15686, CVE-2018-16866, CVE-2019-20386, CVE-2019-3815

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

7

Confidence

Low

EPSS

0.003

Percentile

71.4%