Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 15 additions & 19 deletions SPECS/influxdb/CVE-2021-4238.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
Partial backport of 869801f20f9f1e7ecdbdb6422049d8241270d5e1
From 3bc11c771ec4a6ce1c84c8c768e6d5e33feb7594 Mon Sep 17 00:00:00 2001
From: jykanase <v-jykanase@microsoft.com>
Date: Tue, 30 Dec 2025 12:04:59 +0000
Subject: [PATCH] CVE-2021-4238.patch

---
.../aokoli/goutils/randomstringutils.go | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/vendor/github.com/aokoli/goutils/randomstringutils.go b/vendor/github.com/aokoli/goutils/randomstringutils.go
index 1364e0c..8c6ccab 100644
index 1364e0c..02270a0 100644
--- a/vendor/github.com/aokoli/goutils/randomstringutils.go
+++ b/vendor/github.com/aokoli/goutils/randomstringutils.go
@@ -20,7 +20,6 @@ import (
Expand All @@ -12,29 +19,15 @@ index 1364e0c..8c6ccab 100644
"time"
"unicode"
)
@@ -75,12 +74,10 @@ func RandomNumeric(count int) (string, error) {

/*
RandomAlphabetic creates a random string whose length is the number of characters specified.
-Characters will be chosen from the set of alpha-numeric characters as indicated by the arguments.
+Characters will be chosen from the set of alphabetic characters.

Parameters:
count - the length of random string to create
- letters - if true, generated string may include alphabetic characters
- numbers - if true, generated string may include numeric characters

Returns:
string - the random string
@@ -106,19 +103,8 @@ func RandomAlphaNumeric(count int) (string, error) {
@@ -106,19 +105,7 @@ func RandomAlphaNumeric(count int) (string, error) {
if err != nil {
return "", fmt.Errorf("Error: %s", err)
}
- match, err := regexp.MatchString("([0-9]+)", RandomString)
- if err != nil {
- panic(err)
- }
-
- if !match {
- //Get the position between 0 and the length of the string-1 to insert a random number
- position := rand.Intn(count)
Expand All @@ -46,4 +39,7 @@ index 1364e0c..8c6ccab 100644
+ return RandomString[:count], nil

}


--
2.45.4

81 changes: 0 additions & 81 deletions SPECS/influxdb/CVE-2023-45288.patch

This file was deleted.

152 changes: 0 additions & 152 deletions SPECS/influxdb/CVE-2024-24786.patch

This file was deleted.

63 changes: 0 additions & 63 deletions SPECS/influxdb/CVE-2024-45338.patch

This file was deleted.

Loading
Loading