{"id":"CVE-2021-28905","state":"PUBLISHED","title":"In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. But in some cases, node->module can be null, which triggers a reachable","description":"In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. But in some cases, node->module can be null, which triggers a reachable assertion (CWE-617).","publishedAt":"2021-05-20T18:36:35.000Z","updatedAt":"2024-08-03T21:55:12.245Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/CESNET/libyang/issues/1452","https://security.gentoo.org/glsa/202107-54"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:19.096Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/28xxx/CVE-2021-28905.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-28905","state":"PUBLISHED","datePublished":"2021-05-20T18:36:35.000Z","dateUpdated":"2024-08-03T21:55:12.245Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-03-19T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. But in some cases, node->module can be null, which triggers a reachable assertion (CWE-617)."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/CESNET/libyang/issues/1452","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202107-54","name":"GLSA-202107-54","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-07-24T04:06:38.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2021-03-08T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-28905","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. But in some cases, node->module can be null, which triggers a reachable assertion (CWE-617)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/CESNET/libyang/issues/1452","refsource":"CONFIRM","url":"https://github.com/CESNET/libyang/issues/1452"},{"name":"GLSA-202107-54","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202107-54"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/CESNET/libyang/issues/1452","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202107-54","name":"GLSA-202107-54","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T21:55:12.245Z"}}]}}}