GHSA-5mmw-p5qv-w3x5

Suggest an improvement
Source
https://github.com/advisories/GHSA-5mmw-p5qv-w3x5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-5mmw-p5qv-w3x5/GHSA-5mmw-p5qv-w3x5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5mmw-p5qv-w3x5
Aliases
Published
2023-12-12T00:30:17Z
Modified
2023-12-14T22:03:11Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
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.

References

Affected packages

Go / github.com/mojocn/base64Captcha

Package

Name
github.com/mojocn/base64Captcha
View open source insights on deps.dev
Purl
pkg:golang/github.com/mojocn/base64Captcha

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.6