Skip to content

Commit c7a2ca8

Browse files
authored
CVE updates for Action Server v2.17.1 (#308)
* CVE updates for Action Server v2.17.1 * Blocking use of TLSv1x (https://docs.python.org/3/library/ssl.html#ssl.OP_NO_TLSv1)
1 parent b38593e commit c7a2ca8

7 files changed

Lines changed: 425 additions & 331 deletions

File tree

.github/workflows/action_server_frontend_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- "action_server/frontend/**"
99
- ".github/workflows/action_server_frontend_tests.yml"
1010

11+
permissions:
12+
contents: read
13+
1114
defaults:
1215
run:
1316
working-directory: "./action_server/frontend"

action_server/docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
## 2.17.1 - 2025-12-04
6+
7+
- CVE updates
8+
59
## 2.17.0 - 2025-11-13
610

711
- Dependency updates

action_server/frontend/package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

action_server/poetry.lock

Lines changed: 405 additions & 326 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

action_server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sema4ai-action-server"
3-
version = "2.17.0"
3+
version = "2.17.1"
44
description = """Sema4AI Action Server"""
55
authors = [
66
"Sema4.ai, Inc. <dev@sema4.ai>",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import List
22

3-
__version__ = "2.17.0"
3+
__version__ = "2.17.1"
44
version_info = [int(x) for x in __version__.split(".")]
55

66
__all__: List[str] = []

action_server/src/sema4ai/action_server/vendored_deps/url_callback_server.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ def _wrap_socket(
106106
raise ValueError("certfile must be specified")
107107
context = SSLContext(ssl.PROTOCOL_TLS_SERVER)
108108
context.verify_mode = ssl.VerifyMode.CERT_NONE
109+
# Ensure only TLSv1.2 and newer are accepted
110+
if hasattr(context, "minimum_version"):
111+
context.minimum_version = ssl.TLSVersion.TLSv1_2
112+
else:
113+
# Fallback for older Python: explicitly disable TLSv1 and TLSv1_1
114+
context.options |= getattr(ssl, "OP_NO_TLSv1", 0)
115+
context.options |= getattr(ssl, "OP_NO_TLSv1_1", 0)
109116
if certfile:
110117
context.load_cert_chain(certfile, keyfile)
111118
return context.wrap_socket(

0 commit comments

Comments
 (0)