Lucene search

K
ubuntucveUbuntu.comUB:CVE-2022-2309
HistoryJul 05, 2022 - 12:00 a.m.

CVE-2022-2309

2022-07-0500:00:00
ubuntu.com
ubuntu.com
41
null pointer dereference
denial of service
application crash
lxml
libxml2 2.9.10
libxml2 2.9.14
iterwalk function
forged input data
vulnerable code sequence
iterparse function
xml converter
c14n
untrusted input

CVSS2

5

Attack Vector

NETWORK

Attack 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

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

EPSS

0.005

Percentile

75.5%

NULL Pointer Dereference allows attackers to cause a denial of service (or
application crash). This only applies when lxml is used together with
libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected.
It allows triggering crashes through forged input data, given a vulnerable
code sequence in the application. The vulnerability is caused by the
iterwalk function (also used by the canonicalize function). Such code
shouldn’t be in wide-spread use, given that parsing + iterwalk would
usually be replaced with the more efficient iterparse function. However, an
XML converter that serialises to C14N would also be vulnerable, for
example, and there are legitimate use cases for this code sequence. If
untrusted input is received (also remotely) and processed via iterwalk
function, a crash can be triggered.

Bugs

OSVersionArchitecturePackageVersionFilename
ubuntu20.04noarchlibxml2< 2.9.10+dfsg-5ubuntu0.20.04.5UNKNOWN
ubuntu22.04noarchlibxml2< 2.9.13+dfsg-1ubuntu0.2UNKNOWN
ubuntu22.10noarchlibxml2< 2.9.14+dfsg-1ubuntu0.1UNKNOWN
ubuntu23.04noarchlibxml2< 2.9.14+dfsg-1.1ubuntu0.1UNKNOWN
ubuntu18.04noarchlxml< anyUNKNOWN
ubuntu20.04noarchlxml< anyUNKNOWN
ubuntu22.04noarchlxml< anyUNKNOWN
ubuntu14.04noarchlxml< anyUNKNOWN
ubuntu16.04noarchlxml< anyUNKNOWN

CVSS2

5

Attack Vector

NETWORK

Attack 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

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

EPSS

0.005

Percentile

75.5%