{"id":"GHSA-5mmw-p5qv-w3x5","summary":"Always incorrect control flow in github.com/mojocn/base64Captcha","details":"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.","aliases":["CVE-2023-45292","GO-2023-2386"],"modified":"2023-12-14T22:03:11Z","published":"2023-12-12T00:30:17Z","database_specific":{"cwe_ids":["CWE-345","CWE-670"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-12-12T18:09:52Z","nvd_published_at":"2023-12-11T22:15:06Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45292"},{"type":"WEB","url":"https://github.com/mojocn/base64Captcha/issues/120"},{"type":"WEB","url":"https://github.com/mojocn/base64Captcha/commit/5ab86bd6f333aad3936f912fc52b411168dcd4a7"},{"type":"WEB","url":"https://github.com/mojocn/base64Captcha/commit/9b11012caca58925f1e47c770f79f2fa47e3ad13"},{"type":"PACKAGE","url":"https://github.com/mojocn/base64Captcha"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-2386"}],"affected":[{"package":{"name":"github.com/mojocn/base64Captcha","ecosystem":"Go","purl":"pkg:golang/github.com/mojocn/base64Captcha"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-5mmw-p5qv-w3x5/GHSA-5mmw-p5qv-w3x5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}