CVE-2023-2868
JSON

9.4criticalExploited

Remote Code injection in Barracuda Email Security Gateway

Severity
9.4critical CVSS:3.1 by Google
Exploit likelihood
88.4% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Google

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.

Affected

Product or packageVersionsReported by
Barracuda Barracuda Email Security Gatewayfrom 5.1.3.001 before 9.2.0.006CVE List
barracuda email_security_gateway_300_firmwarefrom 5.1.3.001 up to 9.2.0.006NVD
barracuda email_security_gateway_400_firmwarefrom 5.1.3.001 up to 9.2.0.006NVD
barracuda email_security_gateway_600_firmwarefrom 5.1.3.001 up to 9.2.0.006NVD
barracuda email_security_gateway_800_firmwarefrom 5.1.3.001 up to 9.2.0.006NVD
barracuda email_security_gateway_900_firmwarefrom 5.1.3.001 up to 9.2.0.006NVD
Barracuda Networks Email Security Gateway (ESG) ApplianceNot specifiedCISA KEV

All scores

Google9.4critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-20CWE-77

SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total.

What each source says

CVE List

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 KEV

Barracuda Email Security Gateway (ESG) appliance contains an improper input validation vulnerability of a user-supplied .tar file, leading to remote command injection.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-2868 changed 2025-10-21CVE Terms of Use
NVDCVE-2023-2868 changed 2026-06-17Public domain
CISA KEVCVE-2023-2868 changed 2023-05-26CC0-1.0