{"id":"CVE-2024-4027","published":"2026-01-30T14:25:54Z","modified":"2026-09-01T12:04:59Z","title":"Undertow: outofmemoryerror in httpservletrequestimpl.getparameternames() can cause remote dos attacks","vendor":"Red Hat","product":"Red Hat build of Apicurio Registry 2","tier":"tail","description":{"text":"A flaw was found in Undertow. Servlets using a method that calls HttpServletRequestImpl.getParameterNames() can cause an OutOfMemoryError when the client sends a request with large parameter names. This issue can be exploited by an unauthorized user to cause a remote denial-of-service (DoS) attack.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00401,"percentile":0.34332,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-4027","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2276410","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-4027.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":6.87},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat build of Apicurio Registry 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Fuse 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Integration Camel K 1","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","versions":["all versions"]}],"affected":[{"ecosystem":"Maven","package":"io.undertow:undertow-core","vulnerableRanges":["<2.2.39.Final",">=2.4.0.Alpha1, <2.4.0.Beta1",">=2.3.0.Alpha1, <2.3.21.Final"],"patched":["2.2.39.Final","2.4.0.Beta1","2.3.21.Final"],"from":["GHSA-33hj-rcmx-86mv"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-32593","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-undertow-cve-2016-4993","parents":[{"from":"CVE-2017-12196","to":"CVE-2024-4027","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/io/undertow/security/impl/DigestAuthenticationMechanism.java"],"commits":["https://github.com/undertow-io/undertow/commit/facb33a5cedaf4b7b96d3840a08210370a806870","https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b","https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7"],"basis":"shared function","functions":["handleDigestHeader"]}]},{"from":"CVE-2017-12165","to":"CVE-2024-4027","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/io/undertow/server/Connectors.java","core/src/main/java/io/undertow/server/protocol/ajp/AjpRequestParser.java","core/src/main/java/io/undertow/server/protocol/http/HttpReadListener.java","core/src/main/java/io/undertow/server/protocol/http/HttpRequestParser.java","core/src/main/java/io/undertow/server/protocol/http2/Http2ReceiveListener.java"],"commits":["https://github.com/undertow-io/undertow/commit/1e72647818c9fb31b693a953b1ae595a6c82eb7f","https://github.com/undertow-io/undertow/commit/5b008b7ac312c6cdb76679ff58c43620bb79d44f","https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b","https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7"],"basis":"shared function","functions":["handleEventWithNoRunningRequest","parse"]}]},{"from":"CVE-2021-3690","to":"CVE-2024-4027","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["websockets-jsr/src/main/java/io/undertow/websockets/jsr/FrameHandler.java"],"commits":["https://github.com/undertow-io/undertow/commit/c7e84a0b7efced38506d7d1dfea5902366973877","https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b","https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7"],"basis":"shared function","functions":["run"]}]},{"from":"CVE-2022-4492","to":"CVE-2024-4027","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/io/undertow/UndertowOptions.java"],"commits":["https://github.com/undertow-io/undertow/commit/e5071e52b72529a14d3ec436ae7102cea5d918c4","https://github.com/undertow-io/undertow/commit/a4d3b167126a803cc4f7fb740dd9a6ecabf59342","https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b","https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7"],"basis":"shared function","functions":["UndertowOptions"]}]},{"from":"CVE-2024-6162","to":"CVE-2024-4027","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core/src/main/java/io/undertow/server/protocol/ajp/AjpRequestParser.java"],"commits":["https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b","https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7","https://github.com/undertow-io/undertow/commit/a28ac53076e2fa532266d25e0c0b1a01d0e9d2cf","https://github.com/undertow-io/undertow/commit/90f202ada89b6d9883beed0f1fe10c99d470d9a8"],"basis":"shared function","functions":["parse"]}]},{"from":"CVE-2024-3884","to":"CVE-2024-4027","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["build.metadata","core/src/main/java/io/undertow/Handlers.java","core/src/main/java/io/undertow/UndertowLogger.java","core/src/main/java/io/undertow/UndertowOptions.java","core/src/main/java/io/undertow/attribute/QueryStringAttribute.java"],"commits":["https://github.com/undertow-io/undertow/commit/cb854c779b9e2368c3c274ebd7217c8e75d505be","https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b","https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7"],"basis":"shared function","functions":["HttpReadListener","HttpServerExchange","LearningPushHandler","QueryStringAttribute","ServerWebSocketContainer"]}]}],"packageHistory":[{"cve":"CVE-2025-9784","published":"2025-09-02","fixed":"2.3.20.Final","kev":false,"link":{"from":"CVE-2025-9784","to":"CVE-2024-4027","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.undertow:undertow-core","fromFixed":"2.2.38.Final","toFixed":"2.2.39.Final","daysApart":150}]}},{"cve":"CVE-2025-12543","published":"2026-01-07","fixed":"2.3.21.Final","kev":false},{"cve":"CVE-2024-3884","published":"2025-12-03","fixed":"2.4.0.Beta1","kev":false},{"cve":"CVE-2024-4027","published":"2026-01-30","fixed":"2.4.0.Beta1","kev":false}],"package":"Maven:io.undertow:undertow-core"}}