upgrade protobuf to 6.33.5 (fix security problem)
Cause: protobuf affected by a JSON recursion depth bypass: A denial-of-service (DoS) vulnerability exists in google.protobuf.json_format.ParseDict() in Python, where the max_recursion_depth limit can be bypassed when parsing nested google.protobuf.Any messages. Due to missing recursion depth accounting inside the internal Any-handling logic, an attacker can supply deeply nested Any structures that bypass the intended recursion limit, eventually exhausting Python’s recursion stack and causing a RecursionError.
This commit is contained in:
4
Pipfile
4
Pipfile
@@ -5,12 +5,12 @@ name = "pypi"
|
||||
|
||||
[packages]
|
||||
colorama = "0.4.6"
|
||||
opencv-contrib-python = "*"
|
||||
opencv-contrib-python = "4.13.0.90"
|
||||
numpy = "2.4.1"
|
||||
# for macOS: opencv-contrib-python = "<=4.7.0"
|
||||
pillow = "*"
|
||||
pyzbar = "*"
|
||||
protobuf = "*"
|
||||
protobuf = "6.33.5"
|
||||
qrcode = "*"
|
||||
qreader = "1.3.2"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user