Skip to content

GHSA-g44v-6qfm-f6ch CVE-2023-1539 GO-2023-1657

Answer has Guessable CAPTCHA

Medium Go
Severity
5.3 / 10
Medium · CVSS 3.1
Exploit chance (EPSS)
0.61%
Chance of exploitation in the next 30 days. Higher than 49.41% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-307 Improper Restriction of Excessive Authentication Attempts
CWE-804 Guessable CAPTCHA
Fix
1.0.6
Upgrade github.com/answerdev/answer to this version or later

Description

Guessable CAPTCHA in GitHub repository answerdev/answer prior to 1.0.6.

Affected versions

Go

PackageVulnerableFixed in
github.com/answerdev/answer
< 1.0.6
1.0.6

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

github.com/answerdev/answer Go → 1.0.6

go
go get github.com/answerdev/answer@v1.0.6 && go mod tidy

Severity breakdown

CVSS 3.1 5.3

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Weakness

CWE-307: Improper Restriction of Excessive Authentication Attempts

The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.

How to prevent it
  • Architecture and Design: Common protection mechanisms include: Disconnecting the user after a small number of failed attempts Implementing a timeout Locking out a targeted account Requiring a computational task on the user's part.
  • Architecture and Design: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482]. Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]

CWE-804: Guessable CAPTCHA

The product uses a CAPTCHA challenge, but the challenge can be guessed or automatically recognized by a non-human actor.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-pj2h-85jq-g5vg
Answer Missing Authentication for Critical Function
High Also affects github.com/answerdev/answer
GHSA-52h8-c876-989c
Answer has Race Condition within a Thread
Medium Also affects github.com/answerdev/answer
GHSA-ggcf-hwxp-rc77
Answer Insufficient Session Expiration vulnerability
High Also affects github.com/answerdev/answer
GHSA-j63x-f657-2m9g
Answer has Weak Password Requirements
High Also affects github.com/answerdev/answer
GHSA-v9vc-7x69-c2x8
Answer Missing Authorization vulnerability
Medium Also affects github.com/answerdev/answer
GHSA-qmqw-r4x6-3w2q
Answer Missing Authorization vulnerability
Low Also affects github.com/answerdev/answer
GHSA-j97g-77fj-9c4p
Answer vulnerable to account takeover because password reset links do not expire
High Also affects github.com/answerdev/answer
GHSA-65v8-6pvw-jwvq
Answer vulnerable to Insertion of Sensitive Information Into Sent Data
Medium Also affects github.com/answerdev/answer
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor