Skip to content

Possible hang in XML Parser #35

Closed
Closed
@rohanpadhye

Description

@rohanpadhye

Found another XML issue via Maven, but not sure if it is rooted in plexus-utils.

hang.xml:

<project /><?>

Test:

mvn -f hang.xml
> [INFO] Scanning for projects...   # Gets stuck here forever

My profiler shows me that 100% CPU is being spent in: org.codehaus.plexus.util.xml.XmlReader.read().

I've reported this to Maven in MGN-6374, but I'm not sure which is the right project to report this to.

Versions affected: Maven 3.5.2 and plexus-utils 3.1.0.

This issue was also encountered when fuzzing with JQF.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions