7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
8 High
AI Score
Confidence
High
5 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:N/A:P
0.003 Low
EPSS
Percentile
68.4%
Issue Overview:
An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault. (CVE-2022-40303)
An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked. (CVE-2022-40304)
Affected Packages:
libxml2
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 libxml2 to update your system.
New Packages:
aarch64:
libxml2-2.9.1-6.amzn2.5.7.aarch64
libxml2-devel-2.9.1-6.amzn2.5.7.aarch64
libxml2-static-2.9.1-6.amzn2.5.7.aarch64
libxml2-python-2.9.1-6.amzn2.5.7.aarch64
libxml2-debuginfo-2.9.1-6.amzn2.5.7.aarch64
i686:
libxml2-2.9.1-6.amzn2.5.7.i686
libxml2-devel-2.9.1-6.amzn2.5.7.i686
libxml2-static-2.9.1-6.amzn2.5.7.i686
libxml2-python-2.9.1-6.amzn2.5.7.i686
libxml2-debuginfo-2.9.1-6.amzn2.5.7.i686
src:
libxml2-2.9.1-6.amzn2.5.7.src
x86_64:
libxml2-2.9.1-6.amzn2.5.7.x86_64
libxml2-devel-2.9.1-6.amzn2.5.7.x86_64
libxml2-static-2.9.1-6.amzn2.5.7.x86_64
libxml2-python-2.9.1-6.amzn2.5.7.x86_64
libxml2-debuginfo-2.9.1-6.amzn2.5.7.x86_64
Red Hat: CVE-2022-40303, CVE-2022-40304
Mitre: CVE-2022-40303, CVE-2022-40304
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 2 | aarch64 | libxml2 | < 2.9.1-6.amzn2.5.7 | libxml2-2.9.1-6.amzn2.5.7.aarch64.rpm |
Amazon Linux | 2 | aarch64 | libxml2-devel | < 2.9.1-6.amzn2.5.7 | libxml2-devel-2.9.1-6.amzn2.5.7.aarch64.rpm |
Amazon Linux | 2 | aarch64 | libxml2-static | < 2.9.1-6.amzn2.5.7 | libxml2-static-2.9.1-6.amzn2.5.7.aarch64.rpm |
Amazon Linux | 2 | aarch64 | libxml2-python | < 2.9.1-6.amzn2.5.7 | libxml2-python-2.9.1-6.amzn2.5.7.aarch64.rpm |
Amazon Linux | 2 | aarch64 | libxml2-debuginfo | < 2.9.1-6.amzn2.5.7 | libxml2-debuginfo-2.9.1-6.amzn2.5.7.aarch64.rpm |
Amazon Linux | 2 | i686 | libxml2 | < 2.9.1-6.amzn2.5.7 | libxml2-2.9.1-6.amzn2.5.7.i686.rpm |
Amazon Linux | 2 | i686 | libxml2-devel | < 2.9.1-6.amzn2.5.7 | libxml2-devel-2.9.1-6.amzn2.5.7.i686.rpm |
Amazon Linux | 2 | i686 | libxml2-static | < 2.9.1-6.amzn2.5.7 | libxml2-static-2.9.1-6.amzn2.5.7.i686.rpm |
Amazon Linux | 2 | i686 | libxml2-python | < 2.9.1-6.amzn2.5.7 | libxml2-python-2.9.1-6.amzn2.5.7.i686.rpm |
Amazon Linux | 2 | i686 | libxml2-debuginfo | < 2.9.1-6.amzn2.5.7 | libxml2-debuginfo-2.9.1-6.amzn2.5.7.i686.rpm |
7.8 High
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
8 High
AI Score
Confidence
High
5 Medium
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:N/A:P
0.003 Low
EPSS
Percentile
68.4%