SCA: security update for esphome (GHSA-8p25-3q46-8q2p)

high Tenable Self-Hosted Container Security Plugin ID 412773

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- ESPHome is a system to control your ESP8266/ESP32. A security misconfiguration in the edit configuration
file API in the dashboard component of ESPHome version 2023.12.9 (command line installation) allows
authenticated remote attackers to read and write arbitrary files under the configuration directory
rendering remote code execution possible. This vulnerability is patched in 2024.2.1. (CVE-2024-27081)

Solution

Update the esphome library and its related packages to version 2024.2.1 or later.

See Also

https://github.com/advisories/GHSA-8p25-3q46-8q2p

Plugin Details

Severity: High

ID: 412773

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2024-27081

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/1/2024

Vulnerability Publication Date: 2/26/2024

Reference Information

CVE: CVE-2024-27081

cwe: CWE-22