Skip to content

Commit 3a9bcd4

Browse files
Exclude vulnerable Protobuf versions from dependencies (#1102)
## What changes are proposed in this pull request? Exclude vulnerable Protobuf versions from dependencies. https://security.snyk.io/vuln/SNYK-PYTHON-PROTOBUF-10364902 ## How is this tested? `make && make test`
1 parent a1c3bfe commit 3a9bcd4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

NEXT_CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
### New Features and Improvements
66

7+
### Security
8+
- Update `protobuf` dependency constraints to exclude known vulnerable versions (related to `SNYK-PYTHON-PROTOBUF-10364902`).
9+
710
### Bug Fixes
811

912
### Documentation

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ classifiers = [
2727
dependencies = [
2828
"requests>=2.28.1,<3",
2929
"google-auth~=2.0",
30-
"protobuf>=4.21.0,<7.0",
30+
# Exclude vulnerable protobuf versions: [,4.25.8), [5.26.0rc1, 5.29.5), [6.30.0rc1, 6.31.1)
31+
# https://security.snyk.io/vuln/SNYK-PYTHON-PROTOBUF-10364902
32+
"protobuf>=4.25.8,!=5.26.*,!=5.27.*,!=5.28.*,!=5.29.0,!=5.29.1,!=5.29.2,!=5.29.3,!=5.29.4,!=6.30.0,!=6.30.1,!=6.31.0,<7.0",
3133
]
3234

3335
[project.urls]

0 commit comments

Comments
 (0)