-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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]: vulnerability in date-and-time
(NPM) dependencies being flagged in kotlinx-datetime
dependencies
#6864
Comments
Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/10040271163 |
Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/10040275711 |
Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/10040307470 |
The likely reason why |
This broader CVE-level suppression worked for me, but it does assume that the JS-specific dependencies of this KMP library don't actually depend on the affected JS library: <suppress>
<notes><![CDATA[
FP per issue #6864
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.jetbrains\.kotlinx/kotlinx-datetime.*$</packageUrl>
<cve>CVE-2020-26289</cve>
</suppress> |
@volkert-fastned do you still get these FPs? I tried locally to reproduce it using
but the false positives do not show up |
Closing as unable to reproduce and no additional information from the author. |
Failed to automatically evaluate the false positive. See: https://github.com/jeremylong/DependencyCheck/actions/runs/12547552832 |
Package URl
pkg:maven/org.jetbrains.kotlinx/kotlinx-datetime*
CPE
cpe:2.3:a:date-and-time_project:date-and-time:0.6.0:*:*:*:*:*:*:*
CVE
CVE-2020-26289
ODC Integration
{"label"=>"Gradle Plugin"}
ODC Version
10.0.3
Description
This NPM-specific CPE is apparently being erroneously applied to multiple Kotlin dependencies:
Since
kotlinx-datetime
is a Kotlin Multiplatform (KMP) library, the JS-specific dependencies of that library, such askotlinx-datetime-js
, could at least in theory be affected by this vulnerability if they depend on affected versions of thedate-and-time
NPM dependency, but it doesn't look like that's the reason why this vulnerability is getting flagged. (Even if it did, it should only flag it on the applicable-js
dependencies of the library.)The text was updated successfully, but these errors were encountered: