MGASA-2022-0076 - Updated util-linux packages fix security vulnerability

Publication date: 22 Feb 2022
URL: https://advisories.mageia.org/MGASA-2022-0076.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2021-37600,
     CVE-2021-3995,
     CVE-2021-3996,
     CVE-2022-0563

An integer overflow in util-linux through 2.37.1 can potentially cause a
buffer overflow if an attacker were able to use system resources in a way
that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is
unexploitable in GNU C Library environments, and possibly in all realistic
environments. (CVE-2021-37600)

Unauthorized unmount of FUSE filesystems belonging to users with similar
uid. (CVE-2021-3995)

Unauthorized unmount of filesystems in libmount (CVE-2021-3996)

A flaw was found in the util-linux chfn and chsh utilities when compiled
with Readline support. The Readline library uses an "INPUTRC" environment
variable to get a path to the library config file. When the library cannot
parse the specified file, it prints an error message containing data from
the file. This flaw allows an unprivileged user to read root-owned files,
potentially leading to privilege escalation. This flaw affects util-linux
versions prior to 2.37.4. (CVE-2022-0563)

Additional bug fixes included by updating to version 2.36.2. See release
notes for details.

References:
- https://bugs.mageia.org/show_bug.cgi?id=29565
- https://lists.suse.com/pipermail/sle-security-updates/2021-October/009610.html
- https://www.openwall.com/lists/oss-security/2022/01/24/2
- https://www.debian.org/security/2022/dsa-5055
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/SW73IARDAP7WWQ6ETYQB2OS2SLW4XTT3/
- https://ubuntu.com/security/notices/USN-5279-1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/2YUFRTN7YYS4ESW372SWK2PURGSGVDL4/
- https://www.openwall.com/lists/oss-security/2022/02/17/2
- https://cdn.kernel.org/pub/linux/utils/util-linux/v2.36/v2.36.2-ReleaseNotes
- https://cdn.kernel.org/pub/linux/utils/util-linux/v2.36/v2.36.2-ReleaseNotes
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37600
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3995
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3996
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0563

SRPMS:
- 8/core/util-linux-2.36.2-1.mga8

Mageia 2022-0076: util-linux security update

An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in t...

Summary

An integer overflow in util-linux through 2.37.1 can potentially cause a buffer overflow if an attacker were able to use system resources in a way that leads to a large number in the /proc/sysvipc/sem file. NOTE: this is unexploitable in GNU C Library environments, and possibly in all realistic environments. (CVE-2021-37600)
Unauthorized unmount of FUSE filesystems belonging to users with similar uid. (CVE-2021-3995)
Unauthorized unmount of filesystems in libmount (CVE-2021-3996)
A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation. This flaw affects util-linux versions prior to 2.37.4. (CVE-2022-0563)
Additional bug fixes included by updating to version 2.36.2. See release notes for details.

References

- https://bugs.mageia.org/show_bug.cgi?id=29565

- https://lists.suse.com/pipermail/sle-security-updates/2021-October/009610.html

- https://www.openwall.com/lists/oss-security/2022/01/24/2

- https://www.debian.org/security/2022/dsa-5055

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/SW73IARDAP7WWQ6ETYQB2OS2SLW4XTT3/

- https://ubuntu.com/security/notices/USN-5279-1

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/2YUFRTN7YYS4ESW372SWK2PURGSGVDL4/

- https://www.openwall.com/lists/oss-security/2022/02/17/2

- https://cdn.kernel.org/pub/linux/utils/util-linux/v2.36/v2.36.2-ReleaseNotes

- https://cdn.kernel.org/pub/linux/utils/util-linux/v2.36/v2.36.2-ReleaseNotes

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37600

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3995

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3996

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0563

Resolution

MGASA-2022-0076 - Updated util-linux packages fix security vulnerability

SRPMS

- 8/core/util-linux-2.36.2-1.mga8

Severity
Publication date: 22 Feb 2022
URL: https://advisories.mageia.org/MGASA-2022-0076.html
Type: security
CVE: CVE-2021-37600, CVE-2021-3995, CVE-2021-3996, CVE-2022-0563

Related News