Skip to content
New issue

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

[FP]: prometheus-metrics-* packages are identified as prometheus server (CVE-2019-3826) #6686

Open
aggeboe opened this issue May 24, 2024 · 9 comments
Labels
FP Report maven changes to the maven plugin

Comments

@aggeboe
Copy link

aggeboe commented May 24, 2024

Package URl

pkg:maven/io.prometheus/[email protected]

CPE

cpe:2.3:a:prometheus:prometheus:1.2.1:::::::*

CVE

CVE-2019-3826

ODC Integration

{"label"=>"Gradle Plugin"}

ODC Version

8.4.3

Description

prometheus-metrics-config-1.2.1.jar (pkg:maven/io.prometheus/[email protected], cpe:2.3:a:prometheus:prometheus:1.2.1:::::::) : CVE-2019-3826
prometheus-metrics-core-1.2.1.jar (pkg:maven/io.prometheus/[email protected], cpe:2.3:a:prometheus:prometheus:1.2.1:
::::::) : CVE-2019-3826
prometheus-metrics-exposition-formats-1.2.1.jar (pkg:maven/io.prometheus/[email protected], cpe:2.3:a:prometheus:prometheus:1.2.1:::::::) : CVE-2019-3826
prometheus-metrics-model-1.2.1.jar (pkg:maven/io.prometheus/[email protected], cpe:2.3:a:prometheus:prometheus:1.2.1:
::::::) : CVE-2019-3826
prometheus-metrics-shaded-protobuf-1.2.1.jar (pkg:maven/io.prometheus/[email protected], cpe:2.3:a:prometheus:prometheus:1.2.1:::::::, cpe:2.3:a:protobuf:protobuf:1.2.1:::::::) : CVE-2019-3826
prometheus-metrics-tracer-common-1.2.1.jar (pkg:maven/io.prometheus/[email protected], cpe:2.3:a:prometheus:prometheus:1.2.1:::::::*) : CVE-2019-3826

Copy link
Contributor

Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/9222420898

Copy link
Contributor

Error parsing package url: pkg:maven/io.prometheus/[email protected],.

Error: Error: Invalid purl: version must be percent-encoded

Please correct the package URL - consider copying the package url from the HTML report.

Copy link
Contributor

Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/9222454485

Copy link
Contributor

Maven Coordinates

<dependency>
   <groupId>io.prometheus</groupId>
   <artifactId>prometheus-metrics-config</artifactId>
   <version>1.2.1</version>
</dependency>

Suppression rule:

<suppress base="true">
   <notes><![CDATA[
   FP per issue #6686
   ]]></notes>
   <packageUrl regex="true">^pkg:maven/io\.prometheus/prometheus-metrics-config@.*$</packageUrl>
   <cpe>cpe:/a:prometheus:prometheus</cpe>
</suppress>

Link to test results: https://github.com/jeremylong/DependencyCheck/actions/runs/9222469707

@github-actions github-actions bot added the maven changes to the maven plugin label May 24, 2024
Copy link
Contributor

Error parsing package url: pkg:maven/io.prometheus/[email protected]
pkg:maven/io.prometheus/[email protected].

Error: Error: Invalid purl: version must be percent-encoded

Please correct the package URL - consider copying the package url from the HTML report.

Copy link
Contributor

Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/9222513263

Copy link
Contributor

Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/9222543399

Copy link
Contributor

Maven Coordinates

<dependency>
   <groupId>io.prometheus</groupId>
   <artifactId>prometheus-metrics-config</artifactId>
   <version>1.2.1</version>
</dependency>

Suppression rule:

<suppress base="true">
   <notes><![CDATA[
   FP per issue #6686
   ]]></notes>
   <packageUrl regex="true">^pkg:maven/io\.prometheus/prometheus-metrics-config@.*$</packageUrl>
   <cpe>cpe:/a:prometheus:prometheus</cpe>
</suppress>

Link to test results: https://github.com/jeremylong/DependencyCheck/actions/runs/9222601109

@aggeboe
Copy link
Author

aggeboe commented May 24, 2024

The suppression rule should be updated to something like

<suppress base="true">
   <notes><![CDATA[
   FP per issue #6686
   ]]></notes>
   <packageUrl regex="true">^pkg:maven/io\.prometheus/prometheus-metrics-.*@.*$</packageUrl>
   <cpe>cpe:/a:prometheus:prometheus</cpe>
</suppress>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FP Report maven changes to the maven plugin
Projects
None yet
Development

No branches or pull requests

1 participant