CVE-2023-2868: Barracuda Networks ESG Appliance Improper Input Validation
Barracuda Networks Email Security Gateway (ESG) Appliance · listed in the CISA catalog of actively exploited vulnerabilities since 2023-05-26.
- CVSS v3.1 (CVE record)
- 9.4
- critical
- EPSS (exploit probability, 30 days)
- 87%
- higher than 99.7% of all CVEs
- Added to CISA KEV
- 2023-05-26
- US federal due date 2023-06-16
- Automatable (CISA SSVC)
- yes
- technical impact: total
CVE-2023-2868 explained
CVE-2023-2868 is a remote command injection vulnerability in the Barracuda Email Security Gateway (appliance form factor only). Incomplete validation of file names inside user-supplied .tar archives lets a remote attacker run system commands with the privileges of the product. CISA lists it as known to be exploited, so affected appliances need immediate attention.
Impact
An unauthenticated remote attacker can execute system commands on the appliance with the privileges of the Email Security Gateway product. No user interaction is needed and attack complexity is low. CISA rates it as automatable with total technical impact, meaning attackers can exploit it at scale and gain full control of the affected component. Confidentiality and integrity impact is high. CISA's catalog confirms attackers are known to exploit it.
Who is affected
The CVE record lists Barracuda Email Security Gateway versions from 5.1.3.001 up to but not including 9.2.0.006 as affected. Only the appliance form factor is affected. The fix is in 9.2.0.006. The description states the issue was fixed as part of the BNSF-36456 patch, which was automatically applied to all customer appliances.
Written with AI from the data on this page and checked against it automatically.
Official description
A remote command injection vulnerability exists in the Barracuda Email Security Gateway (appliance form factor only) product effecting versions 5.1.3.001-9.2.0.006. The vulnerability arises out of a failure to comprehensively sanitize the processing of .tar file (tape archives).
The vulnerability stems from incomplete input validation of a user-supplied .tar file as it pertains to the names of the files contained within the archive. As a consequence, a remote attacker can specifically format these file names in a particular manner that will result in remotely executing a system command through Perl's qx operator with the privileges of the Email Security Gateway product.
This issue was fixed as part of BNSF-36456 patch. This patch was automatically applied to all customer appliances.
CISA required action: Apply updates per vendor instructions.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- Barracuda Email Security GatewayAffectedFixed in
- ≥ 5.1.3.001, < 9.2.0.006
- 9.2.0.006
| Product | Affected | Fixed in |
|---|---|---|
| Barracuda Email Security Gateway |
|
|
How to fix it
- Update to a fixed version: 9.2.0.006.
- Vendor advisory: barracuda.com/company/legal/esg-vulnerability
- CISA's deadline for US federal agencies: 2023-06-16 (passed) – a useful benchmark for everyone else, too.
What to do
- Confirm each Email Security Gateway appliance runs
9.2.0.006or later and that the BNSF-36456 patch is applied. - Apply updates per vendor instructions, as required by CISA.
- Follow the Barracuda vendor advisory for any additional guidance.
- Check appliances for signs of compromise, since the vulnerability is known to be exploited.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-20 Improper Input Validation
Questions about CVE-2023-2868
- Do I need to install the patch manually?
- The description states that the BNSF-36456 patch was automatically applied to all customer appliances. Still verify that each appliance runs
9.2.0.006or later and follow the vendor advisory. - Is this vulnerability being exploited?
- Yes. CISA added CVE-2023-2868 to its Known Exploited Vulnerabilities catalog on 2023-05-26, with a US federal due date of 2023-06-16. Whether it is used in ransomware campaigns is unknown.
- Which deployments are affected?
- Only the appliance form factor of the Barracuda Email Security Gateway, in versions from
5.1.3.001up to but not including9.2.0.006.
Written with AI from the data on this page and checked against it automatically.
References
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.