Skip to content

Commit 607a0ed

Browse files
committed
Security fixes: Update h11 to 0.16.0, mcp to 1.16.0, setuptools to 80.9.0, remove dnsutils - Fixes all critical/high CVEs
1 parent 3a76872 commit 607a0ed

File tree

3 files changed

+161
-21
lines changed

3 files changed

+161
-21
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ FROM python:3.13-slim-bookworm
3131
RUN groupadd -r app && useradd -r -g app -u 1000 app
3232

3333
# Install runtime system dependencies
34+
# Removed dnsutils to fix CVE-2025-40777 (bind9 vulnerability)
3435
RUN apt-get update && apt-get install -y \
3536
libpq-dev \
3637
iputils-ping \
37-
dnsutils \
3838
net-tools \
3939
&& rm -rf /var/lib/apt/lists/* \
4040
&& apt-get clean

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
[project]
22
name = "postgres-mcp-enhanced"
3-
version = "1.0.2"
3+
version = "1.0.3"
44
description = "Enterprise PostgreSQL MCP Server - Enhanced fork with comprehensive security and AI-native operations"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"mcp[cli]>=1.5.0",
8+
"mcp[cli]>=1.10.0",
99
"psycopg[binary]>=3.2.6",
1010
"humanize>=4.8.0",
1111
"pglast==7.7",
1212
"attrs>=25.3.0",
1313
"psycopg-pool>=3.2.6",
1414
"instructor>=1.7.9",
15+
"h11>=0.16.0",
16+
"setuptools>=78.1.1",
1517
]
1618
license = "mit"
1719
license-files = ["LICENSE"]

0 commit comments

Comments
 (0)