diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 518f571e..47a8de2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 with: - node-version: 24.22.1 + node-version: 24.22.3 cache: npm - name: Wait for security checks diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 378b17f4..418a5e23 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7 with: - node-version: 24.22.1 + node-version: 24.22.3 cache: npm - name: Install locked dependencies diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 35939633..36c4d134 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 with: - node-version: 24.22.1 + node-version: 24.22.3 cache: npm - name: Install Node dependencies @@ -85,7 +85,7 @@ jobs: - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 with: - node-version: 24.22.1 + node-version: 24.22.3 cache: npm - name: Exercise clean and damaged persistent-data startup diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a7c0e75..1d9fc6f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.8.76 + +- 보안: Bridge 컨테이너의 Node.js를 체크섬 검증된 24.22.3으로 올렸습니다. 2026-11-11 Node.js 보안 릴리스(CVE-2026-123864 HTTPS 힙 노출, CVE-2026-123877 `https.Agent` TLS 세션 재사용 인증서 검증 우회, CVE-2026-123872 TLS 재협상 servername 변경 등 HTTP/2·TLS 취약점 16건)를 반영합니다. CI도 같은 버전을 씁니다. +- nginx(NGINX2Root, 2026-11-18): Bridge의 nginx는 HA ingress용 평문 HTTP(8099/8100)만 듣고 HTTP/2·TLS·QUIC·resolver·mail·stream·`try_files`를 쓰지 않아 공개된 취약 경로에 해당하지 않습니다. Ubuntu 패키지 수정판이 나오면 이미지 재빌드로 반영합니다. +- 이 변경은 Bridge 앱 업데이트가 필요합니다. Bridge 앱과 HACS 통합 버전은 1.8.76입니다. 통합 코드와 Bridge 동작은 바뀌지 않았습니다. + ## 1.8.75 - Bridge: Bridge가 시작될 때마다 상세 조회가 모든 기기의 SmartThings 페이지를 다시 열어, 시작 후 약 3시간 동안 Bridge CPU가 30~40%로 높던 문제를 수정했습니다(239대 기준 약 319회 조회). 조회가 끝나면 2~3%로 돌아왔습니다. diff --git a/addon/smartthings_web_bridge/CHANGELOG.md b/addon/smartthings_web_bridge/CHANGELOG.md index e6cf6ed1..26415723 100644 --- a/addon/smartthings_web_bridge/CHANGELOG.md +++ b/addon/smartthings_web_bridge/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.8.76 + +- 보안: Bridge 컨테이너의 Node.js를 체크섬 검증된 24.22.3으로 올렸습니다. 2026-11-11 Node.js 보안 릴리스(CVE-2026-123864 HTTPS 힙 노출, CVE-2026-123877 `https.Agent` TLS 세션 재사용 인증서 검증 우회, CVE-2026-123872 TLS 재협상 servername 변경 등 HTTP/2·TLS 취약점 16건)를 반영합니다. CI도 같은 버전을 씁니다. +- nginx(NGINX2Root, 2026-11-18): Bridge의 nginx는 HA ingress용 평문 HTTP(8099/8100)만 듣고 HTTP/2·TLS·QUIC·resolver·mail·stream·`try_files`를 쓰지 않아 공개된 취약 경로에 해당하지 않습니다. Ubuntu 패키지 수정판이 나오면 이미지 재빌드로 반영합니다. +- 이 변경은 Bridge 앱 업데이트가 필요합니다. Bridge 앱과 HACS 통합 버전은 1.8.76입니다. 통합 코드와 Bridge 동작은 바뀌지 않았습니다. + ## 1.8.75 - Bridge: Bridge가 시작될 때마다 상세 조회가 모든 기기의 SmartThings 페이지를 다시 열어, 시작 후 약 3시간 동안 Bridge CPU가 30~40%로 높던 문제를 수정했습니다(239대 기준 약 319회 조회). 조회가 끝나면 2~3%로 돌아왔습니다. diff --git a/addon/smartthings_web_bridge/Dockerfile b/addon/smartthings_web_bridge/Dockerfile index 7063c254..00cdee8a 100644 --- a/addon/smartthings_web_bridge/Dockerfile +++ b/addon/smartthings_web_bridge/Dockerfile @@ -38,9 +38,9 @@ RUN apt-get update \ novnc \ && rm -rf /var/lib/apt/lists/* -ARG NODE_SECURITY_VERSION=24.22.1 -ARG NODE_SECURITY_X64_SHA256=6c172a9ab6718f7b801fb5a7bd486af2ee5e32758086a04b84fcce2aa77095e6 -ARG NODE_SECURITY_ARM64_SHA256=dbabf7a1cbf947e6059ffad2c27b80041db97dea1e553b62afdee7f13fca336e +ARG NODE_SECURITY_VERSION=24.22.3 +ARG NODE_SECURITY_X64_SHA256=4f2b175a6d53a5c617a80dba2676238a0688cef28c6da4eba35c7d844e66fcfb +ARG NODE_SECURITY_ARM64_SHA256=6e51a2ada00f0011cc266f65d98922b403d7ad88f809ca2aa615a5fe1ce6e86c RUN set -eux; \ dpkg --compare-versions "$(dpkg-query -W -f='${Version}' ca-certificates)" ge 20260816ubuntu0.26.04.1; \ case "$(uname -m)" in \ diff --git a/addon/smartthings_web_bridge/config.yaml b/addon/smartthings_web_bridge/config.yaml index 2a4d0215..6d21cfb8 100644 --- a/addon/smartthings_web_bridge/config.yaml +++ b/addon/smartthings_web_bridge/config.yaml @@ -1,7 +1,7 @@ name: SmartThings Web Bridge slug: smartthings_web_bridge description: Headed Chromium bridge for observing SmartThings Web traffic from Home Assistant. -version: 1.8.75 +version: 1.8.76 url: https://github.com/1bobby-git/HA-SmartThings_Web startup: services boot: auto diff --git a/bridge/src/runtime.ts b/bridge/src/runtime.ts index 7f781021..d0a06641 100644 --- a/bridge/src/runtime.ts +++ b/bridge/src/runtime.ts @@ -119,7 +119,7 @@ type ObservableContext = BrowserContextLike & { newCDPSession?: (page: BrowserPageLike) => Promise; }; -const bridgeVersion = "1.8.75"; +const bridgeVersion = "1.8.76"; const SESSION_TOUCH_INTERVAL_MS = 5 * 60_000; const DETAIL_DISCOVERY_INTERVAL_MS = 15_000; const PROFILE_MAINTENANCE_REQUIRED_FILE = ".profile-maintenance-required"; diff --git a/bridge/tests/runtime.test.ts b/bridge/tests/runtime.test.ts index 3bdfe82b..95eb6879 100644 --- a/bridge/tests/runtime.test.ts +++ b/bridge/tests/runtime.test.ts @@ -1013,7 +1013,7 @@ describe("createBridgeRuntime", () => { await runtime.browserStartup; expect(log.info.mock.calls.slice(0, 14)).toEqual([ - ["bridge_init:version:1.8.75:home_monitor_direct"], + ["bridge_init:version:1.8.76:home_monitor_direct"], ["bridge_init:data_paths"], ["bridge_init:data_paths:data_dir"], ["bridge_init:data_paths:profile_dir"], diff --git a/custom_components/smartthings_web/manifest.json b/custom_components/smartthings_web/manifest.json index 3f50cac2..c015f28f 100644 --- a/custom_components/smartthings_web/manifest.json +++ b/custom_components/smartthings_web/manifest.json @@ -10,5 +10,5 @@ "iot_class": "cloud_push", "issue_tracker": "https://github.com/1bobby-git/HA-SmartThings_Web/issues", "requirements": [], - "version": "1.8.75" + "version": "1.8.76" } diff --git a/package-lock.json b/package-lock.json index f7e2c62e..b9b15973 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ha-smartthings-web", - "version": "1.8.75", + "version": "1.8.76", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ha-smartthings-web", - "version": "1.8.75", + "version": "1.8.76", "license": "MIT", "dependencies": { "playwright-core": "1.65.0" diff --git a/package.json b/package.json index 22411db5..c653314d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ha-smartthings-web", - "version": "1.8.75", + "version": "1.8.76", "private": true, "type": "module", "packageManager": "npm@11.12.1", diff --git a/protocol/version.json b/protocol/version.json index b0d8c084..d5d7e885 100644 --- a/protocol/version.json +++ b/protocol/version.json @@ -1,9 +1,9 @@ { - "bridge_version": "1.8.75", + "bridge_version": "1.8.76", "protocol_version": 6, "playwright_version": "1.65.0", "expected_chromium_version": "158.0.8127.18", "expected_chromium_revision": "1254", "local_node_version": "24.15.0", - "container_node_version": "24.22.1" + "container_node_version": "24.22.3" } diff --git a/release-notes/1.8.76.md b/release-notes/1.8.76.md new file mode 100644 index 00000000..8e1f5440 --- /dev/null +++ b/release-notes/1.8.76.md @@ -0,0 +1,12 @@ +# 1.8.76 + +Bridge 컨테이너의 Node.js 보안 업데이트입니다. + +- Node.js 24.22.1 → 24.22.3 (체크섬 검증). 2026-11-11 Node.js 보안 릴리스의 HTTP/2·TLS 취약점(CVE-2026-123864, CVE-2026-123877, CVE-2026-123872 외)을 반영합니다. +- nginx NGINX2Root(2026-11-18) 취약점은 Bridge 설정(평문 HTTP, HTTP/2·TLS·QUIC·resolver 미사용)에서 공개된 취약 경로에 해당하지 않습니다. +- 통합 코드와 Bridge 동작은 바뀌지 않았습니다. + +## 업데이트 + +1. Bridge 앱을 1.8.76으로 업데이트합니다. 업데이트 중 Bridge가 다시 시작됩니다. +2. HACS 통합도 버전 정렬을 위해 1.8.76으로 업데이트합니다. Home Assistant 재시작은 필요 없습니다. diff --git a/tests/addon-config.test.ts b/tests/addon-config.test.ts index e7ac302f..37e04ef4 100644 --- a/tests/addon-config.test.ts +++ b/tests/addon-config.test.ts @@ -10,22 +10,22 @@ const standaloneDockerfile = () => readText("docker/Dockerfile"); const composeConfig = () => YAML.parse(readText("docker/compose.example.yaml")) as Record; describe("Home Assistant add-on metadata", () => { - test("packages the Bridge restart detail discovery fix as version 1.8.75", () => { + test("packages the Node.js 24.22.3 security update as version 1.8.76", () => { const config = addonConfig(); const packageMetadata = JSON.parse(readText("package.json")) as Record; const protocolMetadata = JSON.parse(readText("protocol/version.json")) as Record; const runtime = readText("bridge/src/runtime.ts"); const changelog = readText("addon/smartthings_web_bridge/CHANGELOG.md"); - expect(config.version).toBe("1.8.75"); + expect(config.version).toBe("1.8.76"); expect(config.homeassistant_api).toBe(true); expect(config.hassio_api).toBe(true); expect(config.discovery).toEqual(["smartthings_web"]); - expect(packageMetadata.version).toBe("1.8.75"); - expect(protocolMetadata.bridge_version).toBe("1.8.75"); + expect(packageMetadata.version).toBe("1.8.76"); + expect(protocolMetadata.bridge_version).toBe("1.8.76"); expect(protocolMetadata.protocol_version).toBe(6); - expect(runtime).toContain('const bridgeVersion = "1.8.75";'); - expect(changelog).toContain("## 1.8.75"); + expect(runtime).toContain('const bridgeVersion = "1.8.76";'); + expect(changelog).toContain("## 1.8.76"); expect(changelog).toContain("## 1.8.38"); expect(changelog).toContain("## 1.8.37"); expect(changelog).toContain("## 1.8.12"); diff --git a/tests/documentation-gate.test.ts b/tests/documentation-gate.test.ts index f2847023..a71a0968 100644 --- a/tests/documentation-gate.test.ts +++ b/tests/documentation-gate.test.ts @@ -547,7 +547,7 @@ describe("Phase 1 documentation gate", () => { const version = JSON.parse(readFileSync("protocol/version.json", "utf8")) as { container_node_version?: string; }; - expect(version.container_node_version).toBe("24.22.1"); + expect(version.container_node_version).toBe("24.22.3"); expect(existsSync(duplicatePath)).toBe(true); expect(existsSync(duplicateHashPath)).toBe(true); const duplicateText = readFileSync(duplicatePath, "utf8"); diff --git a/tests/protocol-version-contract.test.ts b/tests/protocol-version-contract.test.ts index aefe81e3..26abf123 100644 --- a/tests/protocol-version-contract.test.ts +++ b/tests/protocol-version-contract.test.ts @@ -12,9 +12,9 @@ import { import { bootstrapDataPaths } from "../bridge/src/security/data-paths.js"; describe("protocol version contract", () => { - test("keeps integration 1.8.75 compatible with Bridge 1.8.75 and protocol 6", () => { - const expectedBridgeVersion = "1.8.75"; - const expectedIntegrationVersion = "1.8.75"; + test("keeps integration 1.8.76 compatible with Bridge 1.8.76 and protocol 6", () => { + const expectedBridgeVersion = "1.8.76"; + const expectedIntegrationVersion = "1.8.76"; const packageJson = JSON.parse(readFileSync("package.json", "utf8")) as { version?: string }; const packageLock = JSON.parse(readFileSync("package-lock.json", "utf8")) as { version?: string;