Skip to content
Heist/ feed
Back to feed
High

undertow — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-7885

A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across multiple requests. This issue occurs when the parseProxyProtocolV1 method processes multiple requests on the same HTTP connection. As a result, different requests may share the same StringBuilder instance, potentially leading to information leakage between requests or responses. In some cases, a value from a previous request or response may be erroneously reused, which could lead to unintended data exposure. This issue primarily results in errors and connection termination but creates a risk of data leakage in multi-request environments.

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-2024-7885
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:11 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-7885

core-osv · Original source

Published 21 Aug 2024, 14:15 UTC

A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across multiple requests. This issue occurs when the parseProxyProtocolV1 method processes multiple requests on the same HTTP connection. As a result, different requests may share the same StringBuilder instance, potentially leading to information leakage between requests or responses. In some cases, a value from a previous request or response may be erroneously reused, which could lead to unintended data exposure. This issue primarily results in errors and connection termination but creates a risk of data leakage in multi-request environments.

osv:UBUNTU-CVE-2024-7885

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": "fdd4de7517a41df3de835db82b529e331a8bdb875bfe608b57535d2088cd4113",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-7885",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-7885",
    "summary": "A vulnerability was found in Undertow where the ProxyProtocolReadListener reuses the same StringBuilder instance across multiple requests. This issue occurs when the parseProxyProtocolV1 method processes multiple requests on the same HTTP connection. As a result, different requests may share the same StringBuilder instance, potentially leading to information leakage between requests or responses. In some cases, a value from a previous request or response may be erroneously reused, which could lead to unintended data exposure. This issue primarily results in errors and connection termination but creates a risk of data leakage in multi-request environments.",
    "evidence": "osv:UBUNTU-CVE-2024-7885",
    "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": "high",
    "structured": {
      "id": "UBUNTU-CVE-2024-7885",
      "aliases": [
        "UBUNTU-CVE-2024-7885"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "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/2024/UBUNTU-CVE-2024-7885.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/2024/UBUNTU-CVE-2024-7885.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/2024/UBUNTU-CVE-2024-7885.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/2024/UBUNTU-CVE-2024-7885.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/2024/UBUNTU-CVE-2024-7885.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/2024/UBUNTU-CVE-2024-7885.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/2024/UBUNTU-CVE-2024-7885.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/2024/UBUNTU-CVE-2024-7885.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.20-1ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:41.910904488Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-7885"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-7885",
        "https://www.cve.org/CVERecord?id=CVE-2024-7885",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2305290",
        "https://access.redhat.com/security/cve/CVE-2024-7885"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-7885",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355975,
  "published_at": "2024-08-21T14:15:00+00:00"
}