Skip to content

Commit 465faba

Browse files
authored
Merge pull request #622 from Ouranosinc/security-updates
2 parents 933722d + 42819bc commit 465faba

8 files changed

+20
-7
lines changed

CHANGES.rst

+10-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ Changes
99
`Unreleased <https://github.com/Ouranosinc/Magpie/tree/master>`_ (latest)
1010
------------------------------------------------------------------------------------
1111

12-
* Nothing new for the moment.
12+
Features / Changes
13+
~~~~~~~~~~~~~~~~~~~~~
14+
15+
* Update docker with latest ``python:3.11-alpine3.20`` base.
16+
* Pin ``setuptools>=71.0.3`` for CVE-2024-6345.
17+
* Pin ``requests>=2.32.3`` for CVE-2024-35195.
18+
* Pin ``urllib3>=2.2.2`` for CVE-2024-37891.
19+
* Pin ``zipp>=3.19.1`` for CVE-2024-5569.
20+
* Pin ``pyramid-twitcher>=0.10.0`` and ``birdhouse/twitcher:v0.10.0`` for same security updates as above
21+
(relates to `bird-house/twitcher#136 <https://github.com/bird-house/twitcher/pull/136>`_).
1322

1423
.. _changes_4.1.0:
1524

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-alpine3.19
1+
FROM python:3.11-alpine3.20
22
LABEL Description="Runs Magpie AuthN/AuthZ service for REST-API and UI interfaces."
33
LABEL Maintainer="Francis Charette-Migneault <francis.charette-migneault@crim.ca>"
44
LABEL Vendor="CRIM"

Dockerfile.adapter

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# docker run will need to override ini file with mounted volume
44
# using config 'twitcher.adapter = magpie.adapter.MagpieAdapter'
55
#
6-
FROM birdhouse/twitcher:v0.9.0
6+
FROM birdhouse/twitcher:v0.10.0
77
LABEL Description="Configures MagpieAdapter on top of Twitcher application."
88
LABEL Maintainer="Francis Charette-Migneault <francis.charette-migneault@crim.ca>"
99
LABEL Vendor="CRIM"

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mock>4
1414
pylint>=2.11,!=2.12,!=2.15
1515
pylint-quotes
1616
# bird-house/twticher, must match version in Dockerfile.adapater
17-
pyramid-twitcher>=0.9.0
17+
pyramid-twitcher>=0.10.0
1818
pytest
1919
safety
2020
tox>=3.0

requirements-doc.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# these are doc-only requirements
33
# we actually need to install all requirements during docs build because of OpenAPI generation
44
# (see 'docs/conf.py')
5+
-r requirements.txt
56
astroid<2.12 # pin to resolve sphinx-autoapi (see https://github.com/readthedocs/sphinx-autoapi/issues/349)
67
pycodestyle>=2.6.0,<3
78
# sphinx-autoapi dropped 3.5 support at 1.3.0

requirements-sys.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pip
2-
setuptools>=65.5.1
2+
packaging>=22.0
3+
setuptools>=71.0.3

requirements.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pyramid_retry==2.1.1
2525
pyramid_tm>=2.2.1
2626
python-dotenv
2727
pyyaml>=5.1
28-
requests
28+
requests>=2.32.3
2929
requests_file
3030
simplejson
3131
six>=1.12.0
@@ -36,8 +36,10 @@ sqlalchemy-utils==0.39.0 # pyup: ignore
3636
threddsclient>=0.4.2
3737
transaction
3838
typing_extensions
39+
urllib3>=2.2.2
3940
wheel>=0.38
4041
webob
4142
ziggurat_foundations==0.9.1
4243
zope.interface>=4.7.2,<5
4344
zope.sqlalchemy==1.6
45+
zipp>=3.19.1

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def _extra_requirements(base_requirements, other_requirements):
217217
"Programming Language :: Python :: 3.11",
218218
"Programming Language :: Python :: 3.12",
219219
],
220-
python_requires=">=3.5, <4",
220+
python_requires=">=3.8, <4",
221221

222222
# -- Package structure -------------------------------------------------
223223
packages=[__meta__.__package__],

0 commit comments

Comments
 (0)