Skip to content
Heist/ feed
Back to feed
Medium

undertow — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-20220

A flaw was found in Undertow. A regression in the fix for CVE-2020-10687 was found. HTTP request smuggling related to CVE-2017-2666 is possible against HTTP/1.x and HTTP/2 due to permitting invalid characters in an HTTP request. This flaw allows an attacker to poison a web-cache, perform an XSS attack, or obtain sensitive information from request other than their own. The highest threat from this vulnerability is to data confidentiality and integrity.

Products
undertow
Affected versions
1.3.11-1, 1.3.16-1, 1.3.16-1ubuntu0.1~esm1, 1.3.4-1, 1.3.5-1, 1.3.7-1, 1.4.20-1, 1.4.21-1, 1.4.22-1, 1.4.23-1, 1.4.23-2build1, 1.4.23-3, 1.4.23-3ubuntu0.1~esm1, 2.0.23-1, 2.0.27-1, 2.0.28-1, 2.0.29-1, 2.0.29-1ubuntu0.1~esm1, 2.2.12-1, 2.2.13-1, 2.2.14-1, 2.2.16-1, 2.2.16-1ubuntu0.1~esm1, 2.2.8-1, 2.3.18-1, 2.3.18-2, 2.3.20-1, 2.3.20-1ubuntu1, 2.3.8-2, 2.3.8-2ubuntu0.1~esm1
Fixed versions
Not specified
CVEs
CVE-2021-20220
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:58 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-20220

core-osv · Original source

Published 23 Feb 2021, 18:15 UTC

A flaw was found in Undertow. A regression in the fix for CVE-2020-10687 was found. HTTP request smuggling related to CVE-2017-2666 is possible against HTTP/1.x and HTTP/2 due to permitting invalid characters in an HTTP request. This flaw allows an attacker to poison a web-cache, perform an XSS attack, or obtain sensitive information from request other than their own. The highest threat from this vulnerability is to data confidentiality and integrity.

osv:UBUNTU-CVE-2021-20220

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

undertow

Fixed versions: Not specified

Complete source record
{
  "id": "14471f742104ba2dcd005172541cbb04fc6a9030143ed358d07426c288fd6c65",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-20220",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-20220",
    "summary": "A flaw was found in Undertow. A regression in the fix for CVE-2020-10687 was found. HTTP request smuggling related to CVE-2017-2666 is possible against HTTP/1.x and HTTP/2 due to permitting invalid characters in an HTTP request. This flaw allows an attacker to poison a web-cache, perform an XSS attack, or obtain sensitive information from request other than their own. The highest threat from this vulnerability is to data confidentiality and integrity.",
    "evidence": "osv:UBUNTU-CVE-2021-20220",
    "products": [
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.5-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.7-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.11-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.16-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.16-1ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.20-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.21-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.22-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.23-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.23-2build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.23-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.4.23-3ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.23-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.27-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.28-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.29-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.29-1ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.2.8-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.12-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.13-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.14-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.16-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.2.16-1ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.8-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.3.8-2ubuntu0.1~esm1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.18-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.3.18-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.20-1ubuntu1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.18-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.3.20-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.3.20-1ubuntu1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2021-20220",
      "aliases": [
        "UBUNTU-CVE-2021-20220"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "1.3.4-1",
            "1.3.5-1",
            "1.3.7-1",
            "1.3.11-1",
            "1.3.16-1",
            "1.3.16-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20220.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "1.3.16-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.4.20-1",
            "1.4.21-1",
            "1.4.22-1",
            "1.4.23-1",
            "1.4.23-2build1",
            "1.4.23-3",
            "1.4.23-3ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20220.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "1.4.23-3ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "2.0.23-1",
            "2.0.27-1",
            "2.0.28-1",
            "2.0.29-1",
            "2.0.29-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20220.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.0.29-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "2.2.8-1",
            "2.2.12-1",
            "2.2.13-1",
            "2.2.14-1",
            "2.2.16-1",
            "2.2.16-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20220.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.2.16-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "2.3.8-2",
            "2.3.8-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20220.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.8-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.3.18-1",
            "2.3.18-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20220.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.18-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.3.20-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20220.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.20-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "undertow",
            "purl": "pkg:deb/ubuntu/undertow?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.3.18-2",
            "2.3.20-1",
            "2.3.20-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20220.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.20-1ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:19.360264577Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-20220"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-20220",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1923133",
        "https://www.cve.org/CVERecord?id=CVE-2021-20220"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-20220",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355256,
  "published_at": "2021-02-23T18:15:00+00:00"
}