Skip to content

Commit 1277a89

Browse files
Increasing Lemur Dependency Versions to Address Vulnerabilities (#160)
* Increasing Lemur Dependency Versions to Address Vulnerabilities * Reverting jinja2 and werkzeug due to incompatibility with old flask version
1 parent 4acbeb4 commit 1277a89

6 files changed

+24
-25
lines changed

requirements-docs.in

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ celery[redis]
1111
certbot
1212
certsrv
1313
CloudFlare
14-
cryptography >= 41.0.4 # Required to avoid vulnerability in previous version (VULN-4474)
14+
cryptography >= 41.0.6 # Required to avoid vulnerability in previous version (VULN-5135)
1515
dnspython3
1616
dyn
1717
Flask <= 1.1.2 # similar to Flask-Migrate
@@ -33,8 +33,9 @@ logmatic-python
3333
marshmallow-sqlalchemy == 0.23.1 #related to the marshmallow issue (to avoid conflicts, as newer versions require marshmallow>=3.0.0)
3434
sqlalchemy < 1.4.0 # ImportError: cannot import name '_ColumnEntity' https://github.com/sqlalchemy/sqlalchemy/issues/6226
3535
marshmallow<2.21.1 #schema duplicate issues https://github.com/marshmallow-code/marshmallow-sqlalchemy/issues/121
36-
paramiko # required for the SFTP destination plugin
36+
paramiko >= 3.4.0 # required for the SFTP destination plugin
3737
pem
38+
pycryptodomex >= 3.19.1 # Required to address vulnerability in older version (VULN-5325)
3839
pyjks >= 19 # pyjks < 19 depends on pycryptodome, which conflicts with dyn's usage of pycrypto
3940
pyjwt
4041
pyOpenSSL

requirements-docs.txt

+7-8
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ configobj==5.0.8
129129
# certbot
130130
coverage==7.3.2
131131
# via -r requirements-tests.txt
132-
cryptography==41.0.4
132+
cryptography==41.0.7
133133
# via
134134
# -r requirements-docs.in
135135
# -r requirements-tests.txt
@@ -336,9 +336,7 @@ mdurl==0.1.2
336336
# -r requirements-tests.txt
337337
# markdown-it-py
338338
moto[all]==4.2.6
339-
# via
340-
# -r requirements-tests.txt
341-
# moto
339+
# via -r requirements-tests.txt
342340
mpmath==1.3.0
343341
# via
344342
# -r requirements-tests.txt
@@ -373,7 +371,7 @@ packaging==23.2
373371
# gunicorn
374372
# pytest
375373
# sphinx
376-
paramiko==3.3.1
374+
paramiko==3.4.0
377375
# via -r requirements-docs.in
378376
parsedatetime==2.6
379377
# via
@@ -418,8 +416,10 @@ pycparser==2.21
418416
# via
419417
# -r requirements-tests.txt
420418
# cffi
421-
pycryptodomex==3.19.0
422-
# via pyjks
419+
pycryptodomex==3.20.0
420+
# via
421+
# -r requirements-docs.in
422+
# pyjks
423423
pydantic==2.4.2
424424
# via
425425
# -r requirements-tests.txt
@@ -481,7 +481,6 @@ python-jose[cryptography]==3.3.0
481481
# via
482482
# -r requirements-tests.txt
483483
# moto
484-
# python-jose
485484
python-json-logger==2.0.7
486485
# via logmatic-python
487486
pytz==2023.3.post1

requirements-tests.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ bandit
33
black
44
coverage
55
certbot
6-
cryptography >= 41.0.4 # Required to avoid vulnerability in previous version (VULN-4474)
6+
cryptography >= 41.0.6 # Required to avoid vulnerability in previous version (VULN-5135)
77
factory-boy
88
Faker
99
fakeredis
@@ -26,4 +26,4 @@ requests-mock
2626
sqlalchemy < 1.4.0 # ImportError: cannot import name '_ColumnEntity' https://github.com/sqlalchemy/sqlalchemy/issues/6226
2727
urllib3 == 1.26.18 # urllib3 is used by 'requests' package. Version restriction is required to avoid vulnerability in previous version (VULN-4806)
2828
pyyaml>=4.2b1
29-
werkzeug < 2.1.0 # requires a newer version of Flask
29+
werkzeug < 2.1.0 # requires a newer version of Flask

requirements-tests.txt

+3-7
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ configobj==5.0.8
5555
# via certbot
5656
coverage==7.3.2
5757
# via -r requirements-tests.in
58-
cryptography==41.0.4
58+
cryptography==41.0.7
5959
# via
6060
# -r requirements-tests.in
6161
# acme
@@ -161,9 +161,7 @@ marshmallow-sqlalchemy==0.23.1
161161
mdurl==0.1.2
162162
# via markdown-it-py
163163
moto[all]==4.2.6
164-
# via
165-
# -r requirements-tests.in
166-
# moto
164+
# via -r requirements-tests.in
167165
mpmath==1.3.0
168166
# via sympy
169167
multipart==0.2.4
@@ -240,9 +238,7 @@ python-dateutil==2.8.2
240238
# freezegun
241239
# moto
242240
python-jose[cryptography]==3.3.0
243-
# via
244-
# moto
245-
# python-jose
241+
# via moto
246242
pytz==2023.3.post1
247243
# via
248244
# acme

requirements.in

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cert_manager
1919
certsrv
2020
https://binaries.ddbuild.io/dd-source/python/cert_orchestration_adapter-0.1.5-py3-none-any.whl
2121
CloudFlare
22-
cryptography >= 41.0.4 # Required to avoid vulnerability in previous version (VULN-4474)
22+
cryptography >= 41.0.6 # Required to avoid vulnerability in previous version (VULN-5135)
2323
deprecated
2424
dnspython3
2525
ddtrace == 0.53.0 # Required for cert orchestration adapter.
@@ -49,10 +49,11 @@ logmatic-python
4949
marshmallow-sqlalchemy == 0.23.1 #related to the marshmallow issue (to avoid conflicts)
5050
marshmallow<2.21.1 #schema duplicate issues https://github.com/marshmallow-code/marshmallow-sqlalchemy/issues/121
5151
ndg-httpsclient
52-
paramiko # required for the SFTP destination plugin
52+
paramiko >= 3.4.0 # required for the SFTP destination plugin
5353
pem
5454
protobuf == 3.20.2 # Required for cert orchestration adapter.
5555
psycopg2
56+
pycryptodomex >= 3.19.1 # Required to address vulnerability in older version (VULN-5325)
5657
pyjks >= 19 # pyjks < 19 depends on pycryptodome, which conflicts with dyn's usage of pycrypto
5758
pyjwt
5859
pyOpenSSL

requirements.txt

+6-4
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ configargparse==1.7
130130
# via certbot
131131
configobj==5.0.8
132132
# via certbot
133-
cryptography==41.0.4
133+
cryptography==41.0.7
134134
# via
135135
# -r requirements.in
136136
# acme
@@ -287,7 +287,7 @@ packaging==23.2
287287
# via
288288
# ddtrace
289289
# gunicorn
290-
paramiko==3.3.1
290+
paramiko==3.4.0
291291
# via -r requirements.in
292292
parsedatetime==2.6
293293
# via certbot
@@ -325,8 +325,10 @@ pyasn1-modules==0.3.0
325325
# python-ldap
326326
pycparser==2.21
327327
# via cffi
328-
pycryptodomex==3.19.0
329-
# via pyjks
328+
pycryptodomex==3.20.0
329+
# via
330+
# -r requirements.in
331+
# pyjks
330332
pyjks==20.0.0
331333
# via -r requirements.in
332334
pyjwt[crypto]==2.8.0

0 commit comments

Comments
 (0)