Lucene search

K
ubuntucveUbuntu.comUB:CVE-2021-28903
HistoryMay 20, 2021 - 12:00 a.m.

CVE-2021-28903

2021-05-2000:00:00
ubuntu.com
ubuntu.com
10
libyang
denial of service
stack overflow
lyxml_parse_mem
lyxml_parse_elem
recursion limit
unix

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.001

Percentile

45.7%

A stack overflow in libyang <= v1.0.225 can cause a denial of service
through function lyxml_parse_mem(). lyxml_parse_elem() function will be
called recursively, which will consume stack space and lead to crash.

Notes

Author Note
sbeattie fix introduces hard recursion limit
OSVersionArchitecturePackageVersionFilename
ubuntu20.04noarchlibyang< anyUNKNOWN
ubuntu22.04noarchlibyang< 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.001

Percentile

45.7%