Fix go-redis — CVE-2022-21698 MEDIUM

Fix CVE-2022-21698 (MEDIUM) in go-redis for Go. Paste your go.mod into PackageFix and get a patched version — no CLI, no signup. Denial of service via crafted redis server response.

⚠ Vulnerability

CVE-2022-21698 (MEDIUM) — denial of service via crafted Redis server response in go-redis below v9.5.1.

Vulnerable — go.mod

github.com/redis/go-redis/v9 v9.0.0

Fixed — go.mod

github.com/redis/go-redis/v9 v9.5.1
✓ Fix

Update go-redis to v9.5.1 and run go mod tidy.

Paste your manifest — get back a fixed version with all CVEs patched in seconds.

Open PackageFix →

No signup · No CLI · No GitHub connection · Runs 100% in your browser

CVE Details

FieldValue
CVE IDCVE-2022-21698
SeverityMEDIUM
Packagego-redis (Go)
Safe versionv9.5.1
CISA KEV
DescriptionDenial of service via crafted redis server response

Frequently Asked Questions

What is CVE-2022-21698?
CVE-2022-21698 is a MEDIUM severity vulnerability in go-redis (Go) that allows denial of service via crafted Redis server response. Update to v9.5.1 or later.
How do I fix CVE-2022-21698 in go-redis?
Update go-redis to version v9.5.1 in your go.mod and run go mod tidy.
Is CVE-2022-21698 being actively exploited?
Check packagefix.dev — the CISA KEV catalog updates daily.
How do I verify the fix for CVE-2022-21698?
After updating, paste your go.mod into PackageFix again. If CVE-2022-21698 no longer appears in the CVE table, the fix is applied.

Related Guides