Skip to content

Commit ca8ca9f

Browse files
authored
Fix security vulnerabilities flagged by mend (#940)
* fix security vulnerbilities flagged by mend Signed-off-by: cching95 <chloe.ching@shell.com> * update packages Signed-off-by: cching95 <chloe.ching@shell.com> * updates to packages fixes Signed-off-by: cching95 <chloe.ching@shell.com> --------- Signed-off-by: cching95 <chloe.ching@shell.com>
1 parent 6f2da05 commit ca8ca9f

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

environment.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ dependencies:
2929
- numpy>=1.23.4,<2.0.0
3030
- oauthlib>=3.2.2,<4.0.0
3131
- cryptography>=38.0.3
32-
- azure-identity>=1.20.0,<2.0.0
32+
- azure-identity>=1.25.1,<2.0.0
3333
- azure-storage-file-datalake>=12.12.0,<13.0.0
3434
- azure-keyvault-secrets>=4.7.0,<5.0.0
3535
- azure-mgmt-storage>=21.0.0
3636
- boto3>=1.28.2,<2.0.0
3737
- pyodbc>=5.2.0,<6.0.0
38-
- fastapi>=0.122.0,<1.0.0
38+
- fastapi>=0.121.0,<1.0.0
3939
- starlette>=0.49.1,<1.0.0
4040
- httpx>=0.24.1,<1.0.0
4141
- pyspark>=3.3.0,<3.6.0
@@ -53,12 +53,12 @@ dependencies:
5353
- mkdocs-macros-plugin==1.0.1
5454
- mkdocs-autorefs>=1.0.0,<1.1.0
5555
- pygments==2.16.1
56-
- pymdown-extensions==10.8.1
56+
- pymdown-extensions==10.20
5757
- databricks-sql-connector>=3.6.0,<3.7.0
5858
- semver>=3.0.0,<4.0.0
5959
- xlrd>=2.0.1
6060
- pygithub>=1.59.0
61-
- pydantic>=2.10.0,<3.0.0
61+
- pydantic>=2.10.1,<3.0.0
6262
- pyjwt>=2.10.1,<3.0.0
6363
- twine==4.0.2
6464
- delta-sharing-python>=1.0.0,<2.0.0

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
INSTALL_REQUIRES = [
3131
"databricks-sql-connector>=3.6.0,<3.7.0",
3232
"pyarrow>=14.0.1,<17.0.0",
33-
"azure-identity>=1.20.0,<2.0.0",
33+
"azure-identity>=1.25.1,<2.0.0",
3434
"pandas>=2.0.1,<2.3.0",
3535
"jinja2>=3.1.6,<4.0.0",
3636
"importlib_metadata>=7.0.0,<9.0.0",
@@ -39,9 +39,10 @@
3939
"grpcio>=1.48.1,<1.63.0",
4040
"grpcio-status>=1.48.1,<1.63.0",
4141
"googleapis-common-protos>=1.56.4",
42-
"pydantic>=2.10.0,<3.0.0",
42+
"pydantic>=2.10.1,<3.0.0",
4343
"protobuf>=5.29.0,<5.30.0",
44-
"urllib3>=2.6.0,<3.0.0",
44+
"urllib3>=2.6.3,<3.0.0",
45+
"werkzeug>=3.1.5,<4.0.0",
4546
]
4647

4748
PYSPARK_PACKAGES = [

src/api/requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
# Do not include azure-functions-worker as it may conflict with the Azure Functions platform
22
azure-functions==1.20.0
3-
fastapi==0.122.0
3+
fastapi==0.121.0
44
starlette==0.49.1
5-
pydantic==2.10.0
5+
pydantic==2.10.1
66
# turbodbc==4.11.0
77
pyodbc==5.2.0
88
importlib_metadata>=7.0.0,<9.0.0
99
databricks-sql-connector==3.6.0
10-
azure-identity==1.20.0
10+
azure-identity==1.25.1
1111
oauthlib>=3.2.2
1212
pandas>=2.0.1,<2.3.0
1313
numpy==1.26.4
1414
pyarrow>=14.0.1,<17.0.0
15-
urllib3>=2.6.0,<3.0.0
15+
urllib3>=2.6.3,<3.0.0
16+
werkzeug>=3.1.5,<4.0.0
1617
jinja2==3.1.6
1718
pytz==2024.2
1819
semver==3.0.2

0 commit comments

Comments
 (0)