forked from mtusi2026/mtusi2026lab7
ЛР7: прогон в Docker, исправления по результатам, evidence и отчёт
This commit is contained in:
@@ -0,0 +1,226 @@
|
||||
# scan-trivy-infra
|
||||
# date: 2026-12-03T00:38:16 commit: cbbe525
|
||||
|
||||
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v mtusi-trivy-cache:/root/.cache/ aquasec/trivy:0.58.1 image --scanners vuln --severity CRITICAL --no-progress postgres:16.4-alpine
|
||||
2026-12-02T23:38:16Z INFO [vuln] Vulnerability scanning is enabled
|
||||
2026-12-02T23:38:23Z INFO Detected OS family="alpine" version="3.20.3"
|
||||
2026-12-02T23:38:23Z INFO [alpine] Detecting vulnerabilities... os_version="3.20" repository="3.20" pkg_num=45
|
||||
2026-12-02T23:38:23Z INFO Number of language-specific files num=1
|
||||
2026-12-02T23:38:23Z INFO [gobinary] Detecting vulnerabilities...
|
||||
2026-12-02T23:38:23Z WARN Using severities from other vendors for some vulnerabilities. Read https://aquasecurity.github.io/trivy/v0.58/docs/scanner/vulnerability#severity-selection for details.
|
||||
2026-12-02T23:38:23Z WARN This OS version is no longer supported by the distribution family="alpine" version="3.20.3"
|
||||
2026-12-02T23:38:23Z WARN The vulnerability detection may be insufficient because security updates are not provided
|
||||
|
||||
postgres:16.4-alpine (alpine 3.20.3)
|
||||
====================================
|
||||
Total: 3 (CRITICAL: 3)
|
||||
|
||||
┌────────────┬────────────────┬──────────┬────────┬───────────────────┬───────────────┬──────────────────────────────────────────────────────────┐
|
||||
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
|
||||
├────────────┼────────────────┼──────────┼────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────┤
|
||||
│ libcrypto3 │ CVE-2026-31789 │ CRITICAL │ fixed │ 3.3.2-r1 │ 3.3.7-r0 │ openssl: OpenSSL: Heap buffer overflow on 32-bit systems │
|
||||
│ │ │ │ │ │ │ from large X.509 certificate... │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-31789 │
|
||||
├────────────┤ │ │ │ │ │ │
|
||||
│ libssl3 │ │ │ │ │ │ │
|
||||
│ │ │ │ │ │ │ │
|
||||
│ │ │ │ │ │ │ │
|
||||
├────────────┼────────────────┤ │ ├───────────────────┼───────────────┼──────────────────────────────────────────────────────────┤
|
||||
│ libxml2 │ CVE-2024-56171 │ │ │ 2.12.7-r0 │ 2.12.7-r1 │ libxml2: Use-After-Free in libxml2 │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2024-56171 │
|
||||
└────────────┴────────────────┴──────────┴────────┴───────────────────┴───────────────┴──────────────────────────────────────────────────────────┘
|
||||
|
||||
usr/local/bin/gosu (gobinary)
|
||||
=============================
|
||||
Total: 4 (CRITICAL: 4)
|
||||
|
||||
┌─────────┬────────────────┬──────────┬────────┬───────────────────┬──────────────────────────────┬────────────────────────────────────────────────────────────┐
|
||||
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
|
||||
├─────────┼────────────────┼──────────┼────────┼───────────────────┼──────────────────────────────┼────────────────────────────────────────────────────────────┤
|
||||
│ stdlib │ CVE-2023-24538 │ CRITICAL │ fixed │ v1.18.2 │ 1.19.8, 1.20.3 │ golang: html/template: backticks not treated as string │
|
||||
│ │ │ │ │ │ │ delimiters │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2023-24538 │
|
||||
│ ├────────────────┤ │ │ ├──────────────────────────────┼────────────────────────────────────────────────────────────┤
|
||||
│ │ CVE-2023-24540 │ │ │ │ 1.19.9, 1.20.4 │ golang: html/template: improper handling of JavaScript │
|
||||
│ │ │ │ │ │ │ whitespace │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2023-24540 │
|
||||
│ ├────────────────┤ │ │ ├──────────────────────────────┼────────────────────────────────────────────────────────────┤
|
||||
│ │ CVE-2024-24790 │ │ │ │ 1.21.11, 1.22.4 │ golang: net/netip: Unexpected behavior from Is methods for │
|
||||
│ │ │ │ │ │ │ IPv4-mapped IPv6 addresses │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2024-24790 │
|
||||
│ ├────────────────┤ │ │ ├──────────────────────────────┼────────────────────────────────────────────────────────────┤
|
||||
│ │ CVE-2025-68121 │ │ │ │ 1.24.13, 1.25.7, 1.26.0-rc.3 │ crypto/tls: crypto/tls: Incorrect certificate validation │
|
||||
│ │ │ │ │ │ │ during TLS session resumption │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2025-68121 │
|
||||
└─────────┴────────────────┴──────────┴────────┴───────────────────┴──────────────────────────────┴────────────────────────────────────────────────────────────┘
|
||||
[exit 0]
|
||||
|
||||
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v mtusi-trivy-cache:/root/.cache/ aquasec/trivy:0.58.1 image --scanners vuln --severity CRITICAL --no-progress redis:8.6.8
|
||||
2026-12-02T23:38:24Z INFO [vuln] Vulnerability scanning is enabled
|
||||
2026-12-02T23:38:28Z INFO Detected OS family="debian" version="13.8"
|
||||
2026-12-02T23:38:28Z INFO [debian] Detecting vulnerabilities... os_version="13" pkg_num=78
|
||||
2026-12-02T23:38:28Z INFO Number of language-specific files num=0
|
||||
2026-12-02T23:38:28Z WARN Using severities from other vendors for some vulnerabilities. Read https://aquasecurity.github.io/trivy/v0.58/docs/scanner/vulnerability#severity-selection for details.
|
||||
|
||||
redis:8.6.8 (debian 13.8)
|
||||
=========================
|
||||
Total: 0 (CRITICAL: 0)
|
||||
|
||||
[exit 0]
|
||||
|
||||
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v mtusi-trivy-cache:/root/.cache/ aquasec/trivy:0.58.1 image --scanners vuln --severity CRITICAL --no-progress openbao/openbao:2.6.4
|
||||
2026-12-02T23:38:29Z INFO [vuln] Vulnerability scanning is enabled
|
||||
2026-12-02T23:38:34Z INFO Detected OS family="alpine" version="3.24.2"
|
||||
2026-12-02T23:38:34Z WARN This OS version is not on the EOL list family="alpine" version="3.24"
|
||||
2026-12-02T23:38:34Z INFO [alpine] Detecting vulnerabilities... os_version="3.24" repository="3.24" pkg_num=28
|
||||
2026-12-02T23:38:34Z INFO Number of language-specific files num=1
|
||||
2026-12-02T23:38:34Z INFO [gobinary] Detecting vulnerabilities...
|
||||
2026-12-02T23:38:34Z WARN Using severities from other vendors for some vulnerabilities. Read https://aquasecurity.github.io/trivy/v0.58/docs/scanner/vulnerability#severity-selection for details.
|
||||
|
||||
openbao/openbao:2.6.4 (alpine 3.24.2)
|
||||
=====================================
|
||||
Total: 0 (CRITICAL: 0)
|
||||
|
||||
[exit 0]
|
||||
|
||||
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v mtusi-trivy-cache:/root/.cache/ aquasec/trivy:0.58.1 image --scanners vuln --severity CRITICAL --no-progress haproxy:3.0.5-alpine
|
||||
2026-12-02T23:38:35Z INFO [vuln] Vulnerability scanning is enabled
|
||||
2026-12-02T23:38:37Z INFO Detected OS family="alpine" version="3.20.3"
|
||||
2026-12-02T23:38:37Z INFO [alpine] Detecting vulnerabilities... os_version="3.20" repository="3.20" pkg_num=18
|
||||
2026-12-02T23:38:37Z INFO Number of language-specific files num=0
|
||||
2026-12-02T23:38:37Z WARN Using severities from other vendors for some vulnerabilities. Read https://aquasecurity.github.io/trivy/v0.58/docs/scanner/vulnerability#severity-selection for details.
|
||||
2026-12-02T23:38:37Z WARN This OS version is no longer supported by the distribution family="alpine" version="3.20.3"
|
||||
2026-12-02T23:38:37Z WARN The vulnerability detection may be insufficient because security updates are not provided
|
||||
|
||||
haproxy:3.0.5-alpine (alpine 3.20.3)
|
||||
====================================
|
||||
Total: 2 (CRITICAL: 2)
|
||||
|
||||
┌────────────┬────────────────┬──────────┬────────┬───────────────────┬───────────────┬──────────────────────────────────────────────────────────┐
|
||||
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
|
||||
├────────────┼────────────────┼──────────┼────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────┤
|
||||
│ libcrypto3 │ CVE-2026-31789 │ CRITICAL │ fixed │ 3.3.2-r0 │ 3.3.7-r0 │ openssl: OpenSSL: Heap buffer overflow on 32-bit systems │
|
||||
│ │ │ │ │ │ │ from large X.509 certificate... │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-31789 │
|
||||
├────────────┤ │ │ │ │ │ │
|
||||
│ libssl3 │ │ │ │ │ │ │
|
||||
│ │ │ │ │ │ │ │
|
||||
│ │ │ │ │ │ │ │
|
||||
└────────────┴────────────────┴──────────┴────────┴───────────────────┴───────────────┴──────────────────────────────────────────────────────────┘
|
||||
[exit 0]
|
||||
|
||||
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v mtusi-trivy-cache:/root/.cache/ aquasec/trivy:0.58.1 image --scanners vuln --severity CRITICAL --no-progress pgsty/minio:RELEASE.2026-08-04T00-00-00Z
|
||||
2026-12-02T23:38:38Z INFO [vuln] Vulnerability scanning is enabled
|
||||
2026-12-02T23:38:41Z INFO Detected OS family="redhat" version="9.8"
|
||||
2026-12-02T23:38:41Z INFO [redhat] Detecting RHEL/CentOS vulnerabilities... os_version="9" pkg_num=20
|
||||
2026-12-02T23:38:41Z INFO Number of language-specific files num=2
|
||||
2026-12-02T23:38:41Z INFO [gobinary] Detecting vulnerabilities...
|
||||
2026-12-02T23:38:41Z WARN Using severities from other vendors for some vulnerabilities. Read https://aquasecurity.github.io/trivy/v0.58/docs/scanner/vulnerability#severity-selection for details.
|
||||
|
||||
pgsty/minio:RELEASE.2026-08-04T00-00-00Z (redhat 9.8)
|
||||
=====================================================
|
||||
Total: 0 (CRITICAL: 0)
|
||||
|
||||
|
||||
usr/bin/minio (gobinary)
|
||||
========================
|
||||
Total: 3 (CRITICAL: 3)
|
||||
|
||||
┌────────────────────────────────┬────────────────┬──────────┬────────┬───────────────────┬───────────────┬──────────────────────────────────────────────────────────────┐
|
||||
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
|
||||
├────────────────────────────────┼────────────────┼──────────┼────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
|
||||
│ github.com/rabbitmq/amqp091-go │ CVE-2026-77405 │ CRITICAL │ fixed │ v1.10.0 │ 1.13.0 │ github.com/rabbitmq/amqp091-go: RabbitMQ amqp091-go: Missing │
|
||||
│ │ │ │ │ │ │ Explicit TLS Minimum Version Configuration In URI Parser... │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-77405 │
|
||||
│ ├────────────────┤ │ │ │ ├──────────────────────────────────────────────────────────────┤
|
||||
│ │ CVE-2026-77408 │ │ │ │ │ github.com/rabbitmq/amqp091-go: RabbitMQ amqp091-go: Silent │
|
||||
│ │ │ │ │ │ │ Data Truncation and State Corruption via Shortstr Integer... │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-77408 │
|
||||
│ ├────────────────┤ │ │ │ ├──────────────────────────────────────────────────────────────┤
|
||||
│ │ CVE-2026-77411 │ │ │ │ │ github.com/rabbitmq/amqp091-go: RabbitMQ amqp091-go: │
|
||||
│ │ │ │ │ │ │ Protocol Desynchronization and Frame Injection via Integer │
|
||||
│ │ │ │ │ │ │ Overflow in... │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-77411 │
|
||||
└────────────────────────────────┴────────────────┴──────────┴────────┴───────────────────┴───────────────┴──────────────────────────────────────────────────────────────┘
|
||||
[exit 0]
|
||||
|
||||
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v mtusi-trivy-cache:/root/.cache/ aquasec/trivy:0.58.1 image --scanners vuln --severity CRITICAL --no-progress grafana/grafana:11.4.0
|
||||
2026-12-02T23:38:42Z INFO [vuln] Vulnerability scanning is enabled
|
||||
2026-12-02T23:38:49Z INFO Detected OS family="alpine" version="3.20.3"
|
||||
2026-12-02T23:38:49Z INFO [alpine] Detecting vulnerabilities... os_version="3.20" repository="3.20" pkg_num=35
|
||||
2026-12-02T23:38:49Z INFO Number of language-specific files num=4
|
||||
2026-12-02T23:38:49Z INFO [gobinary] Detecting vulnerabilities...
|
||||
2026-12-02T23:38:49Z INFO [node-pkg] Detecting vulnerabilities...
|
||||
2026-12-02T23:38:49Z WARN Using severities from other vendors for some vulnerabilities. Read https://aquasecurity.github.io/trivy/v0.58/docs/scanner/vulnerability#severity-selection for details.
|
||||
2026-12-02T23:38:49Z WARN This OS version is no longer supported by the distribution family="alpine" version="3.20.3"
|
||||
2026-12-02T23:38:49Z WARN The vulnerability detection may be insufficient because security updates are not provided
|
||||
|
||||
grafana/grafana:11.4.0 (alpine 3.20.3)
|
||||
======================================
|
||||
Total: 2 (CRITICAL: 2)
|
||||
|
||||
┌────────────┬────────────────┬──────────┬────────┬───────────────────┬───────────────┬──────────────────────────────────────────────────────────┐
|
||||
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
|
||||
├────────────┼────────────────┼──────────┼────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────┤
|
||||
│ libcrypto3 │ CVE-2026-31789 │ CRITICAL │ fixed │ 3.3.2-r0 │ 3.3.7-r0 │ openssl: OpenSSL: Heap buffer overflow on 32-bit systems │
|
||||
│ │ │ │ │ │ │ from large X.509 certificate... │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-31789 │
|
||||
├────────────┤ │ │ │ │ │ │
|
||||
│ libssl3 │ │ │ │ │ │ │
|
||||
│ │ │ │ │ │ │ │
|
||||
│ │ │ │ │ │ │ │
|
||||
└────────────┴────────────────┴──────────┴────────┴───────────────────┴───────────────┴──────────────────────────────────────────────────────────┘
|
||||
|
||||
usr/share/grafana/bin/grafana (gobinary)
|
||||
========================================
|
||||
Total: 5 (CRITICAL: 5)
|
||||
|
||||
┌───────────────────────────────┬─────────────────────┬──────────┬────────┬───────────────────┬──────────────────────────────┬──────────────────────────────────────────────────────────────┐
|
||||
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
|
||||
├───────────────────────────────┼─────────────────────┼──────────┼────────┼───────────────────┼──────────────────────────────┼──────────────────────────────────────────────────────────────┤
|
||||
│ github.com/getkin/kin-openapi │ GHSA-r277-6w6q-xmqw │ CRITICAL │ fixed │ v0.125.0 │ 0.144.0 │ kin-openapi: ValidationHandler.Load() Fail-Open │
|
||||
│ │ │ │ │ │ │ Authentication Bypass via NoopAuthenticationFunc Default │
|
||||
│ │ │ │ │ │ │ https://github.com/advisories/GHSA-r277-6w6q-xmqw │
|
||||
├───────────────────────────────┼─────────────────────┤ │ ├───────────────────┼──────────────────────────────┼──────────────────────────────────────────────────────────────┤
|
||||
│ github.com/jackc/pgx/v5 │ CVE-2026-33815 │ │ │ v5.5.5 │ 5.9.0 │ github.com/jackc/pgx/v5: github.com/jackc/pgx: Memory-safety │
|
||||
│ │ │ │ │ │ │ vulnerability │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-33815 │
|
||||
│ ├─────────────────────┤ │ │ │ ├──────────────────────────────────────────────────────────────┤
|
||||
│ │ CVE-2026-33816 │ │ │ │ │ github.com/jackc/pgx/v5: github.com/jackc/pgx: Memory-safety │
|
||||
│ │ │ │ │ │ │ vulnerability │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-33816 │
|
||||
├───────────────────────────────┼─────────────────────┤ │ ├───────────────────┼──────────────────────────────┼──────────────────────────────────────────────────────────────┤
|
||||
│ google.golang.org/grpc │ CVE-2026-33186 │ │ │ v1.66.0 │ 1.79.3 │ google.golang.org/grpc/grpc-go: │
|
||||
│ │ │ │ │ │ │ google.golang.org/grpc/authz: gRPC-Go: Authorization bypass │
|
||||
│ │ │ │ │ │ │ due to improper HTTP/2 path validation │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2026-33186 │
|
||||
├───────────────────────────────┼─────────────────────┤ │ ├───────────────────┼──────────────────────────────┼──────────────────────────────────────────────────────────────┤
|
||||
│ stdlib │ CVE-2025-68121 │ │ │ v1.23.1 │ 1.24.13, 1.25.7, 1.26.0-rc.3 │ crypto/tls: crypto/tls: Incorrect certificate validation │
|
||||
│ │ │ │ │ │ │ during TLS session resumption │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2025-68121 │
|
||||
└───────────────────────────────┴─────────────────────┴──────────┴────────┴───────────────────┴──────────────────────────────┴──────────────────────────────────────────────────────────────┘
|
||||
|
||||
usr/share/grafana/bin/grafana-cli (gobinary)
|
||||
============================================
|
||||
Total: 1 (CRITICAL: 1)
|
||||
|
||||
┌─────────┬────────────────┬──────────┬────────┬───────────────────┬──────────────────────────────┬──────────────────────────────────────────────────────────┐
|
||||
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
|
||||
├─────────┼────────────────┼──────────┼────────┼───────────────────┼──────────────────────────────┼──────────────────────────────────────────────────────────┤
|
||||
│ stdlib │ CVE-2025-68121 │ CRITICAL │ fixed │ v1.23.1 │ 1.24.13, 1.25.7, 1.26.0-rc.3 │ crypto/tls: crypto/tls: Incorrect certificate validation │
|
||||
│ │ │ │ │ │ │ during TLS session resumption │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2025-68121 │
|
||||
└─────────┴────────────────┴──────────┴────────┴───────────────────┴──────────────────────────────┴──────────────────────────────────────────────────────────┘
|
||||
|
||||
usr/share/grafana/bin/grafana-server (gobinary)
|
||||
===============================================
|
||||
Total: 1 (CRITICAL: 1)
|
||||
|
||||
┌─────────┬────────────────┬──────────┬────────┬───────────────────┬──────────────────────────────┬──────────────────────────────────────────────────────────┐
|
||||
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
|
||||
├─────────┼────────────────┼──────────┼────────┼───────────────────┼──────────────────────────────┼──────────────────────────────────────────────────────────┤
|
||||
│ stdlib │ CVE-2025-68121 │ CRITICAL │ fixed │ v1.23.1 │ 1.24.13, 1.25.7, 1.26.0-rc.3 │ crypto/tls: crypto/tls: Incorrect certificate validation │
|
||||
│ │ │ │ │ │ │ during TLS session resumption │
|
||||
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2025-68121 │
|
||||
└─────────┴────────────────┴──────────┴────────┴───────────────────┴──────────────────────────────┴──────────────────────────────────────────────────────────┘
|
||||
[exit 0]
|
||||
Reference in New Issue
Block a user