{"id":"GHSA-84wg-rgp8-2hg4","summary":"Command Injection in Apache James","details":"Apache James prior to release 3.6.1 is vulnerable to a buffering attack relying on the use of the STARTTLS command. This can result in Man-in -the-middle command injection attacks, leading potentially to leakage of sensible information.","aliases":["CVE-2021-38542"],"modified":"2026-07-17T21:04:21.430229595Z","published":"2022-01-08T00:40:33Z","database_specific":{"nvd_published_at":"2022-01-04T09:15:00Z","cwe_ids":["CWE-327","CWE-77"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-01-07T18:35:11Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38542"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2022/01/04/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/01/04/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/09/20/1"}],"affected":[{"package":{"name":"org.apache.james:james-server","ecosystem":"Maven","purl":"pkg:maven/org.apache.james/james-server"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1"}]}],"versions":["3.0-M1","3.0-M2","3.0-beta2","3.0-beta3","3.0-beta4","3.0.0","3.0.0-RC1","3.0.0-beta5","3.0.1","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-84wg-rgp8-2hg4/GHSA-84wg-rgp8-2hg4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}