Skip to content

Commit b7a5973

Browse files
committed
Update numpy lower pins due to vulnerabilities
1 parent 0bc646b commit b7a5973

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ https://semver.org/spec/v2.0.0.html
2121
### Fixed
2222
- Update `numpy` build dependency to ensure that builds also work on
2323
MacOS (fixes issue [#547], thanks to @SongJaeIn for testing).
24+
- Enforce up-to-date `numpy` dependency when possible:
25+
- Set `numpy >= 1.19` for Python == 3.6 due to `numpy` vulnerabilities
26+
[CVE-2021-41495] and [CVE-2021-41496].
27+
- Set `numpy >= 1.22` for Python >= 3.8 due to `numpy` vulnerability
28+
[CVE-2021-34141].
2429

2530
## [1.3.3] - 2022-05-11
2631

@@ -1022,8 +1027,14 @@ https://nvd.nist.gov/vuln/detail/CVE-2022-22817
10221027
https://nvd.nist.gov/vuln/detail/CVE-2022-22816
10231028
[CVE-2022-22815]:
10241029
https://nvd.nist.gov/vuln/detail/CVE-2022-22815
1030+
[CVE-2021-41496]:
1031+
https://nvd.nist.gov/vuln/detail/CVE-2021-41496
1032+
[CVE-2021-41495]:
1033+
https://nvd.nist.gov/vuln/detail/CVE-2021-41495
10251034
[CVE-2021-34552]:
10261035
https://nvd.nist.gov/vuln/detail/CVE-2021-34552
1036+
[CVE-2021-34141]:
1037+
https://nvd.nist.gov/vuln/detail/CVE-2021-34141
10271038
[CVE-2021-33430]:
10281039
https://nvd.nist.gov/vuln/detail/CVE-2021-33430
10291040
[CVE-2021-28678]:

packages/basemap/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ numpy >= 1.11, < 1.12; python_version == "3.2"
66
numpy >= 1.11, < 1.12; python_version == "3.3"
77
numpy >= 1.15, < 1.17; python_version == "3.4"
88
numpy >= 1.16, < 1.19; python_version == "3.5"
9-
numpy >= 1.16, < 1.20; python_version == "3.6"
10-
numpy >= 1.21, < 1.24; python_version >= "3.7"
9+
numpy >= 1.19, < 1.20; python_version == "3.6"
10+
numpy >= 1.21, < 1.22; python_version == "3.7"
11+
numpy >= 1.22, < 1.24; python_version >= "3.8"
1112

1213
cycler < 0.11; python_version == "3.2"
1314
pyparsing >= 1.5, < 2.4.1; python_version == "2.6"

0 commit comments

Comments
 (0)