Apache Maven Multiple Security Bypass Vulnerabilities

Bug #1922654 reported by it0001
270
This bug affects 3 people
Affects Status Importance Assigned to Milestone
httpcomponents-client (Ubuntu)
Fix Released
Undecided
Unassigned
maven (Ubuntu)
Fix Released
Undecided
Unassigned
maven-resolver (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

CVE Numbers

CVE‑2021‑26291 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-26291> , CVE‑2020‑13956 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13956>

Description

Multiple vulnerabilities have been reported in Apache Maven, which can be exploited by malicious people to bypass certain security restrictions.

1

An error when resolving custom repositories in dependency POMs over HTTP instead of HTTPS can be exploited to e.g. conduct a MitM (Man-in-the-Middle) attack.

The vulnerabilities are reported in versions prior to 3.8.1.

Affected Software

The following software is affected by the described vulnerability. Please check the vendor links below to see if exactly your version is affected.

Solution

Update to version 3.8.1.

References

1. http://maven.apache.org/docs/3.8.1/release-notes.html <http://maven.apache.org/docs/3.8.1/release-notes.html>

Please provide a solution as soon as possible.

CVE References

it0001 (it0001-escrypt)
description: updated
information type: Private Security → Public Security
Revision history for this message
Eduardo Barretto (ebarretto) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Since the packages referred to in this bug is in universe or multiverse, it is community maintained. If you are able, I suggest coordinating with upstream and posting a debdiff for this issue. When a debdiff is available, members of the security team will review it and publish the package. See the following link for more information: https://wiki.ubuntu.com/SecurityTeam/UpdateProcedures

Changed in httpcomponents-client (Ubuntu):
status: New → Confirmed
Changed in maven (Ubuntu):
status: New → Confirmed
Revision history for this message
Luís Infante da Câmara (luis220413) wrote :
Changed in maven (Ubuntu):
assignee: nobody → Luís Infante da Câmara (luis220413)
Revision history for this message
Luís Infante da Câmara (luis220413) wrote :
Changed in maven (Ubuntu):
assignee: Luís Infante da Câmara (luis220413) → nobody
Revision history for this message
Eduardo Barretto (ebarretto) wrote :
Changed in maven (Ubuntu):
status: Confirmed → Fix Released
Changed in httpcomponents-client (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Luís Infante da Câmara (luis220413) wrote :
Revision history for this message
Luís Infante da Câmara (luis220413) wrote :
Changed in maven-resolver (Ubuntu):
status: New → Fix Released
Revision history for this message
Vladimir Petko (vpa1977) wrote :

I have tried to apply debdiff for maven_focal.debdiff[1]

--------------------
$ debdiff-apply < ../maven_focal.debdiff
Traceback (most recent call last):
  File "/usr/bin/debdiff-apply", line 382, in <module>
    sys.exit(main(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^
  File "/usr/bin/debdiff-apply", line 312, in main
    patch = unidiff.PatchSet(data.splitlines(keepends=True), encoding=enc)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/unidiff/patch.py", line 460, in __init__
    self._parse(data, encoding=encoding, metadata_only=metadata_only)
  File "/usr/lib/python3/dist-packages/unidiff/patch.py", line 548, in _parse
    current_file._parse_hunk(line, diff, encoding, metadata_only)
  File "/usr/lib/python3/dist-packages/unidiff/patch.py", line 316, in _parse_hunk
    raise UnidiffParseError(
unidiff.errors.UnidiffParseError: Hunk diff line expected: diff -Nru maven-3.6.3/debian/control maven-3.6.3/debian/control

--------------------

[1] https://bugs.launchpad.net/ubuntu/+source/maven/+bug/1922654/+attachment/5697379/+files/maven_focal.debdiff

Revision history for this message
Luís Infante da Câmara (luis220413) wrote :
Revision history for this message
Eduardo Barretto (ebarretto) wrote (last edit ):

This patch is not acceptable as you are trying to fix a security issue (already fixed) and a bug issue. Please only upload a debdiff for the bug issue.
Also create a new ticket for that, as this one if for the security issue and that was already fixed.

To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.