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]: Apache libfb303-0.9.3 matches Facebook libfb303 and Apache thrift #5781

Closed
karstenspang opened this issue Jun 19, 2023 · 3 comments
Closed
Labels
FP Report maven changes to the maven plugin

Comments

@karstenspang
Copy link

Package URl

pkg:maven/org.apache.thrift/libfb303@0.9.3

CPE

cpe:2.3:a:apache:thrift:0.9.3:*:*:*:*:*:*:*

CVE

No response

ODC Integration

{"label"=>"Maven Plugin"}

ODC Version

8.3.1

Description

The Apache thrift consists of two artifacts, libthrift and libfb303. Vulnerabilities have been reported in libthrift version 0.9.3 to 0.13.0. Newer versions have been provided, fixing those issues. But since no vulnerabilities have been found in libfb303, its version stays at 0.9.3. It is problematic that the two artifacts share the CPE.

Thrift was first developed by Facebook, but later was taken over by Apache.
Apart from the mentioned CPE, it also matches cpe:2.3:a:facebook:thrift:0.9.3:*:*:*:*:*:*:*, i.e. the old Facebook one. This is definitely wrong, since the group ID clearly identifies the artifact as the Apache one.

@github-actions
Copy link
Contributor

Maven Coordinates

<dependency>
   <groupId>org.apache.thrift</groupId>
   <artifactId>libfb303</artifactId>
   <version>0.9.3</version>
</dependency>

Suppression rule:

<suppress base="true">
   <notes><![CDATA[
   FP per issue #5781
   ]]></notes>
   <packageUrl regex="true">^pkg:maven/org\.apache\.thrift/libfb303@.*$</packageUrl>
   <cpe>cpe:/a:apache:thrift</cpe>
</suppress>

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

@github-actions github-actions bot added the maven changes to the maven plugin label Jun 19, 2023
@aikebah
Copy link
Collaborator

aikebah commented Jun 21, 2023

approved

@github-actions
Copy link
Contributor

Suppress rule has been added to the generatedSuppressions branch.

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

No branches or pull requests

2 participants