GO-2023-2386

Source
https://pkg.go.dev/vuln/GO-2023-2386
Import Source
https://vuln.go.dev/ID/GO-2023-2386.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2023-2386
Aliases
Published
2023-12-08T20:11:50Z
Modified
2024-05-20T16:03:47Z
Summary
Captcha verification bypass 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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2023-2386"
}
References
Credits
    • @cangkuai

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

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/mojocn/base64Captcha",
            "symbols": [
                "memoryStore.Verify"
            ]
        }
    ]
}