Summary
This update for c-ares fixes the following issues:
Update to version 1.19.1:
- CVE-2023-32067: 0-byte UDP payload causes Denial of Service (bsc#1211604)
- CVE-2023-31147: Insufficient randomness in generation of DNS query IDs (bsc#1211605)
- CVE-2023-31130: Buffer Underwrite in ares_inet_net_pton() (bsc#1211606)
- CVE-2023-31124: AutoTools does not set CARES_RANDOM_FILE during cross compilation (bsc#1211607)
- Fix uninitialized memory warning in test
- ares_getaddrinfo() should allow a port of 0
- Fix memory leak in ares_send() on error
- Fix comment style in ares_data.h
- Fix typo in ares_init_options.3
- Sync ax_pthread.m4 with upstream
- Sync ax_cxx_compile_stdcxx_11.m4 with upstream to fix uclibc support
Fixed packages 24
| Release | Package | Fixed in |
|---|---|---|
| SUSE · Enterprise Storage 7 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · Enterprise Storage 7.1 | c-ares | 1.19.1-150000.3.23.1 |
| openSUSE · Leap 15.4 | c-ares | 1.19.1-150000.3.23.1 |
| openSUSE · Leap 15.5 | c-ares | 1.19.1-150000.3.23.1 |
| openSUSE · Leap Micro 5.3 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLE HPC 15 SP1 Linux Enterprise High Performance Computing 15 SP1-LTSS | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-ESPOS | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLE Micro 5.1 Linux Enterprise Micro 5.1 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLE Micro 5.2 Linux Enterprise Micro 5.2 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLE Micro 5.3 Linux Enterprise Micro 5.3 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLE Micro 5.4 Linux Enterprise Micro 5.4 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Basesystem 15 SP4 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Basesystem 15 SP5 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLE Real Time 15 SP3 Linux Enterprise Real Time 15 SP3 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLES 15 SP1 Linux Enterprise Server 15 SP1-LTSS | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLES for SAP 15 SP1 Linux Enterprise Server for SAP Applications 15 SP1 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · Manager Proxy 4.2 | c-ares | 1.19.1-150000.3.23.1 |
| SUSE · Manager Server 4.2 | c-ares | 1.19.1-150000.3.23.1 |
Vulnerabilities 4
-
High 7.5
0-byte UDP payload DoS in c-ares
c-ares is an asynchronous resolver library. c-ares is vulnerable to denial of service. If a target resolver sends a query, the attacker forges a malformed UDP packet with a length of 0 and returns them to the target resolver. The target resolver erroneously i…
-
Medium 5.9
Insufficient randomness in generation of DNS query IDs in c-ares
c-ares is an asynchronous resolver library. When /dev/urandom or RtlGenRandom() are unavailable, c-ares uses rand() to generate random numbers used for DNS query ids. This is not a CSPRNG, and it is also not seeded by srand() so will generate predictable outp…
-
Medium 4.1
Buffer Underwrite in ares_inet_net_pton()
c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes wh…
-
Low 3.7
AutoTools does not set CARES_RANDOM_FILE during cross compilation
c-ares is an asynchronous resolver library. When cross-compiling c-ares and using the autotools build system, CARES_RANDOM_FILE will not be set, as seen when cross compiling aarch64 android. This will downgrade to using rand() as a fallback which could allow …
References
-
report
https://bugzilla.suse.com/1211604
-
report
https://bugzilla.suse.com/1211605
-
report
https://bugzilla.suse.com/1211606
-
report
https://bugzilla.suse.com/1211607
-
web
https://www.suse.com/security/cve/CVE-2023-31124
-
web
https://www.suse.com/security/cve/CVE-2023-31130
-
web
https://www.suse.com/security/cve/CVE-2023-31147
-
web
https://www.suse.com/security/cve/CVE-2023-32067