Cesnet
Monthly
Freeing the pointer returned by libyang's in-memory input helpers can hand an interior heap address to free() and abort the host process. libyang through 6.4.13 is affected: after any read advances the input cursor, ly_in_memory() and ly_in_memory_chunk() return in->current rather than in->start, so applications that parse YANG data from a heap buffer and later release the returned pointer crash rather than continue. Impact is availability only (no code execution, no data disclosure); the flaw requires a caller that actually frees that pointer, exploitation is rated difficult (AV:N/AC:H/AT:P in the assessed CVSS:3.1 vector), and no public exploit code was identified at time of analysis. The upstream fix is PR #2641 / commit 76c8009e.
Heap buffer overflow in the Forwarder output plugin of CESNET ipfixcol2 (versions 2.3.0 through 2.8.x) lets unauthenticated IPFIX exporters crash a collector and perform constrained 2-byte writes to attacker-influenced addresses. An exporter that sends near-65535-byte data sets and large templates wraps the plugin's uint16_t message length and buffer-position counters, so out-of-bounds writes occur while reassembling a message for TCP forwarding. Exploitation requires the Forwarder output plugin to be enabled and forwarding over TCP; no public exploit code was identified at time of analysis and the issue is not in CISA KEV, though the vendor has released a fixed version (2.9.0) and the assessed impact is high availability loss with limited integrity impact.
Heap-based buffer overflow in CESNET ipfixcol2 2.7.1 through versions before 2.9.0 lets an unauthenticated remote IPFIX/TCP peer write past heap buffers by declaring a small ring buffer_size and a larger decompressed_size during LZ4 decompression, crashing the collector. The flaw requires the TCP input plugin with LZ4 decompression to be active and reachable; confirmed impact is denial of service, not confidentiality or integrity loss. No public exploit identified at time of analysis, and no CISA KEV entry is present.
In CESNET libyang through 6.4.13, ly_out_reset() in src/out.c rewinds a seekable output target but can skip the accompanying truncate, so bytes written for an earlier client survive into the output produced for a later one. The flaw only surfaces in deployments that reuse a single ly_out handler across clients or requests writing to a regular file or FILE* stream, and only when a stale ESPIPE value lingers in errno while the seek itself succeeds; it discloses residual bytes rather than attacker-chosen data. Severity is rated 6.3 (CVSS 4.0) and the issue is assessed as a genuine but low-urgency information-disclosure problem (CWE-459, incomplete cleanup) with no confirmed active exploitation (CISA KEV) and no public exploit identified at time of analysis; an upstream fix is available as a pull request and commit.
A file descriptor leak in libyang through 6.4.13 lets an attacker who can feed files into the library's by-path parsers (lyd_parse_data_path() or lys_parse_path()) exhaust a process's descriptor table and cause subsequent file and socket operations to fail. The leak occurs in ly_in_new_filepath() and ly_in_filepath() in src/in.c when opening or mapping the supplied file fails - the vendor's own test exercises it with an empty file and with an unopenable path - so repeated submission of such files accumulates leaked descriptors. Impact is limited to availability of the consuming process (no confidentiality or integrity effect), no public exploit code was identified at time of analysis, and an upstream fix commit is available.
Wrong-status-code handling in CESNET libyang through 6.4.13 causes ly_in_filepath() in src/in.c to report success when the requested file cannot be opened or mmap'd, so a reused struct ly_in input handler keeps serving the previously loaded file's mapped bytes. Applications that switch a shared handler to a new path and trust the return value can therefore parse stale data as if it were the requested input, giving limited confidentiality and integrity impact (CVSS 6.3; assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:N/C:L/I:L/A:N). Exploitation is gated on a specific handler-reuse code path in the consuming application plus attacker influence over the switched filepath rather than on privileges; no public exploit code was identified at the time of analysis and the issue is not in CISA KEV, with an upstream fix commit available.
Memory exhaustion in CESNET ipfixcol2 2.7.1 through 2.8.x lets unauthenticated remote attackers drive the collector out of memory by sending TCP LZ4 start headers that declare an arbitrarily large ring buffer size, with the code permitting allocations of up to 4 GiB per connection before any data is decoded. The flaw sits in Lz4Decoder::read_start_header() and only affects deployments that expose the TCP input plugin and use its LZ4-compressed input path; collectors reachable only from trusted networks are far less exposed. Severity is moderate and availability-only (CVSS 4.0 base 6.9, assessed as AV:N/AC:L/PR:N/UI:N with A:L), sustained impact depends on the attacker opening repeated connections against available host memory, and no public exploit code or confirmed active exploitation was identified at time of analysis. Vendor-released patch: 2.9.0, which rejects buffer sizes of zero or greater than 1 MiB.
Authenticated NETCONF peers can crash libyang-based servers such as netopeer2 by sending an rpc <action> envelope containing non-whitespace character data to lyd_parse_op(), causing an uninitialized pointer free in lydxml_env_netconf_rpc() and possible heap corruption. The issue affects libyang through 6.4.13 and is a moderate-priority, authenticated denial-of-service flaw: exploitation requires an established NETCONF session, and whether the result is a reliable crash or heap corruption depends on memory state (AC:H/AT:P). No CISA KEV entry or confirmed working exploit code is described in the supplied data; a public technical writeup is referenced, and a vendor patch commit is available.
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
In function read_yin_leaf() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
In function ext_get_plugin() in libyang <= v1.0.225, it doesn't check whether the value of revision is NULL. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
A stack overflow in libyang <= v1.0.225 can cause a denial of service through function lyxml_parse_mem(). Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
In function read_yin_container() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
In Perun before version 3.9.1, VO or group manager can modify configuration of the LDAP extSource to retrieve all from Perun LDAP. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
The proxystatistics module before 3.1.0 for SimpleSAMLphp allows SQL Injection in lib/Auth/Process/DatabaseCommand.php. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
Freeing the pointer returned by libyang's in-memory input helpers can hand an interior heap address to free() and abort the host process. libyang through 6.4.13 is affected: after any read advances the input cursor, ly_in_memory() and ly_in_memory_chunk() return in->current rather than in->start, so applications that parse YANG data from a heap buffer and later release the returned pointer crash rather than continue. Impact is availability only (no code execution, no data disclosure); the flaw requires a caller that actually frees that pointer, exploitation is rated difficult (AV:N/AC:H/AT:P in the assessed CVSS:3.1 vector), and no public exploit code was identified at time of analysis. The upstream fix is PR #2641 / commit 76c8009e.
Heap buffer overflow in the Forwarder output plugin of CESNET ipfixcol2 (versions 2.3.0 through 2.8.x) lets unauthenticated IPFIX exporters crash a collector and perform constrained 2-byte writes to attacker-influenced addresses. An exporter that sends near-65535-byte data sets and large templates wraps the plugin's uint16_t message length and buffer-position counters, so out-of-bounds writes occur while reassembling a message for TCP forwarding. Exploitation requires the Forwarder output plugin to be enabled and forwarding over TCP; no public exploit code was identified at time of analysis and the issue is not in CISA KEV, though the vendor has released a fixed version (2.9.0) and the assessed impact is high availability loss with limited integrity impact.
Heap-based buffer overflow in CESNET ipfixcol2 2.7.1 through versions before 2.9.0 lets an unauthenticated remote IPFIX/TCP peer write past heap buffers by declaring a small ring buffer_size and a larger decompressed_size during LZ4 decompression, crashing the collector. The flaw requires the TCP input plugin with LZ4 decompression to be active and reachable; confirmed impact is denial of service, not confidentiality or integrity loss. No public exploit identified at time of analysis, and no CISA KEV entry is present.
In CESNET libyang through 6.4.13, ly_out_reset() in src/out.c rewinds a seekable output target but can skip the accompanying truncate, so bytes written for an earlier client survive into the output produced for a later one. The flaw only surfaces in deployments that reuse a single ly_out handler across clients or requests writing to a regular file or FILE* stream, and only when a stale ESPIPE value lingers in errno while the seek itself succeeds; it discloses residual bytes rather than attacker-chosen data. Severity is rated 6.3 (CVSS 4.0) and the issue is assessed as a genuine but low-urgency information-disclosure problem (CWE-459, incomplete cleanup) with no confirmed active exploitation (CISA KEV) and no public exploit identified at time of analysis; an upstream fix is available as a pull request and commit.
A file descriptor leak in libyang through 6.4.13 lets an attacker who can feed files into the library's by-path parsers (lyd_parse_data_path() or lys_parse_path()) exhaust a process's descriptor table and cause subsequent file and socket operations to fail. The leak occurs in ly_in_new_filepath() and ly_in_filepath() in src/in.c when opening or mapping the supplied file fails - the vendor's own test exercises it with an empty file and with an unopenable path - so repeated submission of such files accumulates leaked descriptors. Impact is limited to availability of the consuming process (no confidentiality or integrity effect), no public exploit code was identified at time of analysis, and an upstream fix commit is available.
Wrong-status-code handling in CESNET libyang through 6.4.13 causes ly_in_filepath() in src/in.c to report success when the requested file cannot be opened or mmap'd, so a reused struct ly_in input handler keeps serving the previously loaded file's mapped bytes. Applications that switch a shared handler to a new path and trust the return value can therefore parse stale data as if it were the requested input, giving limited confidentiality and integrity impact (CVSS 6.3; assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:N/C:L/I:L/A:N). Exploitation is gated on a specific handler-reuse code path in the consuming application plus attacker influence over the switched filepath rather than on privileges; no public exploit code was identified at the time of analysis and the issue is not in CISA KEV, with an upstream fix commit available.
Memory exhaustion in CESNET ipfixcol2 2.7.1 through 2.8.x lets unauthenticated remote attackers drive the collector out of memory by sending TCP LZ4 start headers that declare an arbitrarily large ring buffer size, with the code permitting allocations of up to 4 GiB per connection before any data is decoded. The flaw sits in Lz4Decoder::read_start_header() and only affects deployments that expose the TCP input plugin and use its LZ4-compressed input path; collectors reachable only from trusted networks are far less exposed. Severity is moderate and availability-only (CVSS 4.0 base 6.9, assessed as AV:N/AC:L/PR:N/UI:N with A:L), sustained impact depends on the attacker opening repeated connections against available host memory, and no public exploit code or confirmed active exploitation was identified at time of analysis. Vendor-released patch: 2.9.0, which rejects buffer sizes of zero or greater than 1 MiB.
Authenticated NETCONF peers can crash libyang-based servers such as netopeer2 by sending an rpc <action> envelope containing non-whitespace character data to lyd_parse_op(), causing an uninitialized pointer free in lydxml_env_netconf_rpc() and possible heap corruption. The issue affects libyang through 6.4.13 and is a moderate-priority, authenticated denial-of-service flaw: exploitation requires an established NETCONF session, and whether the result is a reliable crash or heap corruption depends on memory state (AC:H/AT:P). No CISA KEV entry or confirmed working exploit code is described in the supplied data; a public technical writeup is referenced, and a vendor patch commit is available.
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
In function read_yin_leaf() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
In function lys_node_free() in libyang <= v1.0.225, it asserts that the value of node->module can't be NULL. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
In function ext_get_plugin() in libyang <= v1.0.225, it doesn't check whether the value of revision is NULL. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
A stack overflow in libyang <= v1.0.225 can cause a denial of service through function lyxml_parse_mem(). Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
In function read_yin_container() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
In Perun before version 3.9.1, VO or group manager can modify configuration of the LDAP extSource to retrieve all from Perun LDAP. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
The proxystatistics module before 3.1.0 for SimpleSAMLphp allows SQL Injection in lib/Auth/Process/DatabaseCommand.php. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.