You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting CVE-2020-1971 for alpine:latest (3.12.2 in this case), similar to #39:
trivy image alpine:latest
2020-12-15T13:06:34.066-0600 WARN You should avoid using the :latest tag as it is cached. You need to specify '--clear-cache' option when :latest image is changed
2020-12-15T13:06:35.831-0600 INFO Detecting Alpine vulnerabilities...
2020-12-15T13:06:35.832-0600 INFO Trivy skips scanning programming language libraries because no supported file was detected
alpine:latest (alpine 3.12.2)
=============================
Total: 2 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 2, CRITICAL: 0)
+--------------+------------------+----------+-------------------+---------------+--------------------------------+-----------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE | URL |
+--------------+------------------+----------+-------------------+---------------+--------------------------------+-----------------------------------+
| libcrypto1.1 | CVE-2020-1971 | HIGH | 1.1.1g-r0 | 1.1.1i-r0 | The X.509 GeneralName | avd.aquasec.com/nvd/cve-2020-1971 |
| | | | | | type is a generic type | |
| | | | | | for representing different | |
| | | | | | types... | |
+--------------+ + + + + + +
| libssl1.1 | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
+--------------+------------------+----------+-------------------+---------------+--------------------------------+-----------------------------------+
Upgrading the packages fixes it:
cat Dockerfile
From alpine:latest
RUN apk update && apk upgrade -U -a
docker build -t local .
Sending build context to Docker daemon 1.136MB
Step 1/2 : From alpine:latest
latest: Pulling from library/alpine
05e7bc50f07f: Pull complete
Digest: sha256:a126728cb7db157f0deb377bcba3c5e473e612d7bafc27f6bb4e5e083f9f08c2
Status: Downloaded newer image for alpine:latest
---> b14afc6dfb98
Step 2/2 : RUN apk update && apk upgrade -U -a
---> Running in af97e3b30670
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
v3.12.2-32-g434125893a [http://dl-cdn.alpinelinux.org/alpine/v3.12/main]
v3.12.2-28-g19bfc5f39e [http://dl-cdn.alpinelinux.org/alpine/v3.12/community]
OK: 12747 distinct packages available
(1/2) Upgrading libcrypto1.1 (1.1.1g-r0 -> 1.1.1i-r0)
(2/2) Upgrading libssl1.1 (1.1.1g-r0 -> 1.1.1i-r0)
OK: 6 MiB in 14 packages
Removing intermediate container af97e3b30670
---> f9f6a9f4fb07
Successfully built f9f6a9f4fb07
Successfully tagged local:latest
$ trivy image local:latest
2020-12-15T13:11:15.920-0600 WARN You should avoid using the :latest tag as it is cached. You need to specify '--clear-cache' option when :latest image is changed
2020-12-15T13:11:16.073-0600 INFO Detecting Alpine vulnerabilities...
2020-12-15T13:11:16.073-0600 INFO Trivy skips scanning programming language libraries because no supported file was detected
local:latest (alpine 3.12.2)
============================
Total: 0 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0)
The text was updated successfully, but these errors were encountered:
Getting CVE-2020-1971 for alpine:latest (3.12.2 in this case), similar to #39:
Upgrading the packages fixes it:
The text was updated successfully, but these errors were encountered: