Ubuntu update for libxml2



Published: 2022-12-05 | Updated: 2023-02-08
Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2022-2309
CVE-2022-40303
CVE-2022-40304
CWE-ID CWE-476
CWE-190
CWE-399
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

libxml2-utils (Ubuntu package)
Operating systems & Components / Operating system package or component

libxml2 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) NULL pointer dereference

EUVDB-ID: #VU66813

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-2309

CWE-ID: CWE-476 - NULL Pointer Dereference

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error within the iterwalk() function. A remote attacker can pass specially crafted XML data to the application and perform a denial of service (DoS) attack.

Mitigation

Update the affected package libxml2 to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

libxml2-utils (Ubuntu package): before 2.9.14+dfsg-1ubuntu0.1

libxml2 (Ubuntu package): before 2.9.14+dfsg-1ubuntu0.1

External links

http://ubuntu.com/security/notices/USN-5760-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Integer overflow

EUVDB-ID: #VU68828

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-40303

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in parse.c when processing content when XML_PARSE_HUGE is set. A remote attacker can pass specially crafted data to the application, trigger an integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected package libxml2 to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

libxml2-utils (Ubuntu package): before 2.9.14+dfsg-1ubuntu0.1

libxml2 (Ubuntu package): before 2.9.14+dfsg-1ubuntu0.1

External links

http://ubuntu.com/security/notices/USN-5760-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Resource management error

EUVDB-ID: #VU68829

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-40304

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists in entities.c due to the way libxml2 handles reference cycles. The library does not anticipate that entity content can be allocated from a dict and clears it upon reference cycle detection by setting its first byte to zero. This can lead to memory corruption  issues, such as double free errors and result in a denial of service.

Mitigation

Update the affected package libxml2 to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.10

libxml2-utils (Ubuntu package): before 2.9.14+dfsg-1ubuntu0.1

libxml2 (Ubuntu package): before 2.9.14+dfsg-1ubuntu0.1

External links

http://ubuntu.com/security/notices/USN-5760-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###