Rezmoss axios4go
axios4go's Race Condition in Shared HTTP Client Allows Proxy Configuration Leak
axios4go is a Go HTTP client library. Prior to version 0.6.4, a race condition vulnerability exists in the shared HTTP client configuration. The global `defaultClient` is mutated during request execution without synchronization, directly modifying the shared `http.Client`'s `Transport`, `Timeout`, and `CheckRedirect` properties. Impacted applications include that that use axios4go with concurrent requests (multiple goroutines, `GetAsync`, `PostAsync`, etc.), those where different requests use different proxy configurations, and those that handle sensitive data (authentication credentials, tokens, API keys). Version 0.6.4 fixes this issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.6.4
Fixed in 0.6.4
Mitigation
Upgrade axios4go to 0.6.4 or later.
References
- Vendor advisory github.com/rezmoss/axios4go/security/advisorie…
- Patch github.com/rezmoss/axios4go/commit/b651604c64e…
- Release notes github.com/rezmoss/axios4go/releases/tag/v0.6.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.