From e485095224c479a31ac7a1c91dffe42c08d42f35 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 21 Sep 2026 10:06:55 +0800 Subject: [PATCH 1/2] fix(http-client-python): update vulnerable Spector dependencies Update morgan to 1.12.1 and multer to 2.3.0 to address Dependabot alerts 869, 890, and 892. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 94a0b72f-ce29-481a-9306-a096f633284d --- ...client-python-security-dependencies-2026-09-20.md | 7 +++++++ packages/http-client-python/package-lock.json | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 .chronus/changes/http-client-python-security-dependencies-2026-09-20.md diff --git a/.chronus/changes/http-client-python-security-dependencies-2026-09-20.md b/.chronus/changes/http-client-python-security-dependencies-2026-09-20.md new file mode 100644 index 00000000000..7b4b45ebf60 --- /dev/null +++ b/.chronus/changes/http-client-python-security-dependencies-2026-09-20.md @@ -0,0 +1,7 @@ +--- +changeKind: dependencies +packages: + - "@typespec/http-client-python" +--- + +Update transitive development dependencies `morgan` to 1.12.1 and `multer` to 2.3.0 to address log forging, denial of service, and file size limit bypass vulnerabilities. diff --git a/packages/http-client-python/package-lock.json b/packages/http-client-python/package-lock.json index 7584f1a80f7..8bfd56026f0 100644 --- a/packages/http-client-python/package-lock.json +++ b/packages/http-client-python/package-lock.json @@ -4714,9 +4714,9 @@ } }, "node_modules/morgan": { - "version": "1.11.0", - "resolved": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js/npm/registry/morgan/-/morgan-1.11.0.tgz", - "integrity": "sha1-mEZLhTiALxTp5TdOviOsNkzWF+g=", + "version": "1.12.1", + "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/morgan/-/morgan-1.12.1.tgz", + "integrity": "sha512-tljKC0ex20AjO58Ob/eZ53JloycbVswbVNCHx6V6VLGzqt/w8dIynVGL0G8qVjNKwiA7sYSogCrN6QtJ82IV+g==", "dev": true, "license": "MIT", "dependencies": { @@ -4759,9 +4759,9 @@ "license": "MIT" }, "node_modules/multer": { - "version": "2.2.0", - "resolved": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js/npm/registry/multer/-/multer-2.2.0.tgz", - "integrity": "sha1-8AUmjKgWMkunM147SBZolqP6XXk=", + "version": "2.3.0", + "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/multer/-/multer-2.3.0.tgz", + "integrity": "sha1-RvWpjDTglmH/CJ+kmuSHhGvVtP0=", "dev": true, "license": "MIT", "dependencies": { From 1975841c6f25d1fe218f19896552215dd07fe156 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 21 Sep 2026 10:15:48 +0800 Subject: [PATCH 2/2] fix(http-client-python): preserve CFS dependency feed URLs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 94a0b72f-ce29-481a-9306-a096f633284d --- packages/http-client-python/package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/http-client-python/package-lock.json b/packages/http-client-python/package-lock.json index 8bfd56026f0..78b02d0ece9 100644 --- a/packages/http-client-python/package-lock.json +++ b/packages/http-client-python/package-lock.json @@ -4715,7 +4715,7 @@ }, "node_modules/morgan": { "version": "1.12.1", - "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/morgan/-/morgan-1.12.1.tgz", + "resolved": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js/npm/registry/morgan/-/morgan-1.12.1.tgz", "integrity": "sha512-tljKC0ex20AjO58Ob/eZ53JloycbVswbVNCHx6V6VLGzqt/w8dIynVGL0G8qVjNKwiA7sYSogCrN6QtJ82IV+g==", "dev": true, "license": "MIT", @@ -4760,7 +4760,7 @@ }, "node_modules/multer": { "version": "2.3.0", - "resolved": "https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/multer/-/multer-2.3.0.tgz", + "resolved": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js/npm/registry/multer/-/multer-2.3.0.tgz", "integrity": "sha1-RvWpjDTglmH/CJ+kmuSHhGvVtP0=", "dev": true, "license": "MIT",