Bug 53548 - klibc: Multiple issues (4.4)
klibc: Multiple issues (4.4)
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Security updates
UCS 4.4
All Linux
: P3 normal (vote)
: UCS 4.4-8-errata
Assigned To: Quality Assurance
Erik Damrose
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-07-05 09:35 CEST by Quality Assurance
Modified: 2021-07-07 16:34 CEST (History)
0 users

See Also:
What kind of report is it?: Security Issue
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score: 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) NVD


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quality Assurance univentionstaff 2021-07-05 09:35:58 CEST
New Debian klibc 2.0.4-9+deb9u1 fixes:
This update addresses the following issues:
* An issue was discovered in klibc before 2.0.9. Multiplication in the  calloc() function may result in an integer overflow and a subsequent heap  buffer overflow. (CVE-2021-31870)
* An issue was discovered in klibc before 2.0.9. An integer overflow in the  cpio command may result in a NULL pointer dereference on 64-bit systems.  (CVE-2021-31871)
* An issue was discovered in klibc before 2.0.9. Multiple possible integer  overflows in the cpio command on 32-bit systems may result in a buffer  overflow or other security impact. (CVE-2021-31872)
* An issue was discovered in klibc before 2.0.9. Additions in the malloc()  function may result in an integer overflow and a subsequent heap buffer  overflow. (CVE-2021-31873)
Comment 1 Quality Assurance univentionstaff 2021-07-05 10:00:36 CEST
--- mirror/ftp/4.3/unmaintained/4.3-0/source/klibc_2.0.4-9.dsc
+++ apt/ucs_4.4-0-errata4.4-8/source/klibc_2.0.4-9+deb9u1.dsc
@@ -1,3 +1,15 @@
+2.0.4-9+deb9u1 [Mon, 28 Jun 2021 16:24:37 +0200] Ben Hutchings <benh@debian.org>:
+
+  * Never clean files in quilt status directory
+  * debian/rules: Use $(MAKE) for recursive make
+  * debian/rules: Change override_dh_auto_test rule to actually run tests
+  * Apply security fixes from 2.0.9 (Closes: #989505):
+    - malloc: Set errno on failure
+    - malloc: Fail if requested size > PTRDIFF_MAX (CVE-2021-31873)
+    - calloc: Fail if multiplication overflows (CVE-2021-31870)
+    - cpio: Fix possible integer overflow on 32-bit systems (CVE-2021-31872)
+    - cpio: Fix possible crash on 64-bit systems (CVE-2021-31871)
+
 2.0.4-9 [Sun, 08 May 2016 21:59:37 +0100] Ben Hutchings <ben@decadent.org.uk>:
 
   * Change dh_fixperms arguments to restore binary reproducibility

<http://piuparts.knut.univention.de/4.4-8/#4461743603348236214>
Comment 2 Erik Damrose univentionstaff 2021-07-07 09:48:02 CEST
OK: yaml
OK: announce_errata
OK: patch
OK: piuparts