{"id":"CVE-2023-2868","aliases":["CVE-2023-2868"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code injection in Barracuda Email Security Gateway","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Barracuda Email Security Gateway (ESG) appliance contains an improper input validation vulnerability of a user-supplied .tar file, leading to remote command injection.","source":"kev"}],"published":"2023-05-24T18:00:52.360Z","modified":"2026-06-17T05:53:39.770Z","severity":{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":9.4,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-20","CWE-77"],"affected":[{"ranges":[{"type":"custom","introduced":"5.1.3.001","fixed":"9.2.0.006","status":"affected"}],"vendor":"Barracuda","product":"Barracuda Email Security Gateway","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.1.3.001","lastAffected":"9.2.0.006"}],"vendor":"barracuda","product":"email_security_gateway_300_firmware","cpe":"cpe:2.3:o:barracuda:email_security_gateway_300_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"5.1.3.001","lastAffected":"9.2.0.006"}],"vendor":"barracuda","product":"email_security_gateway_400_firmware","cpe":"cpe:2.3:o:barracuda:email_security_gateway_400_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"5.1.3.001","lastAffected":"9.2.0.006"}],"vendor":"barracuda","product":"email_security_gateway_600_firmware","cpe":"cpe:2.3:o:barracuda:email_security_gateway_600_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"5.1.3.001","lastAffected":"9.2.0.006"}],"vendor":"barracuda","product":"email_security_gateway_800_firmware","cpe":"cpe:2.3:o:barracuda:email_security_gateway_800_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"5.1.3.001","lastAffected":"9.2.0.006"}],"vendor":"barracuda","product":"email_security_gateway_900_firmware","cpe":"cpe:2.3:o:barracuda:email_security_gateway_900_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"Barracuda Networks","product":"Email Security Gateway (ESG) Appliance","source":"kev"}],"references":[{"url":"https://www.barracuda.com/company/legal/esg-vulnerability","tags":["mitigation","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://status.barracuda.com/incidents/34kx82j5n4q9","tags":["kev","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","kev"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868","tags":["government-resource","us-government-resource"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2868","tags":["kev"],"sources":["kev"]}],"credits":[],"assigner":"Google","kev":{"dateAdded":"2023-05-26","dueDate":"2023-06-16","name":"Barracuda Networks ESG Appliance Improper Input Validation Vulnerability","requiredAction":"Apply updates per vendor instructions.","ransomware":false,"notes":"https://status.barracuda.com/incidents/34kx82j5n4q9;  https://nvd.nist.gov/vuln/detail/CVE-2023-2868"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"yes","technicalImpact":"total","date":"2025-01-16T15:36:08.898Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-2868","url":"https://www.cve.org/CVERecord?id=CVE-2023-2868","licence":"CVE Terms of Use","modified":"2025-10-21T23:05:47.195Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-2868","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2868","licence":"Public domain","modified":"2026-06-17T05:53:39.770Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2023-2868","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2023-2868","licence":"CC0-1.0","modified":"2023-05-26T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:58:24.364Z","epss":{"score":0.88432,"percentile":0.9977,"date":"2026-12-01T12:00:22.000Z"}}