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

PostgreSQL JDBC false positive: version ranges misread #1488

Closed
mirabilos opened this issue Sep 12, 2018 · 5 comments
Closed

PostgreSQL JDBC false positive: version ranges misread #1488

mirabilos opened this issue Sep 12, 2018 · 5 comments

Comments

@mirabilos
Copy link

False positive on PostgreSQL JDBC - reported as:

postgresql-42.2.5.jar (org.postgresql:postgresql:42.2.5, cpe:/a:postgresql:postgresql:42.2.5, cpe:/a:postgresql:postgresql_jdbc_driver:42.2.5) : CVE-2018-1115
<dependency>
	<groupId>org.postgresql</groupId>
	<artifactId>postgresql</artifactId>
	<version>42.2.5</version>
</dependency>

CVE-2018-1115 affects PostgreSQL “before versions 10.4, 9.6.9” (and then only the admin pack), but 42.2.5 is definitely higher than 10.4 so it should not fire at all!

So, there’s ① a bug in the version matching (or the NVE data) and ② the JDBC should only be affected by JDBC bugs, not database bugs, if possible (probably outside the scope of your plugin, but you’d know better whom to report this issue to, especially as there is already a cpe for the JDBC, as far as I can see above).

@mprins
Copy link
Contributor

mprins commented Sep 13, 2018

You've failed to give us the version you are using, however this appears to have been fixed for some time now, see 9bc315c

@mirabilos
Copy link
Author

mirabilos commented Sep 13, 2018 via email

@mirabilos
Copy link
Author

Hm, I see, so upgrading the plugin to 3.3.1 will likely fix that?

@mirabilos
Copy link
Author

Yup, fixed. Thanks, and sorry for the noise.

@lock
Copy link

lock bot commented Oct 13, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Oct 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants