CVE-2024-35179

Source
https://cve.org/CVERecord?id=CVE-2024-35179
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35179.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-35179
Aliases
  • GHSA-5pfx-j27j-4c6h
Published
2024-05-15T15:55:28.261Z
Modified
2026-03-14T12:34:07.990187Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Unprivileged Stalwart Mail Server user can read files as root
Details

Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, when using RUN_AS_USER, the specified user (and therefore, web interface admins) can read arbitrary files as root. This issue affects admins who have set up to run stalwart with RUN_AS_USER who handed out admin credentials to the mail server but expect these to only grant access according to the RUN_AS_USER and are attacked where the attackers managed to achieve Arbitrary Code Execution using another vulnerability. Version 0.8.0 contains a patch for the issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35179.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-271"
    ]
}
References

Affected packages

Git / github.com/stalwartlabs/mail-server

Affected ranges

Type
GIT
Repo
https://github.com/stalwartlabs/mail-server
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.8.0"
        }
    ]
}

Affected versions

v0.*
v0.3.0
v0.3.1
v0.3.10
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.4.0
v0.4.1
v0.4.2
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.6.0
v0.7.0
v0.7.1
v0.7.2
v0.7.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35179.json"