{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:apache:james:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:apache:james:3.7.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.6.2"
              },
              {
                "introduced": "3.7.0"
              },
              {
                "last_affected": "3.7.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1a99bbf78209779e4f90369afba43f1536b633e4"
            },
            {
              "introduced": "37f95ddb770f2e4a8137c2eeae06b1b53abb69ee"
            },
            {
              "last_affected": "37f95ddb770f2e4a8137c2eeae06b1b53abb69ee"
            }
          ],
          "repo": "https://github.com/apache/james-project",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.7.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-77"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28220.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "Apache James"
          },
          {
            "last_affected": "3.6.2"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2022-28220",
  "modified": "2026-08-12T03:51:43.661022300Z",
  "published": "2022-09-08T07:40:09Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://james.apache.org/james/update/2022/08/26/james-3.7.1.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28220.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-28220"
    },
    {
      "type": "ARTICLE",
      "url": "http://www.openwall.com/lists/oss-security/2022/09/20/1"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "STARTTLS command injection in Apache JAMES"
}