-
Notifications
You must be signed in to change notification settings - Fork 2.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
False ksplice vulnernerabilities reported #1205
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
@afdesk Would you mind looking into it? |
afdesk
added a commit
to afdesk/trivy
that referenced
this issue
Sep 2, 2021
Improve a handling of advisories contain ksplice versions: * when one of them doesn't have ksplice, we'll also skip it * extract kspliceX and compare it with kspliceY in advisories * if kspliceX and kspliceY are different, we will skip the advisory. Fixes aquasecurity#1205
afdesk
added a commit
to afdesk/trivy
that referenced
this issue
Sep 3, 2021
simplify code and remove duplicated tests Fixes aquasecurity#1205
knqyf263
pushed a commit
that referenced
this issue
Sep 5, 2021
* fix(oracle): handle advisories contain ksplice versions Improve a handling of advisories contain ksplice versions: * when one of them doesn't have ksplice, we'll also skip it * extract kspliceX and compare it with kspliceY in advisories * if kspliceX and kspliceY are different, we will skip the advisory. Fixes #1205 * fix(oracle): handle advisories contain ksplice versions simplify code and remove duplicated tests Fixes #1205 * run go fmt
This fix will be included in the next release. |
liamg
pushed a commit
that referenced
this issue
Jun 7, 2022
* fix(oracle): handle advisories contain ksplice versions Improve a handling of advisories contain ksplice versions: * when one of them doesn't have ksplice, we'll also skip it * extract kspliceX and compare it with kspliceY in advisories * if kspliceX and kspliceY are different, we will skip the advisory. Fixes #1205 * fix(oracle): handle advisories contain ksplice versions simplify code and remove duplicated tests Fixes #1205 * run go fmt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Scanning the latest
oraclelinux:8
image reports a number of vulnerabilities:All have a reported fix version of
2:2.28-151.0.1.ksplice2.el8
.CVE-2019-9169 has 3 separate errata reports from Oracle:
glibc-2.28-151.0.1.el8
, which is the version installedksplice1
. I believe it's ignored thanks to False Positives being reported from Trivy 0.12.0 - oraclelinux:7-slim image #736 .ksplice2
which is what's being reported by trivy.I do not know anything about ksplice, but my guess is this ksplice2 packaging should be ignored the same as ksplice1.
What did you expect to happen?
No vulnerabilities to be reported
What happened instead?
Vulnerabilities reported that were fixed according to 1 errata, with a ksplice2 fix version.
Output of run with
-debug
:See above
Output of
trivy -v
:Additional details (base image name, container registry info...):
N/A
The text was updated successfully, but these errors were encountered: