Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    UBUNTU-CVE-2021-26291 (CVE-2021-26291)

    Vulnerability from osv_ubuntu – Published: 2021-04-23 15:15 – Updated: 2026-11-24 09:44 – Source website
    VLAI
    Details

    Apache Maven will follow repositories that are defined in a dependency’s Project Object Model (pom) which may be surprising to some users, resulting in potential risk if a malicious actor takes over that repository or is able to insert themselves into a position to pretend to be that repository. Maven is changing the default behavior in 3.8.1+ to no longer follow http (non-SSL) repository references by default. More details available in the referenced urls. If you are currently using a repository manager to govern the repositories used by your builds, you are unaffected by the risks present in the legacy behavior, and are unaffected by this vulnerability and change to default behavior. See this link for more information about repository management: https://maven.apache.org/repository-management.html

    Upstream
    Severity
    Impacted products
    Ecosystem Package Version
    Ubuntu:14.04:LTS maven
    pkg:deb/ubuntu/maven@3.0.5-1?arch=source&distro=trusty
    Affected: All versions (ecosystem)
    3.0.4-63.0.5-1
    Ubuntu:Pro:16.04:LTS maven
    pkg:deb/ubuntu/maven@3.3.9-3ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial
    Affected: < 3.3.9-3ubuntu0.1~esm1 (ecosystem)
    3.3.3-33.3.3-43.3.9-13.3.9-23.3.9-3
    Ubuntu:Pro:18.04:LTS maven
    pkg:deb/ubuntu/maven@3.6.0-1~18.04.1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic
    Affected: < 3.6.0-1~18.04.1ubuntu0.1~esm1 (ecosystem)
    3.5.0-63.5.0-83.5.2-13.5.2-23.6.0-1~18.04.1
    Ubuntu:Pro:20.04:LTS maven
    pkg:deb/ubuntu/maven@3.6.3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal
    Affected: < 3.6.3-1ubuntu0.1~esm1 (ecosystem)
    3.6.1-13.6.2-13.6.3-1
    Ubuntu:Pro:22.04:LTS maven
    pkg:deb/ubuntu/maven@3.6.3-5ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy
    Affected: < 3.6.3-5ubuntu0.1~esm1 (ecosystem)
    3.6.3-5

    {
      "affected": [
        {
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "maven",
                "binary_version": "3.0.5-1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:14.04:LTS",
            "name": "maven",
            "purl": "pkg:deb/ubuntu/maven@3.0.5-1?arch=source\u0026distro=trusty"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.0.4-6",
            "3.0.5-1"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
            "binaries": [
              {
                "binary_name": "libmaven3-core-java",
                "binary_version": "3.3.9-3ubuntu0.1~esm1"
              },
              {
                "binary_name": "maven",
                "binary_version": "3.3.9-3ubuntu0.1~esm1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:Pro:16.04:LTS",
            "name": "maven",
            "purl": "pkg:deb/ubuntu/maven@3.3.9-3ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.3.9-3ubuntu0.1~esm1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.3.3-3",
            "3.3.3-4",
            "3.3.9-1",
            "3.3.9-2",
            "3.3.9-3"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
            "binaries": [
              {
                "binary_name": "libmaven3-core-java",
                "binary_version": "3.6.0-1~18.04.1ubuntu0.1~esm1"
              },
              {
                "binary_name": "maven",
                "binary_version": "3.6.0-1~18.04.1ubuntu0.1~esm1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:Pro:18.04:LTS",
            "name": "maven",
            "purl": "pkg:deb/ubuntu/maven@3.6.0-1~18.04.1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.0-1~18.04.1ubuntu0.1~esm1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.5.0-6",
            "3.5.0-8",
            "3.5.2-1",
            "3.5.2-2",
            "3.6.0-1~18.04.1"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
            "binaries": [
              {
                "binary_name": "libmaven3-core-java",
                "binary_version": "3.6.3-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "maven",
                "binary_version": "3.6.3-1ubuntu0.1~esm1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:Pro:20.04:LTS",
            "name": "maven",
            "purl": "pkg:deb/ubuntu/maven@3.6.3-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.3-1ubuntu0.1~esm1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.6.1-1",
            "3.6.2-1",
            "3.6.3-1"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
            "binaries": [
              {
                "binary_name": "libmaven3-core-java",
                "binary_version": "3.6.3-5ubuntu0.1~esm1"
              },
              {
                "binary_name": "maven",
                "binary_version": "3.6.3-5ubuntu0.1~esm1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:Pro:22.04:LTS",
            "name": "maven",
            "purl": "pkg:deb/ubuntu/maven@3.6.3-5ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/jammy"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.6.3-5ubuntu0.1~esm1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.6.3-5"
          ]
        }
      ],
      "aliases": [],
      "details": "Apache Maven will follow repositories that are defined in a dependency\u2019s Project Object Model (pom) which may be surprising to some users, resulting in potential risk if a malicious actor takes over that repository or is able to insert themselves into a position to pretend to be that repository. Maven is changing the default behavior in 3.8.1+ to no longer follow http (non-SSL) repository references by default. More details available in the referenced urls. If you are currently using a repository manager to govern the repositories used by your builds, you are unaffected by the risks present in the legacy behavior, and are unaffected by this vulnerability and change to default behavior. See this link for more information about repository management: https://maven.apache.org/repository-management.html",
      "id": "UBUNTU-CVE-2021-26291",
      "modified": "2026-11-24T09:44:58Z",
      "published": "2021-04-23T15:15:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2021-26291"
        },
        {
          "type": "REPORT",
          "url": "https://www.openwall.com/lists/oss-security/2021/04/23/5"
        },
        {
          "type": "REPORT",
          "url": "https://issues.apache.org/jira/browse/MNG-7118"
        },
        {
          "type": "REPORT",
          "url": "https://github.com/apache/maven/commit/907d53ad3264718f66ff15e1363d76b07dd0c05f"
        },
        {
          "type": "REPORT",
          "url": "https://github.com/apache/maven/commit/67125676eef313e592da6424a9be0c90c5e6bca5"
        },
        {
          "type": "REPORT",
          "url": "https://lists.apache.org/thread.html/r9a027668558264c4897633e66bcb7784099fdec9f9b22c38c2442f00%40%3Cusers.maven.apache.org%3E"
        },
        {
          "type": "REPORT",
          "url": "https://lists.apache.org/thread.html/r06db4057b74e0598a412734f693a34a8836ac6f06d16d139e5e1027c@%3Cdev.maven.apache.org%3E"
        },
        {
          "type": "REPORT",
          "url": "https://lists.apache.org/thread.html/r9a027668558264c4897633e66bcb7784099fdec9f9b22c38c2442f00@%3Cusers.maven.apache.org%3E"
        },
        {
          "type": "REPORT",
          "url": "http://www.openwall.com/lists/oss-security/2021/04/23/5"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-5245-1"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-26291"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-5805-1"
        }
      ],
      "related": [
        "USN-5245-1",
        "USN-5805-1"
      ],
      "schema_version": "1.9.2",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
          "source": "NVD",
          "type": "CVSS_V3"
        },
        {
          "score": "medium",
          "source": "SELF",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2021-26291"
      ]
    }