Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

fix(security): clear cryptography CVEs and time-box unfixable advisories (#229)

Beenu Arora48f1c34c0626
diff --git a/scripts/security_audit_ignores.txt b/scripts/security_audit_ignores.txt
index 445691ad2..e77ee45ab 100644
--- a/scripts/security_audit_ignores.txt
+++ b/scripts/security_audit_ignores.txt
@@ -8,3 +8,40 @@
#
# Example:
# python|CVE-2026-12345|Upstream fix not released; tracked in issue #123|2026-07-15
+
+# ── 2026-05-28 triage (expire 2026-08-25) ────────────────────────────────────
+# cryptography==42.0.8 advisories (CVE-2024-12797, CVE-2026-26007,
+# GHSA-h4gh-qq45-vh27, PYSEC-2026-35) are NOT ignored — fixed by bumping the
+# connectors/osquery-tls floor to >=44.0.1 so they resolve to the clean 48.x
+# line already used by the api/actions services.
+#
+# Everything below has no patched release available (packages already at their
+# newest version) or is a framework-capped transitive dep where a bump is both
+# risky and ineffective. Time-boxed for re-evaluation within 90 days.
+
+# pnpm — all three packages are already at their latest published versions
+# (serialize-javascript 6.0.2, fast-uri 3.1.0, babel plugin 7.29.0); no fixed
+# release exists. fast-uri/babel are build/tooling-only transitive deps.
+pnpm|GHSA-5c6j-r48x-rmvq|serialize-javascript 6.0.2 is latest; no patched release; not used to serialize untrusted input|2026-08-25
+pnpm|GHSA-q3j6-qgpj-74h6|fast-uri 3.1.0 is latest; ReDoS advisory has no fixed version; transitive build/tooling dep|2026-08-25
+pnpm|GHSA-v39h-62p7-jpjc|fast-uri 3.1.0 is latest; ReDoS advisory has no fixed version; transitive build/tooling dep|2026-08-25
+pnpm|GHSA-fv7c-fp4j-7gwp|@babel/plugin-transform-modules-systemjs 7.29.0 is latest; build-time only, not shipped to runtime|2026-08-25
+
+# starlette — transitive via fastapi (capped <0.137). CVE-2024-47874 and
+# CVE-2025-54121 are fixed in 1.0.0 but reaching it requires a risky
+# framework-wide fastapi bump; PYSEC-2026-161 affects 1.0.0 too, so a bump
+# would not clear the audit. Tracked for a coordinated fastapi/starlette upgrade.
+python|PYSEC-2026-161|starlette advisory affects all releases incl. 1.0.0 (latest); no fixed version available|2026-08-25
+python|CVE-2024-47874|starlette multipart DoS; fixed in 1.0.0 but capped by fastapi<0.137; tracked for fastapi bump|2026-08-25
+python|CVE-2025-54121|starlette multipart DoS; fixed in 1.0.0 but capped by fastapi<0.137; tracked for fastapi bump|2026-08-25
+
+# langchain/langgraph — freshly disclosed 2026 advisories with no non-breaking
+# fix in the pinned 0.3.x / 1.0.x lines yet. Tracked for upstream patch.
+python|PYSEC-2026-76|langchain-openai 0.3.35 freshly disclosed; no non-breaking fix in 0.3.x line yet|2026-08-25
+python|PYSEC-2026-77|langchain-text-splitters 0.3.11 freshly disclosed; no non-breaking fix in 0.3.x line yet|2026-08-25
+python|PYSEC-2026-83|langgraph 1.0.1 freshly disclosed; awaiting patched 1.0.x release|2026-08-25
+python|CVE-2026-27794|langgraph-checkpoint 3.0.1 freshly disclosed; awaiting patched release|2026-08-25
+
+# idna — deep transitive dep (httpx/requests/email-validator); freshly
+# disclosed, no fixed version available yet.
+python|CVE-2026-45409|idna 3.13 freshly disclosed; transitive dep, no fixed version available yet|2026-08-25
diff --git a/services/connectors/pyproject.toml b/services/connectors/pyproject.toml
index 1e0eb3274..3dcd2c4bf 100644
--- a/services/connectors/pyproject.toml
+++ b/services/connectors/pyproject.toml
@@ -25,7 +25,9 @@ asyncpg = "^0.29.0"
# Cryptography is required to decrypt the auth_config blob written by the
# API service's CredentialVault. We share AISOC_CREDENTIAL_KEY across both
# services via the deployment's secret store.
-cryptography = "^42.0.0"
+# Floor raised to 44.0.1 to clear CVE-2024-12797 (and later 42.x advisories);
+# matches the resolved 48.x line used by the api/actions services.
+cryptography = ">=44.0.1,<49"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
diff --git a/services/osquery-tls/pyproject.toml b/services/osquery-tls/pyproject.toml
index 2f0e22c75..8c06776d4 100644
--- a/services/osquery-tls/pyproject.toml
+++ b/services/osquery-tls/pyproject.toml
@@ -18,7 +18,9 @@ alembic = "^1.13.1"
httpx = ">=0.27,<0.29"
structlog = "^24.1.0"
prometheus-client = ">=0.20,<0.26"
-cryptography = "^42.0.0"
+# Floor raised to 44.0.1 to clear CVE-2024-12797 (and later 42.x advisories);
+# matches the resolved 48.x line used by the api/actions services.
+cryptography = ">=44.0.1,<49"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.0"