Lucene search

K
amazonAmazonALAS2-2022-1877
HistoryOct 31, 2022 - 7:40 p.m.

Important: expat

2022-10-3119:40:00
alas.aws.amazon.com
17

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

8.7 High

AI Score

Confidence

High

5.1 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:N/C:P/I:P/A:P

0.005 Low

EPSS

Percentile

76.9%

Issue Overview:

A vulnerability was found in expat. With this flaw, it is possible to create a situation in which parsing is suspended while substituting in an internal entity so that XML_ResumeParser directly uses the internalEntityProcessor as its processor. If the subsequent parse includes some unclosed tags, this will return without calling storeRawNames to ensure that the raw versions of the tag names are stored in memory other than the parse buffer itself. Issues occur if the parse buffer is changed or reallocated (for example, if processing a file line by line), problems occur. Using this vulnerability in the doContent function allows an attacker to triage a denial of service or potentially arbitrary code execution. (CVE-2022-40674)

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-15.amzn2.0.1.aarch64  
    expat-devel-2.1.0-15.amzn2.0.1.aarch64  
    expat-static-2.1.0-15.amzn2.0.1.aarch64  
    expat-debuginfo-2.1.0-15.amzn2.0.1.aarch64  
  
i686:  
    expat-2.1.0-15.amzn2.0.1.i686  
    expat-devel-2.1.0-15.amzn2.0.1.i686  
    expat-static-2.1.0-15.amzn2.0.1.i686  
    expat-debuginfo-2.1.0-15.amzn2.0.1.i686  
  
src:  
    expat-2.1.0-15.amzn2.0.1.src  
  
x86_64:  
    expat-2.1.0-15.amzn2.0.1.x86_64  
    expat-devel-2.1.0-15.amzn2.0.1.x86_64  
    expat-static-2.1.0-15.amzn2.0.1.x86_64  
    expat-debuginfo-2.1.0-15.amzn2.0.1.x86_64  

Additional References

Red Hat: CVE-2022-40674

Mitre: CVE-2022-40674

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

8.7 High

AI Score

Confidence

High

5.1 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:N/C:P/I:P/A:P

0.005 Low

EPSS

Percentile

76.9%