Skip to content

Checkmarx AI Remediation - CVE-2020-1757#11

Open
juegge wants to merge 1 commit into
create-some-vulnsfrom
cx-ai-agent-create-some-vulns-IujE2sxA5o7ds8C5
Open

Checkmarx AI Remediation - CVE-2020-1757#11
juegge wants to merge 1 commit into
create-some-vulnsfrom
cx-ai-agent-create-some-vulns-IujE2sxA5o7ds8C5

Conversation

@juegge
Copy link
Copy Markdown
Contributor

@juegge juegge commented Mar 6, 2026

Logo
Checkmarx One – Remediation


CVE-2020-1757 · High

Triage context: Reachable · Exploitable

Fix CVE-2020-1757 path normalization vulnerability in undertow-core

What is the issue?
CVE-2020-1757 is a HIGH severity vulnerability in undertow-core versions prior to 2.0.30.SP1 and 2.1.0.Final that incorrectly normalizes servlet paths by truncating after semicolons. This path normalization flaw allows attackers to bypass security constraints and access unauthorized resources through malformed URL paths containing semicolons, exploiting improper input validation (CWE-20).

Why should it be fixed?
This vulnerability poses a significant security risk with a network attack vector and low attack complexity, making it easily exploitable remotely. Successful exploitation could lead to unauthorized access to sensitive data and protected application endpoints. The application actively uses undertow's AJP protocol classes, directly exposing it to path manipulation attacks.

How should it be fixed?
Upgrading undertow-core from version 2.0.9.Final to 2.2.39.Final in pom.xml. This version includes security patches that fix the path normalization logic to properly handle semicolons in servlet paths. Running mvn dependency:resolve to ensure Maven's dependency resolution is updated and the new version is properly locked. No application code changes are required as the upgrade maintains backward compatibility with existing undertow class usage.


Use @Checkmarx to interact with Checkmarx PR Assistant.
Examples:
@Checkmarx how are you able to help me?
@Checkmarx rescan this PR

@juegge
Copy link
Copy Markdown
Contributor Author

juegge commented Mar 6, 2026

Logo
Checkmarx One – Scan Summary & Details2a3e0223-9618-4857-ba54-535b9e518616


Fixed Issues (36)

Critical: 4 · High: 23 · Medium: 9

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
CRITICAL CVE-2019-10212 Maven-io.undertow:undertow-core-2.0.9.Final
CRITICAL CVE-2019-3888 Maven-io.undertow:undertow-core-2.0.9.Final
CRITICAL CVE-2020-1745 Maven-io.undertow:undertow-core-2.0.9.Final
CRITICAL CVE-2025-12543 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2019-14888 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2020-10705 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2020-1757 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2020-27782 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2021-3690 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2021-3859 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2022-0084 Maven-org.jboss.xnio:xnio-api-3.3.8.Final
HIGH CVE-2022-1319 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2022-2053 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2022-4492 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2023-1108 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2023-1973 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2023-3223 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2023-4639 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2023-5379 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2023-5685 Maven-org.jboss.xnio:xnio-api-3.3.8.Final
HIGH CVE-2024-1635 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2024-3884 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2024-4027 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2024-5971 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2024-6162 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2024-7885 Maven-io.undertow:undertow-core-2.0.9.Final
HIGH CVE-2025-9784 Maven-io.undertow:undertow-core-2.0.9.Final
MEDIUM CVE-2020-10687 Maven-io.undertow:undertow-core-2.0.9.Final
MEDIUM CVE-2020-10719 Maven-io.undertow:undertow-core-2.0.9.Final
MEDIUM CVE-2020-14340 Maven-org.jboss.xnio:xnio-nio-3.3.8.Final
MEDIUM CVE-2021-20220 Maven-io.undertow:undertow-core-2.0.9.Final
MEDIUM CVE-2021-3597 Maven-io.undertow:undertow-core-2.0.9.Final
MEDIUM CVE-2021-3629 Maven-io.undertow:undertow-core-2.0.9.Final
MEDIUM CVE-2022-2764 Maven-io.undertow:undertow-core-2.0.9.Final
MEDIUM CVE-2024-1459 Maven-io.undertow:undertow-core-2.0.9.Final
MEDIUM CVE-2024-3653 Maven-io.undertow:undertow-core-2.0.9.Final

Use @Checkmarx to interact with Checkmarx PR Assistant.
Examples:
@Checkmarx how are you able to help me?
@Checkmarx rescan this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant