Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Revert "Address SAML CVE"
Maidul Islam7e46fe8148d9
diff --git a/backend/package-lock.json b/backend/package-lock.jsonindex 47e9014cea..329913cd94 100644--- a/backend/package-lock.json+++ b/backend/package-lock.json@@ -31,7 +31,7 @@"@fastify/swagger-ui": "^2.1.0","@google-cloud/kms": "^4.5.0","@infisical/quic": "^1.0.8",- "@node-saml/passport-saml": "^5.0.1",+ "@node-saml/passport-saml": "^4.0.4","@octokit/auth-app": "^7.1.1","@octokit/plugin-retry": "^5.0.5","@octokit/rest": "^20.0.2",@@ -6747,35 +6747,32 @@}},"node_modules/@node-saml/node-saml": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/@node-saml/node-saml/-/node-saml-5.0.1.tgz",- "integrity": "sha512-YQzFPEC+CnsfO9AFYnwfYZKIzOLx3kITaC1HrjHVLTo6hxcQhc+LgHODOMvW4VCV95Gwrz1MshRUWCPzkDqmnA==",- "license": "MIT",- "dependencies": {- "@types/debug": "^4.1.12",- "@types/qs": "^6.9.11",- "@types/xml-encryption": "^1.2.4",- "@types/xml2js": "^0.4.14",- "@xmldom/is-dom-node": "^1.0.1",- "@xmldom/xmldom": "^0.8.10",+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/@node-saml/node-saml/-/node-saml-4.0.5.tgz",+ "integrity": "sha512-J5DglElbY1tjOuaR1NPtjOXkXY5bpUhDoKVoeucYN98A3w4fwgjIOPqIGcb6cQsqFq2zZ6vTCeKn5C/hvefSaw==",+ "dependencies": {+ "@types/debug": "^4.1.7",+ "@types/passport": "^1.0.11",+ "@types/xml-crypto": "^1.4.2",+ "@types/xml-encryption": "^1.2.1",+ "@types/xml2js": "^0.4.11",+ "@xmldom/xmldom": "^0.8.6","debug": "^4.3.4",- "xml-crypto": "^6.0.1",+ "xml-crypto": "^3.0.1","xml-encryption": "^3.0.2",- "xml2js": "^0.6.2",- "xmlbuilder": "^15.1.1",- "xpath": "^0.0.34"+ "xml2js": "^0.5.0",+ "xmlbuilder": "^15.1.1"},"engines": {- "node": ">= 18"+ "node": ">= 14"}},"node_modules/@node-saml/node-saml/node_modules/debug": {- "version": "4.4.0",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",- "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",- "license": "MIT",+ "version": "4.3.4",+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==","dependencies": {- "ms": "^2.1.3"+ "ms": "2.1.2"},"engines": {"node": ">=6.0"@@ -6786,43 +6783,25 @@}}},- "node_modules/@node-saml/node-saml/node_modules/xml2js": {- "version": "0.6.2",- "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz",- "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==",- "license": "MIT",- "dependencies": {- "sax": ">=0.6.0",- "xmlbuilder": "~11.0.0"- },- "engines": {- "node": ">=4.0.0"- }- },- "node_modules/@node-saml/node-saml/node_modules/xml2js/node_modules/xmlbuilder": {- "version": "11.0.1",- "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz",- "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==",- "license": "MIT",- "engines": {- "node": ">=4.0"- }+ "node_modules/@node-saml/node-saml/node_modules/ms": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="},"node_modules/@node-saml/passport-saml": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/@node-saml/passport-saml/-/passport-saml-5.0.1.tgz",- "integrity": "sha512-fMztg3zfSnjLEgxvpl6HaDMNeh0xeQX4QHiF9e2Lsie2dc4qFE37XYbQZhVmn8XJ2awPpSWLQ736UskYgGU8lQ==",- "license": "MIT",- "dependencies": {- "@node-saml/node-saml": "^5.0.1",- "@types/express": "^4.17.21",- "@types/passport": "^1.0.16",- "@types/passport-strategy": "^0.2.38",- "passport": "^0.7.0",+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/@node-saml/passport-saml/-/passport-saml-4.0.4.tgz",+ "integrity": "sha512-xFw3gw0yo+K1mzlkW15NeBF7cVpRHN/4vpjmBKzov5YFImCWh/G0LcTZ8krH3yk2/eRPc3Or8LRPudVJBjmYaw==",+ "dependencies": {+ "@node-saml/node-saml": "^4.0.4",+ "@types/express": "^4.17.14",+ "@types/passport": "^1.0.11",+ "@types/passport-strategy": "^0.2.35",+ "passport": "^0.6.0","passport-strategy": "^1.0.0"},"engines": {- "node": ">= 18"+ "node": ">= 14"}},"node_modules/@nodelib/fs.scandir": {@@ -9627,7 +9606,6 @@"version": "4.1.12","resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz","integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==",- "license": "MIT","dependencies": {"@types/ms": "*"}@@ -9747,10 +9725,9 @@"integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w=="},"node_modules/@types/ms": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",- "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",- "license": "MIT"+ "version": "0.7.34",+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz",+ "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g=="},"node_modules/@types/node": {"version": "20.9.5",@@ -9930,10 +9907,9 @@"dev": true},"node_modules/@types/qs": {- "version": "6.9.18",- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.18.tgz",- "integrity": "sha512-kK7dgTYDyGqS+e2Q4aK9X3D7q234CIZ1Bv0q/7Z5IwRDoADNU81xXJK/YVyLbLTZCoIwUoDoffFeF+p/eIklAA==",- "license": "MIT"+ "version": "6.9.10",+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.10.tgz",+ "integrity": "sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw=="},"node_modules/@types/range-parser": {"version": "1.2.7",@@ -10082,11 +10058,19 @@"@types/webidl-conversions": "*"}},+ "node_modules/@types/xml-crypto": {+ "version": "1.4.6",+ "resolved": "https://registry.npmjs.org/@types/xml-crypto/-/xml-crypto-1.4.6.tgz",+ "integrity": "sha512-A6jEW2FxLZo1CXsRWnZHUX2wzR3uDju2Bozt6rDbSmU/W8gkilaVbwFEVN0/NhnUdMVzwYobWtM6bU1QJJFb7Q==",+ "dependencies": {+ "@types/node": "*",+ "xpath": "0.0.27"+ }+ },"node_modules/@types/xml-encryption": {"version": "1.2.4","resolved": "https://registry.npmjs.org/@types/xml-encryption/-/xml-encryption-1.2.4.tgz","integrity": "sha512-I69K/WW1Dv7j6O3jh13z0X8sLWJRXbu5xnHDl9yHzUNDUBtUoBY058eb5s+x/WG6yZC1h8aKdI2EoyEPjyEh+Q==",- "license": "MIT","dependencies": {"@types/node": "*"}@@ -10095,7 +10079,6 @@"version": "0.4.14","resolved": "https://registry.npmjs.org/@types/xml2js/-/xml2js-0.4.14.tgz","integrity": "sha512-4YnrRemBShWRO2QjvUin8ESA41rH+9nQGLUGZV/1IDhi3SL9OhdpNC/MrulTWuptXKwhx/aDxE7toV0f/ypIXQ==",- "license": "MIT","dependencies": {"@types/node": "*"}@@ -10539,20 +10522,10 @@"url": "https://opencollective.com/vitest"}},- "node_modules/@xmldom/is-dom-node": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/@xmldom/is-dom-node/-/is-dom-node-1.0.1.tgz",- "integrity": "sha512-CJDxIgE5I0FH+ttq/Fxy6nRpxP70+e2O048EPe85J2use3XKdatVM7dDVvFNjQudd9B49NPoZ+8PG49zj4Er8Q==",- "license": "MIT",- "engines": {- "node": ">= 16"- }- },"node_modules/@xmldom/xmldom": {"version": "0.8.10","resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz","integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==",- "license": "MIT","engines": {"node": ">=10.0.0"}@@ -18249,10 +18222,9 @@}},"node_modules/passport": {- "version": "0.7.0",- "resolved": "https://registry.npmjs.org/passport/-/passport-0.7.0.tgz",- "integrity": "sha512-cPLl+qZpSc+ireUvt+IzqbED1cHHkDoVYMo30jbJIdOOjQ1MQYZBPiNvmi8UM6lJuOpTPXJGZQk0DtC4y61MYQ==",- "license": "MIT",+ "version": "0.6.0",+ "resolved": "https://registry.npmjs.org/passport/-/passport-0.6.0.tgz",+ "integrity": "sha512-0fe+p3ZnrWRW74fe8+SvCyf4a3Pb2/h7gFkQ8yTJpAO50gDzlfjZUZTO1k5Eg9kUct22OxHLqDZoKUWRHOh9ug==","dependencies": {"passport-strategy": "1.x.x","pause": "0.0.1",@@ -23720,44 +23692,42 @@}},"node_modules/xml-crypto": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/xml-crypto/-/xml-crypto-6.0.1.tgz",- "integrity": "sha512-v05aU7NS03z4jlZ0iZGRFeZsuKO1UfEbbYiaeRMiATBFs6Jq9+wqKquEMTn4UTrYZ9iGD8yz3KT4L9o2iF682w==",- "license": "MIT",+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/xml-crypto/-/xml-crypto-3.2.0.tgz",+ "integrity": "sha512-qVurBUOQrmvlgmZqIVBqmb06TD2a/PpEUfFPgD7BuBfjmoH4zgkqaWSIJrnymlCvM2GGt9x+XtJFA+ttoAufqg==","dependencies": {- "@xmldom/is-dom-node": "^1.0.1",- "@xmldom/xmldom": "^0.8.10",- "xpath": "^0.0.33"+ "@xmldom/xmldom": "^0.8.8",+ "xpath": "0.0.32"},"engines": {- "node": ">=16"+ "node": ">=4.0.0"}},"node_modules/xml-crypto/node_modules/xpath": {- "version": "0.0.33",- "resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.33.tgz",- "integrity": "sha512-NNXnzrkDrAzalLhIUc01jO2mOzXGXh1JwPgkihcLLzw98c0WgYDmmjSh1Kl3wzaxSVWMuA+fe0WTWOBDWCBmNA==",- "license": "MIT",+ "version": "0.0.32",+ "resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.32.tgz",+ "integrity": "sha512-rxMJhSIoiO8vXcWvSifKqhvV96GjiD5wYb8/QHdoRyQvraTpp4IEv944nhGausZZ3u7dhQXteZuZbaqfpB7uYw==","engines": {"node": ">=0.6.0"}},"node_modules/xml-encryption": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/xml-encryption/-/xml-encryption-3.1.0.tgz",- "integrity": "sha512-PV7qnYpoAMXbf1kvQkqMScLeQpjCMixddAKq9PtqVrho8HnYbBOWNfG0kA4R7zxQDo7w9kiYAyzS/ullAyO55Q==",- "license": "MIT",+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/xml-encryption/-/xml-encryption-3.0.2.tgz",+ "integrity": "sha512-VxYXPvsWB01/aqVLd6ZMPWZ+qaj0aIdF+cStrVJMcFj3iymwZeI0ABzB3VqMYv48DkSpRhnrXqTUkR34j+UDyg==","dependencies": {"@xmldom/xmldom": "^0.8.5","escape-html": "^1.0.3","xpath": "0.0.32"+ },+ "engines": {+ "node": ">=12"}},"node_modules/xml-encryption/node_modules/xpath": {"version": "0.0.32","resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.32.tgz","integrity": "sha512-rxMJhSIoiO8vXcWvSifKqhvV96GjiD5wYb8/QHdoRyQvraTpp4IEv944nhGausZZ3u7dhQXteZuZbaqfpB7uYw==",- "license": "MIT","engines": {"node": ">=0.6.0"}@@ -23794,7 +23764,6 @@"version": "15.1.1","resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz","integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==",- "license": "MIT","engines": {"node": ">=8.0"}@@ -23805,10 +23774,9 @@"integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw=="},"node_modules/xpath": {- "version": "0.0.34",- "resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.34.tgz",- "integrity": "sha512-FxF6+rkr1rNSQrhUNYrAFJpRXNzlDoMxeXN5qI84939ylEv3qqPFKa85Oxr6tDaJKqwW6KKyo2v26TSv3k6LeA==",- "license": "MIT",+ "version": "0.0.27",+ "resolved": "https://registry.npmjs.org/xpath/-/xpath-0.0.27.tgz",+ "integrity": "sha512-fg03WRxtkCV6ohClePNAECYsmpKKTv5L8y/X3Dn1hQrec3POx2jHZ/0P2qQ6HvsrU1BmeqXcof3NGGueG6LxwQ==","engines": {"node": ">=0.6.0"}diff --git a/backend/package.json b/backend/package.jsonindex c575722fdc..25380f896b 100644--- a/backend/package.json+++ b/backend/package.json@@ -148,7 +148,7 @@"@fastify/swagger-ui": "^2.1.0","@google-cloud/kms": "^4.5.0","@infisical/quic": "^1.0.8",- "@node-saml/passport-saml": "^5.0.1",+ "@node-saml/passport-saml": "^4.0.4","@octokit/auth-app": "^7.1.1","@octokit/plugin-retry": "^5.0.5","@octokit/rest": "^20.0.2",