CVE-2023-45292
MEDIUM 5.3CVSS 3.1Always incorrect control flow in github.com/mojocn/base64Captcha
When using the default implementation of Verify to check a Captcha, verification can be bypassed. For example, if the first parameter is a non-existent id, the second parameter is an empty string, and the third parameter is true, the function will always consider the Captcha to be correct.
- Published
- 11 Dec 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-345CWE-670
- Also known as
- GHSA-5mmw-p5qv-w3x5GO-2023-2386
- Sources
- NVDJSONOSV GHSA-5mmw-p5qv-w3x5JSONOSV GO-2023-2386JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mojotv | base64captchacpe:2.3:a:mojotv:base64captcha:*:*:*:*:*:go:*:* |
< 1.3.6 | 1.3.6 |
| OSV | Go | github.com/mojocn/base64Captcha | < 1.3.6 | 1.3.6 |
References
- https://github.com/mojocn/base64Captcha/commit/5ab86bd6f333aad3936f912fc52b411168dcd4a7 · Patch, WEB, FIX
- https://github.com/mojocn/base64Captcha/commit/9b11012caca58925f1e47c770f79f2fa47e3ad13 · Patch, WEB, FIX
- https://github.com/mojocn/base64Captcha/issues/120 · Exploit, Issue Tracking, WEB, REPORT
- https://pkg.go.dev/vuln/GO-2023-2386 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-45292 · ADVISORY
- https://github.com/mojocn/base64Captcha · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 11 Dec 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Dec 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Dec 2023)