nginx 3rd party package detection on alpine #5431
Closed
jkroepke
started this conversation in
False Detection
Replies: 2 comments 2 replies
-
Hello @jkroepke For all
Alpine says that ➜ ~ curl https://secdb.alpinelinux.org/v3.18/main.json | jq '.packages[] | select(.pkg.name == "nginx")'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 64131 100 64131 0 0 160k 0 --:--:-- --:--:-- --:--:-- 163k
{
"pkg": {
"name": "nginx",
"secfixes": {
"0": [
"CVE-2022-3638"
],
"1.12.1-r0": [
"CVE-2017-7529"
],
"1.14.1-r0": [
"CVE-2018-16843",
"CVE-2018-16844",
"CVE-2018-16845"
],
"1.16.1-r0": [
"CVE-2019-9511",
"CVE-2019-9513",
"CVE-2019-9516"
],
"1.16.1-r6": [
"CVE-2019-20372"
],
"1.20.1-r0": [
"CVE-2021-23017"
],
"1.20.1-r1": [
"CVE-2021-3618"
],
"1.20.2-r2": [
"CVE-2021-46461",
"CVE-2021-46462",
"CVE-2021-46463",
"CVE-2022-25139"
],
"1.22.1-r0": [
"CVE-2022-41741",
"CVE-2022-41742"
],
"1.24.0-r7": [
"CVE-2023-44487"
]
}
}
}
Trivy is currently unable to separate official and third party packages. Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
2 replies
-
Issue for this problem exists. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IDs
CVE-2023-44487
Description
The docker image
docker.io/nginxinc/nginx-unprivileged:1.24.0-alpine-slim
shows an vulnerability from a nginx package with an fixable versionBut this image is using nginx package from a different source (https://nginx.org/packages/alpine/v3.18/main/x86_64/) which does not offering 1.24.0-r7.
I have the feeling that trivy thinks that the nginx package comes from the official sources which is not true in that case. In any case, the status should be "NOT FIXED", since there is no other package version in that 3th party repository.
Reproduction Steps
Target
Container Image
Scanner
Vulnerability
Target OS
Alpine 3.18
Debug Output
Version
Checklist
-f json
that shows data sources and confirmed that the security advisory in data sources was correctBeta Was this translation helpful? Give feedback.
All reactions