ALTCHA Go library denial of service in server signature verification
altcha-org altcha-lib-go
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/altcha-org/altcha-lib-go/v2 Go |
|
|
Original description
ALTCHA is a Go library for creating and verifying ALTCHA challenges. Prior to 2.1.0, parseServerSignature can leave ServerSignatureVerificationData.Extra uninitialized when url.ParseQuery returns partial values and an error for a malformed percent escape in VerificationData. A later write of an unknown parsed key to the nil map panics before VerifyServerSignature or VerifyServerSignatureSafe completes signature verification, so an unauthenticated client can abort a request. Standard net/http recovers the request goroutine, while application goroutines or frameworks without recovery can crash the process. This issue is fixed in version 2.1.0.
From the CVE record · GitHub_M