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

NVD Strike in core-ktlint #192

Closed
FloTank opened this issue Jan 24, 2024 · 1 comment
Closed

NVD Strike in core-ktlint #192

FloTank opened this issue Jan 24, 2024 · 1 comment

Comments

@FloTank
Copy link

FloTank commented Jan 24, 2024

NVD is failing cause its confusing the core-ktlint package with the ktlint-core package of the 0.30.0 version of the pinterest ktlint library https://github.com/pinterest/ktlint/tree/0.30.0/ktlint-core

OWASP-Dependency-Check is striking your library cause of that.

This is the issue your Library is now being reference to: https://nvd.nist.gov/vuln/detail/CVE-2019-1010260

@mrmans0n
Copy link
Owner

mrmans0n commented Jan 24, 2024

Sadly, there is little we can do about this on our end realistically. Changing the name of coordinates isn't a proper solution, nor is bumping the project version.

This issue was known on the pre-forked library issues, so remember I left it open on purpose so it would serve as documentation for people that want to know how to suppress this false positive. twitter#73

This is the suppression code that was referenced there:

<?xml version="1.0" encoding="UTF-8"?>
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
    <suppress>
        <notes><![CDATA[
        Wrong detection of core-ktlint library, see: https://github.com/twitter/compose-rules/issues/73
        ]]></notes>
        <sha1>8b163196c50e68a62e3b5bb910a99e8415889654</sha1>
        <cve>CVE-2019-1010260</cve>
    </suppress>
    <suppress>
        <notes><![CDATA[
        Wrong detection of ktlint ruleset library, see: https://github.com/twitter/compose-rules/issues/73
        ]]></notes>
        <sha1>de64d1b35289d73edac35724941de3099193f782</sha1>
        <cve>CVE-2019-1010260</cve>
    </suppress>
</suppressions>

@mrmans0n mrmans0n closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants