Moderate severityNVD Advisory· Updated Dec 28, 2022
CVE-2022-4685
CVE-2022-4685
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/usememos/memosGo | < 0.9.0 | 0.9.0 |
Patches
1dca35bde877afix: disable decode patch id (#831)
4 files changed · +4 −4
api/memo.go+1 −1 modified@@ -57,7 +57,7 @@ type MemoCreate struct { } type MemoPatch struct { - ID int + ID int `json:"-"` // Standard fields CreatedTs *int64 `json:"createdTs"`
api/resource.go+1 −1 modified@@ -41,7 +41,7 @@ type ResourceFind struct { } type ResourcePatch struct { - ID int + ID int `json:"-"` // Standard fields UpdatedTs *int64
api/shortcut.go+1 −1 modified@@ -24,7 +24,7 @@ type ShortcutCreate struct { } type ShortcutPatch struct { - ID int + ID int `json:"-"` // Standard fields UpdatedTs *int64
api/user.go+1 −1 modified@@ -69,7 +69,7 @@ func (create UserCreate) Validate() error { } type UserPatch struct { - ID int + ID int `json:"-"` // Standard fields UpdatedTs *int64
Vulnerability mechanics
Not enough inputs (no patches or CWE) to synthesize mechanics for this CVE.
References
4News mentions
0No linked articles in our index yet.