{"id":"CVE-2021-28905","aliases":["ALPINE-CVE-2021-28905","DEBIAN-CVE-2021-28905","EUVD-2021-15558","GHSA-qj7j-m28f-g68x","SUSE-SU-2022:2922-1","UBUNTU-CVE-2021-28905"],"status":"published","title":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can...","description":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can't be NULL. But in some cases, node-\u003emodule can be null, which triggers a reachable assertion (CWE-617).","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.01423,"percentile":0.73233,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-617"],"published":"2021-05-20T18:36:35Z","modified":"2026-11-03T06:32:38Z","fixes":[{"ecosystem":"Alpine:v3.13","package":"libyang","fixed_in":["1.0.184-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"libyang","fixed_in":["1.0.215-r1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libyang","fixed_in":["3.4.2+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libyang","fixed_in":["3.4.2+dfsg-2"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP3","package":"libyang","fixed_in":["1.0.184-150300.3.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP4","package":"libyang","fixed_in":["1.0.184-150300.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"libyang","fixed_in":["1.0.184-150300.3.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.4","package":"libyang","fixed_in":["1.0.184-150300.3.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.13","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.184-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.215-r1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2+dfsg-2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP3","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.184-150300.3.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP4","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.184-150300.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.184-150300.3.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.184-150300.3.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.105-1","0.16.105-2","0.16.105-3","0.16.105-3build1"]}],"products":[{"vendor":"cesnet","product":"libyang"}],"references":[{"url":"https://github.com/CESNET/libyang/issues/1452","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://security.gentoo.org/glsa/202107-54","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28905"},{"url":"https://github.com/advisories/GHSA-qj7j-m28f-g68x"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-28905","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-28905","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20222922-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1186377","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-28905","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-28905","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-28905","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-28905","description":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can't be NULL. But in some cases, node-\u003emodule can be null, which triggers a reachable assertion (CWE-617).","status":"published","published":"2021-05-20T18:36:35Z","modified":"2024-08-03T21:55:12.245Z","updated_at":"2026-11-02T14:33:08.811269Z"}],"euvd":[{"id":"EUVD-2021-15558","description":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can't be NULL. But in some cases, node-\u003emodule can be null, which triggers a reachable assertion (CWE-617).","status":"published","published":"2021-05-20T18:36:35Z","modified":"2024-08-03T21:55:12Z","updated_at":"2026-11-03T03:24:46.117926Z"}],"ghsa":[{"id":"GHSA-qj7j-m28f-g68x","title":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can...","description":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can't be NULL. But in some cases, node-\u003emodule can be null, which triggers a reachable assertion (CWE-617).","status":"published","published":"2022-05-24T19:02:50Z","modified":"2023-01-29T05:06:18Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-617"],"updated_at":"2026-11-02T14:45:59.496932Z"}],"nvd":[{"id":"CVE-2021-28905","description":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can't be NULL. But in some cases, node-\u003emodule can be null, which triggers a reachable assertion (CWE-617).","status":"published","published":"2021-05-20T19:15:07.71Z","modified":"2026-06-17T03:47:01.617Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-617"],"updated_at":"2026-11-02T14:06:53.987491Z"}],"osv":[{"id":"ALPINE-CVE-2021-28905","description":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can't be NULL. But in some cases, node-\u003emodule can be null, which triggers a reachable assertion (CWE-617).","status":"published","published":"2021-05-20T19:15:07.71Z","modified":"2026-11-03T06:32:38.931410787Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:17:20.312441Z"},{"id":"CVE-2021-28905","description":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can't be NULL. But in some cases, node-\u003emodule can be null, which triggers a reachable assertion (CWE-617).","status":"published","published":"2021-05-20T19:15:07.71Z","modified":"2026-10-20T10:54:36.471227477Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.129331Z"},{"id":"DEBIAN-CVE-2021-28905","description":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can't be NULL. But in some cases, node-\u003emodule can be null, which triggers a reachable assertion (CWE-617).","status":"published","published":"2021-05-20T19:15:07.71Z","modified":"2026-10-23T18:03:57.532990016Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.94143Z"},{"id":"UBUNTU-CVE-2021-28905","description":"In function lys_node_free() in libyang \u003c= v1.0.225, it asserts that the value of node-\u003emodule can't be NULL. But in some cases, node-\u003emodule can be null, which triggers a reachable assertion (CWE-617).","status":"published","published":"2021-05-20T19:15:00Z","modified":"2026-04-22T12:50:58.605994Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:26.779273Z"},{"id":"SUSE-SU-2022:2922-1","title":"Security update for libyang","description":"This update for libyang fixes the following issues:\n\n- CVE-2021-28905: Fixed a reachable assertion which could be exploited\n  by an attacker to cause a denial of service (bsc#1186377).\n","status":"published","published":"2022-08-26T14:20:12Z","modified":"2026-02-04T03:27:46.742326Z","updated_at":"2026-11-02T15:53:50.965375Z"}]}}
