data/reports: add GO-2024-2584.yaml
Aliases: GHSA-86h5-xcpx-cfqc
Fixes golang/vulndb#2584
Change-Id: I81048c8e77c4930a6fa4d4914a7425b0dc95e3e6
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/568296
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
diff --git a/data/osv/GO-2024-2584.json b/data/osv/GO-2024-2584.json
new file mode 100644
index 0000000..23de9a4
--- /dev/null
+++ b/data/osv/GO-2024-2584.json
@@ -0,0 +1,70 @@
+{
+ "schema_version": "1.3.1",
+ "id": "GO-2024-2584",
+ "modified": "0001-01-01T00:00:00Z",
+ "published": "0001-01-01T00:00:00Z",
+ "aliases": [
+ "GHSA-86h5-xcpx-cfqc"
+ ],
+ "summary": "Slashing evasion in github.com/cosmos/cosmos-sdk",
+ "details": "Slashing evasion in github.com/cosmos/cosmos-sdk",
+ "affected": [
+ {
+ "package": {
+ "name": "github.com/cosmos/cosmos-sdk",
+ "ecosystem": "Go"
+ },
+ "ranges": [
+ {
+ "type": "SEMVER",
+ "events": [
+ {
+ "introduced": "0"
+ },
+ {
+ "fixed": "0.47.10"
+ },
+ {
+ "introduced": "0.50.0"
+ }
+ ]
+ }
+ ],
+ "ecosystem_specific": {
+ "imports": [
+ {
+ "path": "github.com/cosmos/cosmos-sdk/x/auth/vesting",
+ "symbols": [
+ "msgServer.CreatePeriodicVestingAccount"
+ ]
+ },
+ {
+ "path": "github.com/cosmos/cosmos-sdk/x/staking/keeper",
+ "symbols": [
+ "Keeper.Slash",
+ "Keeper.SlashRedelegation",
+ "Keeper.SlashWithInfractionReason"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "references": [
+ {
+ "type": "ADVISORY",
+ "url": "https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc"
+ },
+ {
+ "type": "FIX",
+ "url": "https://github.com/cosmos/cosmos-sdk/commit/7dbed2fc0c3ed7c285645e21cb1037d8810372ae"
+ },
+ {
+ "type": "FIX",
+ "url": "https://github.com/cosmos/cosmos-sdk/commit/d1b5b0c5ae2c51206cc1849e09e4d59986742cc3"
+ }
+ ],
+ "database_specific": {
+ "url": "https://pkg.go.dev/vuln/GO-2024-2584"
+ }
+}
\ No newline at end of file
diff --git a/data/reports/GO-2024-2584.yaml b/data/reports/GO-2024-2584.yaml
new file mode 100644
index 0000000..5b11bc4
--- /dev/null
+++ b/data/reports/GO-2024-2584.yaml
@@ -0,0 +1,26 @@
+id: GO-2024-2584
+modules:
+ - module: github.com/cosmos/cosmos-sdk
+ versions:
+ - fixed: 0.47.10
+ - introduced: 0.50.0
+ vulnerable_at: 0.47.9
+ packages:
+ - package: github.com/cosmos/cosmos-sdk/x/auth/vesting
+ symbols:
+ - msgServer.CreatePeriodicVestingAccount
+ - package: github.com/cosmos/cosmos-sdk/x/staking/keeper
+ symbols:
+ - Keeper.SlashRedelegation
+ derived_symbols:
+ - Keeper.Slash
+ - Keeper.SlashWithInfractionReason
+summary: Slashing evasion in github.com/cosmos/cosmos-sdk
+ghsas:
+ - GHSA-86h5-xcpx-cfqc
+references:
+ - advisory: https://github.com/cosmos/cosmos-sdk/security/advisories/GHSA-86h5-xcpx-cfqc
+ - fix: https://github.com/cosmos/cosmos-sdk/commit/7dbed2fc0c3ed7c285645e21cb1037d8810372ae
+ - fix: https://github.com/cosmos/cosmos-sdk/commit/d1b5b0c5ae2c51206cc1849e09e4d59986742cc3
+notes:
+ - The GHSA says that 0.50.5 is a fixed version, but it currently doesn't exist.