{"schemaVersion":4,"id":"CVE-2022-28220","aliases":["CGA-3r97-q7p6-7v8p","CGA-7wq9-pxgc-8gr9","GHSA-w45j-f5g5-w94x"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2022-09-08T07:40:09.000Z","modified":"2024-08-03T05:48:37.476Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02092,"percentile":0.82266,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.059999999999999984,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.02032},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01975,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.01989,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.02092,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.02092,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.02092,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.02092,"percentile":0.82266}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.02032,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01642,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.02092,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.02092,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.02092,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.02092,"percentile":0.82266}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command","description":"The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/77.html"}],"affected":[{"vendor":"apache software foundation","product":"apache james","name":"Apache James","label":"apache james","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ Apache James, ≤ 3.6.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"Apache James","startInclusive":true,"end":"3.6.2","endInclusive":true}}],"versionsText":"≥ Apache James, ≤ 3.6.2","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_james"},{"vendor":"apache","product":"james","name":"james","label":"james","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.6.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.6.2","endInclusive":true}},{"text":"3.7.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"3.7.0"}}],"versionsText":"≤ 3.6.2 | 3.7.0","eol":null,"hubHref":"/vendor/apache/james"},{"vendor":"chainguard","product":"keycloak","name":"keycloak","label":"keycloak","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/keycloak","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"keycloak","name":"keycloak","label":"keycloak","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/keycloak","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.apache.james","product":"james-server","name":"org.apache.james:james-server","label":"james-server","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.james/james-server","purlType":"maven","versions":[{"text":"< 3.6.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.6.3","endInclusive":false}},{"text":"≥ 3.7.0, < 3.7.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.7.0","startInclusive":true,"end":"3.7.1","endInclusive":false}}],"versionsText":"< 3.6.3 | ≥ 3.7.0, < 3.7.1","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://james.apache.org/james/update/2022/08/26/james-3.7.1.html","label":"james.apache.org/james/update/2022/08/26/james-3.7.1.html","hostname":"james.apache.org","tags":["X Refsource MISC","WEB","Patch","Release Notes","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/20/1","label":"www.openwall.com/lists/oss-security/2022/09/20/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28220","label":"nvd.nist.gov/vuln/detail/CVE-2022-28220","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/james-project","label":"github.com/apache/james-project","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-7HX6-QW5M-GMR2","CGA-V4C7-87QG-MW2M"]},"timeline":[{"kind":"published","date":"2022-09-08T07:40:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:48:37.476Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,2,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.02092,"stale":false,"promoted":null},{"type":"cvss","source":"osv_wolfi","date":"2024-08-03T05:48:37.476Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2024-08-03T05:48:37.476Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_maven","date":"2024-08-03T05:48:37.476Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-03T05:48:37.476Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true}],"epss":{"value":0.02092,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:16:37.216Z","stale":false,"partial":false}}