{ "Definition": [ { "ID": "oval:org.altlinux.errata:def:20235121", "Version": "oval:org.altlinux.errata:def:20235121", "Class": "patch", "Metadata": { "Title": "ALT-PU-2023-5121: package `c-ares` update to version 1.19.1-alt1", "AffectedList": [ { "Family": "unix", "Platforms": [ "ALT Linux branch c10f1" ], "Products": [ "ALT SP Workstation", "ALT SP Server" ] } ], "References": [ { "RefID": "ALT-PU-2023-5121", "RefURL": "https://errata.altlinux.org/ALT-PU-2023-5121", "Source": "ALTPU" }, { "RefID": "BDU:2023-01258", "RefURL": "https://bdu.fstec.ru/vul/2023-01258", "Source": "BDU" }, { "RefID": "CVE-2022-4904", "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2022-4904", "Source": "CVE" }, { "RefID": "CVE-2023-31124", "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-31124", "Source": "CVE" }, { "RefID": "CVE-2023-31130", "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-31130", "Source": "CVE" }, { "RefID": "CVE-2023-31147", "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-31147", "Source": "CVE" }, { "RefID": "CVE-2023-32067", "RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-32067", "Source": "CVE" } ], "Description": "This update upgrades c-ares to version 1.19.1-alt1. \nSecurity Fix(es):\n\n * BDU:2023-01258: Уязвимость функции ares_set_sortlist библиотеки асинхронных DNS-запросов c-ares, позволяющая нарушителю вызвать отказ в обслуживании или оказать ограниченное влияния на конфиденциальность и целостность\n\n * CVE-2022-4904: A flaw was found in the c-ares package. The ares_set_sortlist is missing checks about the validity of the input string, which allows a possible arbitrary length stack overflow. This issue may cause a denial of service or a limited impact on confidentiality and integrity.\n\n * CVE-2023-31124: 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 an attacker to take advantage of the lack of entropy by not using a CSPRNG. This issue was patched in version 1.19.1.\n\n\n * CVE-2023-31130: 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 which would require an administrator to configure such an address via ares_set_sortlist(). However, users may externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues. This issue has been fixed in 1.19.1.\n\n\n * CVE-2023-31147: 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 output. Input from the random number generator is fed into a non-compilant RC4 implementation and may not be as strong as the original RC4 implementation. No attempt is made to look for modern OS-provided CSPRNGs like arc4random() that is widely available. This issue has been fixed in version 1.19.1.\n\n * CVE-2023-32067: 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 interprets the 0 length as a graceful shutdown of the connection. This issue has been patched in version 1.19.1.", "Advisory": { "From": "errata.altlinux.org", "Severity": "High", "Rights": "Copyright 2023 BaseALT Ltd.", "Issued": { "Date": "2023-08-28" }, "Updated": { "Date": "2023-08-28" }, "bdu": [ { "Cvss": "AV:N/AC:L/Au:N/C:P/I:P/A:C", "Cvss3": "AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H", "Cwe": "CWE-20, CWE-119", "Href": "https://bdu.fstec.ru/vul/2023-01258", "Impact": "High", "Public": "20230306", "CveID": "BDU:2023-01258" } ], "Cves": [ { "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H", "Cwe": "CWE-1284", "Href": "https://nvd.nist.gov/vuln/detail/CVE-2022-4904", "Impact": "High", "Public": "20230306", "CveID": "CVE-2022-4904" }, { "Cvss3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N", "Cwe": "CWE-330", "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-31124", "Impact": "Low", "Public": "20230525", "CveID": "CVE-2023-31124" }, { "Cvss3": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H", "Cwe": "CWE-787", "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-31130", "Impact": "Low", "Public": "20230525", "CveID": "CVE-2023-31130" }, { "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N", "Cwe": "CWE-330", "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-31147", "Impact": "Low", "Public": "20230525", "CveID": "CVE-2023-31147" }, { "Cvss3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "Cwe": "NVD-CWE-noinfo", "Href": "https://nvd.nist.gov/vuln/detail/CVE-2023-32067", "Impact": "High", "Public": "20230525", "CveID": "CVE-2023-32067" } ], "AffectedCpeList": { "Cpe": [ "cpe:/o:alt:spworkstation:10", "cpe:/o:alt:spserver:10" ] } } }, "Criteria": { "Operator": "AND", "Criterions": [ { "TestRef": "oval:org.altlinux.errata:tst:4001", "Comment": "ALT Linux must be installed" } ], "Criterias": [ { "Operator": "OR", "Criterions": [ { "TestRef": "oval:org.altlinux.errata:tst:20235121001", "Comment": "c-ares is earlier than 0:1.19.1-alt1" }, { "TestRef": "oval:org.altlinux.errata:tst:20235121002", "Comment": "libcares is earlier than 0:1.19.1-alt1" }, { "TestRef": "oval:org.altlinux.errata:tst:20235121003", "Comment": "libcares-devel is earlier than 0:1.19.1-alt1" } ] } ] } } ] }