Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit cc08109

Browse files
authored
* fix CVE-2023-0286 removing dependency oncryptography==3.3.2 * update azure-cli-core and azure-cli to 2.46.0 * fix version handling in the server
1 parent 658d2aa commit cc08109

File tree

5 files changed

+6
-15
lines changed

5 files changed

+6
-15
lines changed

src/ApiService/ApiService/onefuzzlib/NodeOperations.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ public async Async.Task<Node> SetShutdown(Node node) {
463463

464464

465465
public async Async.Task SendStopIfFree(Node node) {
466-
var ver = new Version(_context.ServiceConfiguration.OneFuzzVersion.Split('-')[0]);
466+
var ver = new Version(_context.ServiceConfiguration.OneFuzzVersion.Split('-', '+')[0]);
467467
if (ver >= Version.Parse("2.16.1")) {
468468
await SendMessage(node, new NodeCommand(StopIfFree: new NodeCommandStopIfFree()));
469469
}

src/cli/requirements.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,7 @@ azure-applicationinsights==0.1.0
1212
tenacity==8.0.1
1313
docstring_parser==0.8.1
1414
azure-identity==1.10.0
15-
azure-cli-core==2.43.0
16-
# packaging is required but not specified by azure-cli-core
17-
packaging==21.3
18-
# urllib3[secure] needs to be specifically stated for azure-cli-core
19-
urllib3[secure]>=1.26.8
20-
# iDNA needs to be specifically stated for azure-cli-core
21-
idna<3,>=2.10
22-
# cryptography needs to be pinned to the version used by azure-cli-core
23-
cryptography<3.4,>=3.3.2
24-
# PyJWT needs to be pinned to the version used by azure-cli-core
15+
azure-cli-core==2.46.0
2516
PyJWT>=2.4.0
2617
# install rsa version >=4.7 to fix CVE-2020-25658
2718
rsa>=4.7

src/deployment/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
azure-cli-core==2.43.0
2-
azure-cli==2.43.0
1+
azure-cli-core==2.46.0
2+
azure-cli==2.46.0
33
azure-identity==1.10.0
44
azure-cosmosdb-table==1.0.6
55
azure-mgmt-eventgrid==10.2.0b2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
azure-mgmt-storage~=19.0.0
2-
azure-cli-core==2.43.0
2+
azure-cli-core==2.46.0
33
azure-mgmt-eventgrid==3.0.0rc9
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
azure-common~=1.1.25
22
azure-identity==1.10.0
33
PyGithub==1.56
4-
azure-cli-core==2.43.0
4+
azure-cli-core==2.46.0
55
msgraph-core==0.2.2

0 commit comments

Comments
 (0)