{"id":"CVE-2023-2868","state":"PUBLISHED","title":"Remote Code injection in Barracuda Email Security Gateway","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.","publishedAt":"2023-05-24T18:00:52.360Z","updatedAt":"2025-10-21T23:05:47.195Z","severity":{"score":9.4,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","source":"Google"},"assigner":"Google","products":["Barracuda Barracuda Email Security Gateway"],"affected":[{"vendor":"Barracuda","product":"Barracuda Email Security Gateway","defaultStatus":"unaffected","versions":[{"version":"5.1.3.001","status":"affected","lessThan":"9.2.0.006","versionType":"custom"}]}],"references":["https://www.barracuda.com/company/legal/esg-vulnerability","https://status.barracuda.com/incidents/34kx82j5n4q9","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/2xxx/CVE-2023-2868.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-2868","state":"PUBLISHED","datePublished":"2023-05-24T18:00:52.360Z","dateUpdated":"2025-10-21T23:05:47.195Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2023-05-24T14:24:16.482Z"},"containers":{"cna":{"title":"Remote Code injection in Barracuda Email Security Gateway","descriptions":[{"lang":"en","value":"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":[{"vendor":"Barracuda","product":"Barracuda Email Security Gateway","defaultStatus":"unaffected","versions":[{"version":"5.1.3.001","status":"affected","lessThan":"9.2.0.006","versionType":"custom"}]}],"references":[{"url":"https://www.barracuda.com/company/legal/esg-vulnerability"},{"url":"https://status.barracuda.com/incidents/34kx82j5n4q9"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":9.4,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","orgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateUpdated":"2023-05-24T18:00:52.360Z"},"datePublic":"2023-05-23T10:00:00.000Z","impacts":[{"capecId":"CAPEC-253","descriptions":[{"lang":"en","value":"CAPEC-253 Remote Code Inclusion"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.barracuda.com/company/legal/esg-vulnerability","tags":["x_transferred"]},{"url":"https://status.barracuda.com/incidents/34kx82j5n4q9","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T06:33:06.053Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868","tags":["government-resource"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-2868","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-01-16T15:36:08.898946Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2023-05-26","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-21T23:05:47.195Z"},"timeline":[{"time":"2023-05-26T00:00:00.000Z","lang":"en","value":"CVE-2023-2868 added to CISA KEV"}]}]}}}