GHSA-pfcc-3g6r-8rg8 CVE-2022-4492
Undertow client not checking server identity presented by server certificate in https connections
- Severity
- 9.8 / 10
- High · CVSS 3.1
- Exploit chance (EPSS)
- 0.60%
- Chance of exploitation in the next 30 days. Higher than 48.53% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-918 Server-Side Request Forgery (SSRF)
- Fix
2.3.5.Final- Upgrade io.undertow:undertow-core to this version or later
Description
The undertow client is not checking the server identity presented by the server certificate in https connections. This should be performed by default in https and in http/2.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| io.undertow:undertow-core | >= 2.3.0, < 2.3.5.Final |
2.3.5.Final |
| io.undertow:undertow-core | < 2.2.24.Final |
2.2.24.Final |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
io.undertow:undertow-core Maven → 2.3.5.Final
- maven
<dependency><groupId>io.undertow</groupId><artifactId>undertow-core</artifactId><version>2.3.5.Final</version></dependency>- gradle
implementation("io.undertow:undertow-core:2.3.5.Final")
Severity breakdown
CVSS 3.1 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Weakness
CWE-918: Server-Side Request Forgery (SSRF)
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
References
Advisories
Other links
- github.com/undertow-io/undertow/pull/1447
- github.com/undertow-io/undertow/pull/1447/commits/e5071e52b72529a14d3ec436ae710…
- github.com/undertow-io/undertow/pull/1457
- github.com/undertow-io/undertow/pull/1457/commits/a4d3b167126a803cc4f7fb740dd9a…
- access.redhat.com/security/cve/CVE-2022-4492
- bugzilla.redhat.com/show_bug.cgi
- github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/secu…
- issues.redhat.com/browse/MTA-93
- issues.redhat.com/browse/UNDERTOW-2212
- security.netapp.com/advisory/ntap-20230324-0002
- security.netapp.com/advisory/ntap-20230324-0002
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-3x3v-w654-m28m Undertow: Denial of Service via Multipart/Form-Data Parsing on HTTP GET Requests | Medium | Also affects io.undertow:undertow-core |
| GHSA-33hj-rcmx-86mv Undertow Servlets Vulnerable to Remote DoS via OutOfMemoryError when Passed Large Parameter Names | High | Also affects io.undertow:undertow-core |
| GHSA-j382-5jj3-vw4j Undertow HTTP server core doesn't properly validate the Host header in incoming HTTP requests | Critical | Also affects io.undertow:undertow-core |
| GHSA-6h4f-pj3g-q8fq Undertow OutOfMemory when parsing form data encoding with application/x-www-form-urlencoded | High | Also affects io.undertow:undertow-core |
| GHSA-95h4-w6j8-2rp8 Undertow MadeYouReset HTTP/2 DDoS Vulnerability | High | Also affects io.undertow:undertow-core |
| GHSA-3jrv-jgp8-45v3 Undertow incorrectly parses cookies | High | Also affects io.undertow:undertow-core |
| GHSA-97cq-f4jm-mv8h Undertow Denial of Service vulnerability | High | Also affects io.undertow:undertow-core |
| GHSA-9623-mqmm-5rcf Undertow vulnerable to Race Condition | High | Also affects io.undertow:undertow-core |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor