altcha-org patches pre-authentication denial-of-service flaw in its Go library
- altcha-org
- altcha-lib-go
- panic
- denial of service
- vulnerability

Flaw in v1 module allows pre-authentication denial-of-service
Developers urged to update to version 2.1.0
altcha-org fixed a denial-of-service vulnerability in altcha-lib-go in version 2.1.0. The flaw affects versions from 2.0.0 up to, but not including, 2.1.0.
Applications that call VerifyServerSignature or VerifyServerSignatureSafe on unauthenticated input could panic when an attacker submitted malformed VerificationData. In standard net/http, the request would abort; applications using a goroutine without panic recovery could crash the process.
The bug is in the v1 module’s parseServerSignature function. When Go’s url.ParseQuery returns an error for malformed percent-encoding, the function may leave a map uninitialized and then write to it, triggering a panic before signature verification. The advisory recommends upgrading to version 2.1.0; until then, applications can recover from panics around the verification calls or reject malformed VerificationData.




