CVE-2022-41352
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn issue was discovered in Zimbra Collaboration (ZCS) 8.8.15 and 9.0. An attacker can upload arbitrary files through amavis via a cpio loophole (extraction to /opt/zimbra/jetty/webapps/zimbra/public) that can lead to incorrect access to any other user accounts. Zimbra recommends pax over cpio. Also, pax is in the prerequisites of Zimbra on Ubuntu; however, pax is no longer part of a default Red Hat installation after RHEL 6 (or CentOS 6). Once pax is installed, amavis automatically prefers it over cpio.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceIn Zimbra Collaboration 8.8.15 and 9.0, the amavis mail filtering service uses cpio for extracting archived attachments. An attacker can exploit a path traversal flaw in cpio extraction to write arbitrary files to the webroot (/opt/zimbra/jetty/webapps/zimbra/public), potentially achieving remote code execution or accessing other user accounts.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 9.0.0= 8.8.15CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Zimbra versionRun 'zmcontrol -v' or check '/opt/zimbra/.version' to obtain the installed ZCS versionAffected if The installed version equals 8.8.15 or 9.0.0 exactly
-
Verify amavis service statusRun 'zmamavisctl status' or check if the amavis service is running with 'zmlocalconfig -s amavis'Affected if The amavis service is enabled and running on the system
-
Check for pax utility presenceRun 'which pax' or 'rpm -q pax' to determine if the pax utility is installedAffected if The pax utility is NOT installed; the system relies on cpio for archive extraction, which is the vulnerable code path
-
Inspect public web directory for suspicious filesList files in '/opt/zimbra/jetty/webapps/zimbra/public' and check for unexpected executable or script files that were not intentionally deployedAffected if Unexpected files exist in this directory, especially executable scripts, JSP files, or archives that were not placed there by administrators
A system is affected if it runs ZCS version 8.8.15 or 9.0.0 with amavis enabled and without the pax utility installed, or if unauthorized files are present in the public web directory.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedInstall the pax utility on the Zimbra server so amavis automatically prefers pax over cpio for archive extraction, eliminating the arbitrary file upload vulnerability.
ZCS 8.8.15 Patch 24 or later / ZCS 9.0.0 Patch 17 or later (or latest available patch for respective branches)
- Install pax package on the Zimbra server: On RHEL/CentOS run 'yum install pax' or 'dnf install pax'; On Ubuntu run 'apt-get install pax'
- Verify pax is installed correctly by running 'which pax' and 'pax --version'
- Restart the amavis service to ensure it picks up pax: 'zmmamctl restart' or 'systemctl restart amavis'
- Confirm amavis is using pax instead of cpio by checking the amavis logs or running 'ps aux | grep amavis' to verify the process is running
- If the server was previously exploited, audit /opt/zimbra/jetty/webapps/zimbra/public for any unexpected files and remove them
- Ensure the Zimbra firewall is properly configured to restrict access to administrative interfaces
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-41352 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-41352 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data