Bug 2155515 (CVE-2022-4415)

Summary: CVE-2022-4415 systemd: local information leak due to systemd-coredump not respecting fs.suid_dumpable kernel setting
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bgalvani, kyoshida, lnykryn, lrintel, msekleta, nm-team, rkhan, sukulkar, systemd-maint-list, systemd-maint, till, zjedrzej
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in systemd. This security flaw can cause a local information leak due to systemd-coredump not respecting the fs.suid_dumpable kernel setting.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-08 23:55:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2155516, 2155517, 2155518, 2155519, 2155520, 2155521, 2155522    
Bug Blocks: 2151929    

Description Sandipan Roy 2022-12-21 12:26:57 UTC
systemd-coredump sets the sysctl fs.suid_dumpable by default to 2 via a sysctl.d drop-in configuration file. For the kernel's builtin coredump
handling this setting means that core dumps for setuid (or otherwise privileged) processes will be written to disk but will only be accessible to the root user to avoid sensitive data leaking to unprivileged user accounts. See also `man 5 proc` for the full documentation of this sysctl.

https://github.com/systemd/systemd/commit/b7641425659243c09473cd8fb3aef2c0d4a3eb9c

Comment 3 Sandipan Roy 2022-12-21 12:31:57 UTC
Created systemd tracking bugs for this issue:

Affects: fedora-36 [bug 2155521]
Affects: fedora-37 [bug 2155522]

Comment 5 errata-xmlrpc 2023-02-21 09:22:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:0837 https://access.redhat.com/errata/RHSA-2023:0837

Comment 6 errata-xmlrpc 2023-02-28 08:18:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:0954 https://access.redhat.com/errata/RHSA-2023:0954

Comment 9 Product Security DevOps Team 2023-03-08 23:55:39 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-4415

Comment 11 errata-xmlrpc 2024-03-05 16:18:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:1105 https://access.redhat.com/errata/RHSA-2024:1105