Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mojocn/base64Captcha
  4. ›
  5. CVE-2023-45292

CVE-2023-45292: Always incorrect control flow in github.com/mojocn/base64Captcha

December 12, 2023

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.

References

  • github.com/advisories/GHSA-5mmw-p5qv-w3x5
  • github.com/mojocn/base64Captcha/commit/5ab86bd6f333aad3936f912fc52b411168dcd4a7
  • github.com/mojocn/base64Captcha/commit/9b11012caca58925f1e47c770f79f2fa47e3ad13
  • github.com/mojocn/base64Captcha/issues/120
  • nvd.nist.gov/vuln/detail/CVE-2023-45292
  • pkg.go.dev/vuln/GO-2023-2386

Code Behaviors & Features

Detect and mitigate CVE-2023-45292 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.6

Fixed versions

  • v1.3.6

Solution

Upgrade to version 1.3.6 or above.

Source file

go/github.com/mojocn/base64Captcha/CVE-2023-45292.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.