-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
- 哪个环境出现了BUG:cacti/CVE-2023-39361
- 主机使用的操作系统:CentOS Linux release 7.3.1611 (Core)
- 主机CPU架构:x86_64
- Docker版本:Docker version 26.1.4, build 5650f9b
- 你的Vulhub是否是最新版:是
- 主机是否在中国大陆:是(虚拟机)
- 是否重试过仍然出现这个错误:是
在填写完上面的所有问题后,再在此处使用自然语言描述你遇到的问题,并提供日志和截图。
启动容器失败。
[root@localhost CVE-2023-39361]# docker compose up
[+] Running 2/0
✔ Container cve-2023-39361-db-1 Created 0.0s
✔ Container cve-2023-39361-web-1 Created 0.0s
Attaching to db-1, web-1
db-1 | 2025-05-26 08:20:21+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.44-1.el7 started.
db-1 | 2025-05-26 08:20:21+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
db-1 | 2025-05-26 08:20:21+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.44-1.el7 started.
web-1 | + wait-for-it db:3306 -t 300 -- echo 'database is connected'
web-1 | wait-for-it: waiting 300 seconds for db:3306
db-1 | '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock'
db-1 | 2025-05-26T08:20:21.777231Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
db-1 | 2025-05-26T08:20:21.777923Z 0 [Note] mysqld (mysqld 5.7.44) starting as process 1 ...
db-1 | 2025-05-26T08:20:21.779851Z 0 [Note] InnoDB: PUNCH HOLE support available
db-1 | 2025-05-26T08:20:21.779865Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db-1 | 2025-05-26T08:20:21.779868Z 0 [Note] InnoDB: Uses event mutexes
db-1 | 2025-05-26T08:20:21.779870Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
db-1 | 2025-05-26T08:20:21.779871Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
db-1 | 2025-05-26T08:20:21.779874Z 0 [Note] InnoDB: Using Linux native AIO
db-1 | 2025-05-26T08:20:21.780012Z 0 [Note] InnoDB: Number of pools: 1
db-1 | 2025-05-26T08:20:21.780067Z 0 [Note] InnoDB: Using CPU crc32 instructions
db-1 | 2025-05-26T08:20:21.780941Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
db-1 | 2025-05-26T08:20:21.785176Z 0 [Note] InnoDB: Completed initialization of buffer pool
db-1 | 2025-05-26T08:20:21.786195Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db-1 | 2025-05-26T08:20:21.797428Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
db-1 | 2025-05-26T08:20:21.804803Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
db-1 | 2025-05-26T08:20:21.804827Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db-1 | 2025-05-26T08:20:21.804904Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db-1 | 2025-05-26T08:20:21.818500Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db-1 | 2025-05-26T08:20:21.818996Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
db-1 | 2025-05-26T08:20:21.819005Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
db-1 | 2025-05-26T08:20:21.819334Z 0 [Note] InnoDB: Waiting for purge to start
db-1 | 2025-05-26T08:20:21.870105Z 0 [Note] InnoDB: 5.7.44 started; log sequence number 13507261
db-1 | 2025-05-26T08:20:21.870295Z 0 [Note] Plugin 'FEDERATED' is disabled.
db-1 | 2025-05-26T08:20:21.873457Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
db-1 | 2025-05-26T08:20:21.873466Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
db-1 | 2025-05-26T08:20:21.873468Z 0 [Warning] A deprecated TLS version TLSv1 is enabled. Please use TLSv1.2 or higher.
db-1 | 2025-05-26T08:20:21.873469Z 0 [Warning] A deprecated TLS version TLSv1.1 is enabled. Please use TLSv1.2 or higher.
db-1 | 2025-05-26T08:20:21.874218Z 0 [Warning] CA certificate ca.pem is self signed.
db-1 | 2025-05-26T08:20:21.874250Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
db-1 | 2025-05-26T08:20:21.874437Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
db-1 | 2025-05-26T08:20:21.874465Z 0 [Note] IPv6 is available.
db-1 | 2025-05-26T08:20:21.874472Z 0 [Note] - '::' resolves to '::';
db-1 | 2025-05-26T08:20:21.874484Z 0 [Note] Server socket created on IP: '::'.
db-1 | 2025-05-26T08:20:21.874870Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db-1 | 2025-05-26T08:20:21.875748Z 0 [Note] InnoDB: Buffer pool(s) load completed at 250526 8:20:21
db-1 | 2025-05-26T08:20:21.876624Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
db-1 | 2025-05-26T08:20:21.894265Z 0 [Note] Event Scheduler: Loaded 0 events
db-1 | 2025-05-26T08:20:21.894369Z 0 [Note] mysqld: ready for connections.
db-1 | Version: '5.7.44' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
web-1 | wait-for-it: db:3306 is available after 1 seconds
web-1 | database is connected
web-1 | ++ mysql --host=db --user=root --password=root cacti -e 'show tables'
db-1 | 2025-05-26T08:20:22.566891Z 2 [Note] Got an error reading communication packets
web-1 | + [[ ! Tables_in_cacti
web-1 | aggregate_graph_templates
web-1 | aggregate_graph_templates_graph
web-1 | aggregate_graph_templates_item
web-1 | aggregate_graphs
web-1 | aggregate_graphs_graph_item
web-1 | aggregate_graphs_items
web-1 | automation_devices
web-1 | automation_graph_rule_items
web-1 | automation_graph_rules
web-1 | automation_ips
web-1 | automation_match_rule_items
web-1 | automation_networks
web-1 | automation_processes
web-1 | automation_snmp
web-1 | automation_snmp_items
web-1 | automation_templates
web-1 | automation_tree_rule_items
web-1 | automation_tree_rules
web-1 | cdef
web-1 | cdef_items
web-1 | color_template_items
web-1 | color_templates
web-1 | colors
web-1 | data_debug
web-1 | data_input
web-1 | data_input_data
web-1 | data_input_fields
web-1 | data_local
web-1 | data_source_profiles
web-1 | data_source_profiles_cf
web-1 | data_source_profiles_rra
web-1 | data_source_purge_action
web-1 | data_source_purge_temp
web-1 | data_source_stats_daily
web-1 | data_source_stats_hourly
web-1 | data_source_stats_hourly_cache
web-1 | data_source_stats_hourly_last
web-1 | data_source_stats_monthly
web-1 | data_source_stats_weekly
web-1 | data_source_stats_yearly
web-1 | data_template
web-1 | data_template_data
web-1 | data_template_rrd
web-1 | external_links
web-1 | graph_local
web-1 | graph_template_input
web-1 | graph_template_input_defs
web-1 | graph_templates
web-1 | graph_templates_gprint
web-1 | graph_templates_graph
web-1 | graph_templates_item
web-1 | graph_tree
web-1 | graph_tree_items
web-1 | host
web-1 | host_graph
web-1 | host_snmp_cache
web-1 | host_snmp_query
web-1 | host_template
web-1 | host_template_graph
web-1 | host_template_snmp_query
web-1 | plugin_config
web-1 | plugin_db_changes
web-1 | plugin_hooks
web-1 | plugin_realms
web-1 | poller
web-1 | poller_command
web-1 | poller_data_template_field_mappings
web-1 | poller_item
web-1 | poller_output
web-1 | poller_output_boost
web-1 | poller_output_boost_local_data_ids
web-1 | poller_output_boost_processes
web-1 | poller_output_realtime
web-1 | poller_reindex
web-1 | poller_resource_cache
web-1 | poller_time
web-1 | processes
web-1 | reports
web-1 | reports_items
web-1 | rrdcheck
web-1 | sessions
web-1 | settings
web-1 | settings_tree
web-1 | settings_user
web-1 | settings_user_group
web-1 | sites
web-1 | snmp_query
web-1 | snmp_query_graph
web-1 | snmp_query_graph_rrd
web-1 | snmp_query_graph_rrd_sv
web-1 | snmp_query_graph_sv
web-1 | snmpagent_cache
web-1 | snmpagent_cache_notifications
web-1 | snmpagent_cache_textual_conventions
web-1 | snmpagent_managers
web-1 | snmpagent_managers_notifications
web-1 | snmpagent_mibs
web-1 | snmpagent_notifications_log
web-1 | user_auth
web-1 | user_auth_cache
web-1 | user_auth_group
web-1 | user_auth_group_members
web-1 | user_auth_group_perms
web-1 | user_auth_group_realm
web-1 | user_auth_perms
web-1 | user_auth_realm
web-1 | user_auth_row_cache
web-1 | user_domains
web-1 | user_domains_ldap
web-1 | user_log
web-1 | vdef
web-1 | vdef_items
web-1 | version =~ automation_devices ]]
web-1 | + '[' apache2-foreground '!=' apache2-foreground ']'
web-1 | + exec apache2-foreground
web-1 | [Mon May 26 08:20:22.578893 2025] [:crit] [pid 1] (38)Function not implemented: AH00141: Could not initialize random number generator
web-1 exited with code 1