{"id":"CVE-2022-28220","state":"PUBLISHED","title":"STARTTLS command injection in Apache JAMES","description":"Apache James prior to release 3.6.3 and 3.7.1 is vulnerable to a buffering attack relying on the use of the STARTTLS command. Fix of CVE-2021-38542, which solved similar problem fron Apache James 3.6.1, is subject to a parser differential and do not take into account concurrent requests.","publishedAt":"2022-09-08T07:40:09.000Z","updatedAt":"2024-08-03T05:48:37.476Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache James"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache James","versions":[{"version":"Apache James","status":"affected","lessThanOrEqual":"3.6.2","versionType":"custom"}]}],"references":["https://james.apache.org/james/update/2022/08/26/james-3.7.1.html","http://www.openwall.com/lists/oss-security/2022/09/20/1"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T19:49:55.027Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/28xxx/CVE-2022-28220.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-28220","state":"PUBLISHED","datePublished":"2022-09-08T07:40:09.000Z","dateUpdated":"2024-08-03T05:48:37.476Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2022-03-30T00:00:00.000Z"},"containers":{"cna":{"title":"STARTTLS command injection in Apache JAMES","descriptions":[{"lang":"en","value":"Apache James prior to release 3.6.3 and 3.7.1 is vulnerable to a buffering attack relying on the use of the STARTTLS command. Fix of CVE-2021-38542, which solved similar problem fron Apache James 3.6.1, is subject to a parser differential and do not take into account concurrent requests."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache James","versions":[{"version":"Apache James","status":"affected","lessThanOrEqual":"3.6.2","versionType":"custom"}]}],"references":[{"url":"https://james.apache.org/james/update/2022/08/26/james-3.7.1.html","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/20/1","name":"[oss-security] 20220919 CVE-2022-28220: STARTTLS command injection in Apache JAMES","tags":["mailing-list","x_refsource_MLIST"]}],"metrics":[{"other":{"content":{"other":"This can result in Man-in -the-middle command injection attacks, leading potentially to leakage of sensible information like user credentials. Exploit in IMAP requires a local account but SMTP exploit does not. Data integrity could be compromised in POP3."},"type":"unknown"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","description":"CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2022-09-20T11:06:21.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"credits":[{"lang":"en","value":"Apache James PMC would like to thanks Benoit TELLIER for this report, and Fabian Ising for his support."}],"source":{"defect":["JAMES-1862"],"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Upgrade to Apache James 3.7.1 or Apache James 3.6.3."}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2022-28220","STATE":"PUBLIC","TITLE":"STARTTLS command injection in Apache JAMES"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache James","version":{"version_data":[{"version_affected":"<=","version_name":"Apache James","version_value":"3.6.2"},{"version_affected":"<=","version_name":"Apache James","version_value":"3.7.0 +1"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache James PMC would like to thanks Benoit TELLIER for this report, and Fabian Ising for his support."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Apache James prior to release 3.6.3 and 3.7.1 is vulnerable to a buffering attack relying on the use of the STARTTLS command. Fix of CVE-2021-38542, which solved similar problem fron Apache James 3.6.1, is subject to a parser differential and do not take into account concurrent requests."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{"other":"This can result in Man-in -the-middle command injection attacks, leading potentially to leakage of sensible information like user credentials. Exploit in IMAP requires a local account but SMTP exploit does not. Data integrity could be compromised in POP3."}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')"}]}]},"references":{"reference_data":[{"name":"https://james.apache.org/james/update/2022/08/26/james-3.7.1.html","refsource":"MISC","url":"https://james.apache.org/james/update/2022/08/26/james-3.7.1.html"},{"name":"[oss-security] 20220919 CVE-2022-28220: STARTTLS command injection in Apache JAMES","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2022/09/20/1"}]},"source":{"defect":["JAMES-1862"],"discovery":"UNKNOWN"},"work_around":[{"lang":"en","value":"Upgrade to Apache James 3.7.1 or Apache James 3.6.3."}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://james.apache.org/james/update/2022/08/26/james-3.7.1.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/20/1","name":"[oss-security] 20220919 CVE-2022-28220: STARTTLS command injection in Apache JAMES","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T05:48:37.476Z"}}]}}}