Skip to content
Heist/ feed
Back to feed
Critical

undertow — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2020-1745

A file inclusion vulnerability was found in the AJP connector enabled with a default AJP configuration port of 8009 in Undertow version 2.0.29.Final and before and was fixed in 2.0.30.Final. A remote, unauthenticated attacker could exploit this vulnerability to read web application files from a vulnerable server. In instances where the vulnerable server allows file uploads, an attacker could upload malicious JavaServer Pages (JSP) code within a variety of file types and trigger this vulnerability to gain remote code execution.

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.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-2020-1745
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:57 UTC · Revision 1

Source evidence

UBUNTU-CVE-2020-1745

core-osv · Original source

Published 28 Apr 2020, 15:15 UTC

A file inclusion vulnerability was found in the AJP connector enabled with a default AJP configuration port of 8009 in Undertow version 2.0.29.Final and before and was fixed in 2.0.30.Final. A remote, unauthenticated attacker could exploit this vulnerability to read web application files from a vulnerable server. In instances where the vulnerable server allows file uploads, an attacker could upload malicious JavaServer Pages (JSP) code within a variety of file types and trigger this vulnerability to gain remote code execution.

osv:UBUNTU-CVE-2020-1745

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": "0bd09f850b0f50f757c01d31a9f1b1bb7d49bf7f1a37270c0fb18796dc3d4fe9",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-1745",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2020-1745",
    "summary": "A file inclusion vulnerability was found in the AJP connector enabled with a default AJP configuration port of 8009 in Undertow version 2.0.29.Final and before and was fixed in 2.0.30.Final. A remote, unauthenticated attacker could exploit this vulnerability to read web application files from a vulnerable server. In instances where the vulnerable server allows file uploads, an attacker could upload malicious JavaServer Pages (JSP) code within a variety of file types and trigger this vulnerability to gain remote code execution.",
    "evidence": "osv:UBUNTU-CVE-2020-1745",
    "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.3.8-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.3.8-2ubuntu0.1~esm1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.18-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.3.18-2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.20-1ubuntu1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "undertow",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.18-2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.3.20-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.3.20-1ubuntu1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2020-1745",
      "aliases": [
        "UBUNTU-CVE-2020-1745"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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/2020/UBUNTU-CVE-2020-1745.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/2020/UBUNTU-CVE-2020-1745.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/2020/UBUNTU-CVE-2020-1745.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%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/2020/UBUNTU-CVE-2020-1745.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/2020/UBUNTU-CVE-2020-1745.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/2020/UBUNTU-CVE-2020-1745.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/2020/UBUNTU-CVE-2020-1745.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libundertow-java",
                "binary_version": "2.3.20-1ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:18.811220924Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-1745"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2020-1745",
        "https://bugzilla.redhat.com/show_bug.cgi?id=1807305",
        "https://access.redhat.com/security/cve/CVE-2020-1938",
        "https://www.cve.org/CVERecord?id=CVE-2020-1745"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-1745",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 355214,
  "published_at": "2020-04-28T15:15:00+00:00"
}