Bug 2127403 - [RFE] Introduce libcap-ng inside rsyslog
Summary: [RFE] Introduce libcap-ng inside rsyslog
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rsyslog
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Attila Lakatos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2127404
TreeView+ depends on / blocked
 
Reported: 2022-09-16 08:25 UTC by Attila Lakatos
Modified: 2022-11-28 08:09 UTC (History)
8 users (show)

Fixed In Version: rsyslog-8.2210.0-1.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2127404 (view as bug list)
Environment:
Last Closed: 2022-11-28 08:09:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SECENGSP-4792 0 None None None 2022-09-16 08:44:55 UTC

Description Attila Lakatos 2022-09-16 08:25:18 UTC
Description of the problem:

Actually, rsyslogd is running with full set of capabilities. Whilst it's possible for rsyslog to drop privileges by impersonating as another user and/or group after startup, there are some modules that explicitly require root user rights. Thus, it's necessary to drop the capabilities to only the necessary set, to minimize security exposure in case there was ever a mistake in a networking plugin or some other input resource. The change should be done directly in the code with libcap-ng as rsyslog has many optional modules and some of them require additional capabilities.

Comment 1 Fedora Update System 2022-11-28 08:05:31 UTC
FEDORA-2022-9ecb6fb031 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-9ecb6fb031

Comment 2 Fedora Update System 2022-11-28 08:09:19 UTC
FEDORA-2022-9ecb6fb031 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.