*** This bug is a security vulnerability ***

Public security bug reported:

Ubuntu 22.04 (jammy), with cyrus-imapd 3.4.3-3ubuntu0.3, and Ubuntu
24.04 (noble), with 3.8.2-1ubuntu0.2, predate an upstream fix in Cyrus's
master daemon (process that runs as root and starts Cyrus's services).

Without the fix, account that owns Cyrus's socket directory (account
Cyrus's services run as) can make a root-owned file of its choice world-
writable. That is a local privilege escalation from that account to
root.

Already public:
- The Cyrus IMAP project removed the master daemon's chmod of Unix listen 
sockets in PR #5477 (https://github.com/cyrusimap/cyrus-imapd/pull/5477, merged 
2025-06-22). The fix shipped in 3.12.1, 3.10.2 and 3.8.6 on 2025-06-27.
- SUSE tracks the issue as bsc#1241543.
- No CVE ID has been assigned.

We found out that the master daemon in both Ubuntu packages is affected.
Upstream Cyrus 3.12.1 is not affected.

Please backport the fix from PR #5477 to jammy and noble.

** Affects: cyrus-imapd (Ubuntu)
     Importance: Undecided
         Status: New

** Information type changed from Private Security to Public Security

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175141

Title:
  cyrus-imapd: socket chmod race fixed upstream (PR #5477) is unfixed in
  Ubuntu 22.04 (jammy) and 24.04 (noble)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cyrus-imapd/+bug/2175141/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to