Lucene search

K
amazonAmazonALAS2-2020-1513
HistoryOct 22, 2020 - 5:32 p.m.

Medium: expat

2020-10-2217:32:00
alas.aws.amazon.com
66
xml parser
memory consumption
denial of service
dtd parsing
buffer over-read
amazon linux 2
update

CVSS2

7.8

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

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

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

8.6

Confidence

High

EPSS

0.582

Percentile

97.8%

Issue Overview:

It was discovered that the “setElementTypePrefix()” function incorrectly extracted XML namespace prefixes. By tricking an application into processing a specially crafted XML file, an attacker could cause unusually high consumption of memory resources and possibly lead to a denial of service. (CVE-2018-20843)

In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutive call to XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber) then resulted in a heap-based buffer over-read. (CVE-2019-15903)

Affected Packages:

expat

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 expat to update your system.

New Packages:

aarch64:  
    expat-2.1.0-12.amzn2.aarch64  
    expat-devel-2.1.0-12.amzn2.aarch64  
    expat-static-2.1.0-12.amzn2.aarch64  
    expat-debuginfo-2.1.0-12.amzn2.aarch64  
  
i686:  
    expat-2.1.0-12.amzn2.i686  
    expat-devel-2.1.0-12.amzn2.i686  
    expat-static-2.1.0-12.amzn2.i686  
    expat-debuginfo-2.1.0-12.amzn2.i686  
  
src:  
    expat-2.1.0-12.amzn2.src  
  
x86_64:  
    expat-2.1.0-12.amzn2.x86_64  
    expat-devel-2.1.0-12.amzn2.x86_64  
    expat-static-2.1.0-12.amzn2.x86_64  
    expat-debuginfo-2.1.0-12.amzn2.x86_64  

Additional References

Red Hat: CVE-2018-20843, CVE-2019-15903

Mitre: CVE-2018-20843, CVE-2019-15903

CVSS2

7.8

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

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

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

AI Score

8.6

Confidence

High

EPSS

0.582

Percentile

97.8%