Description (CNA)
CodeWhale before 0.8.64 contains a server-side request forgery bypass vulnerability in DNS pinning logic that fails to prevent time-of-check-time-of-use attacks. Attackers can manipulate DNS responses to fail initial resolution checks and succeed on secondary requests, allowing requests to internal IP addresses and bypassing SSRF mitigations.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Hmbown / CodeWhale | affected 0.8.5 before 0.8.41; unaffected 0.8.41 |
| Hmbown / CodeWhale | affected 0.8.5 before 0.8.41; unaffected 0.8.41 |
| Hmbown / CodeWhale | affected 0.8.41 before 0.8.64; unaffected 0.8.64 |
| Hmbown / CodeWhale | affected 0.8.41 before 0.8.64; unaffected 0.8.64 |
CWE
CWE-918
References
- https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-6v2g-fpxh-pmmh
- https://github.com/Hmbown/CodeWhale/commit/26de44a8bd5051f8f944ea60b2c37ae1d2b7d25e
- https://www.vulncheck.com/advisories/codewhale-before-ssrf-bypass-via-dns-pinning-toctou
ADP enrichment
No English description supplied.