We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Ranges overlap and identical boundaries error while collecting Maven advisories.
Ranges overlap
identical boundaries
ERROR 2024-09-02 09:53:33.477 parse_yaml_file: affected_range is not parsable: '[3.0.0,3.1.1),(,2.3.4)' for: pkg:maven/org.apache.hive/hive-exec error: VersionRangeParseError('Ranges overlap: [3.0.0,3.1.1),(,2.3.4)') Traceback (most recent call last): File "../vulnerablecode/vulnerabilities/pipelines/gitlab_importer.py", line 249, in parse_gitlab_advisory affected_version_range = vrc.from_native(affected_range) File "../vulnerablecode/venv/lib/python3.10/site-packages/univers/version_range.py", line 784, in from_native restrictions = maven.VersionRange(string).restrictions File "../vulnerablecode/venv/lib/python3.10/site-packages/univers/maven.py", line 226, in __init__ raise VersionRangeParseError("Ranges overlap: %s" % spec) univers.maven.VersionRangeParseError: Ranges overlap: [3.0.0,3.1.1),(,2.3.4)
ERROR 2024-09-02 09:53:34.309 parse_yaml_file: affected_range is not parsable: '[16.0,17.0),[16.0,16.0]' for: pkg:maven/org.opencms/opencms-core error: RestrictionParseError('Range cannot have identical boundaries: [16.0,16.0]') Traceback (most recent call last): File "../vulnerablecode/vulnerabilities/pipelines/gitlab_importer.py", line 249, in parse_gitlab_advisory affected_version_range = vrc.from_native(affected_range) File "../vulnerablecode/venv/lib/python3.10/site-packages/univers/version_range.py", line 784, in from_native restrictions = maven.VersionRange(string).restrictions File "../vulnerablecode/venv/lib/python3.10/site-packages/univers/maven.py", line 219, in __init__ restriction = Restriction(_spec[0 : close + 1]) File "../vulnerablecode/venv/lib/python3.10/site-packages/univers/maven.py", line 81, in __init__ raise RestrictionParseError("Range cannot have identical boundaries: %s" % spec) univers.maven.RestrictionParseError: Range cannot have identical boundaries: [16.0,16.0]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Incorrect
Ranges overlap
andidentical boundaries
error while collecting Maven advisories.Ranges overlap
andidentical boundaries
error while parsing maven version range univers#142The text was updated successfully, but these errors were encountered: