CVE-2022-4492
Undertow client not checking server identity presented by server certificate in https connections
Also known as GHSA-pfcc-3g6r-8rg8
Mitigation
- Upgrade io.undertow:undertow-core to one of 2.3.5.Final, 2.2.24.Final (or later in the same release line).
Who should check
- Projects that depend on Maven package io.undertow:undertow-core (>= 2.3.0, < 2.3.5.Final)
- Anyone running undertow 2.7
Vulnerability facts
- Affected
- io.undertow:undertow-core >= 2.3.0, < 2.3.5.Final
- Fixed in
- 2.3.5.Final, 2.2.24.Final
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-918
- Modified
Description
The undertow client is not checking the server identity presented by the server certificate in https connections. This is a compulsory step (at least it should be performed by default) in https and in http/2. I would add it to any TLS client protocol.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven io.undertow:undertow-core | >= 2.3.0, < 2.3.5.Final | 2.3.5.Final, 2.2.24.Final | osv |
| undertow | 2.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-4492. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-4492.md Affected: io.undertow:undertow-core >= 2.3.0, < 2.3.5.Final Fixed in: 2.3.5.Final, 2.2.24.Final Steps: 1. Search this machine and project for io.undertow:undertow-core (Maven), undertow: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://security.netapp.com/advisory/ntap-20230324-0002/
- https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/security/impl/ClientCertAuthenticationMechanism.java
- https://issues.redhat.com/browse/MTA-93
- https://issues.redhat.com/browse/UNDERTOW-2212
- https://security.netapp.com/advisory/ntap-20230324-0002
FAQ
Is CVE-2022-4492 being exploited?
There is no confirmed exploitation: CVE-2022-4492 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-4492?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2022-4492?
io.undertow:undertow-core >= 2.3.0, < 2.3.5.Final.
Is there a fix for CVE-2022-4492?
Yes. Fixed in 2.3.5.Final, 2.2.24.Final. Upgrade io.undertow:undertow-core to one of 2.3.5.Final, 2.2.24.Final (or later in the same release line).
How do I check if I'm affected by CVE-2022-4492?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.